oweals/gnunet.git
6 years agoRevert "PEP 237 unified long integers and integers: http://www.python.org/dev/peps...
Nils Gillmann [Thu, 17 May 2018 16:13:13 +0000 (16:13 +0000)]
Revert "PEP 237 unified long integers and integers: python.org/dev/peps/pep-0237/"

This reverts commit cb9b9edd88cb35f998e7d9dd9cd3f614189a582d.

Actually this is python3 only. A python2+3 variant must be used for now!

6 years agoPEP 237 unified long integers and integers: http://www.python.org/dev/peps/pep-0237/
Nils Gillmann [Thu, 17 May 2018 16:10:30 +0000 (16:10 +0000)]
PEP 237 unified long integers and integers: python.org/dev/peps/pep-0237/

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofuture recommendation: run lint on python files.
Nils Gillmann [Thu, 17 May 2018 15:43:43 +0000 (15:43 +0000)]
future recommendation: run lint on python files.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofollow-up, indentation fixes.
Nils Gillmann [Thu, 17 May 2018 15:37:57 +0000 (15:37 +0000)]
follow-up, indentation fixes.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofollow-up
Nils Gillmann [Thu, 17 May 2018 15:15:44 +0000 (15:15 +0000)]
follow-up

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago2to3 lint in consensus-simulation, sed the python location.
Nils Gillmann [Thu, 17 May 2018 14:52:33 +0000 (14:52 +0000)]
2to3 lint in consensus-simulation, sed the python location.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agognunet-chk.py: More 2to3 changes.
Nils Gillmann [Thu, 17 May 2018 14:23:45 +0000 (14:23 +0000)]
gnunet-chk.py: More 2to3 changes.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Thu, 17 May 2018 13:39:09 +0000 (13:39 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agosome 2to3 + flake8 fixes in contrib/gnunet-chk.py
Nils Gillmann [Thu, 17 May 2018 13:31:11 +0000 (13:31 +0000)]
some 2to3 + flake8 fixes in contrib/gnunet-chk.py

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoOpportunisticly rename gnunet-chk.py to let its python invokation line be generated...
Nils Gillmann [Thu, 17 May 2018 12:30:37 +0000 (12:30 +0000)]
Opportunisticly rename gnunet-chk.py to let its python invokation line be generated (py.in), and assume that it is not supposed to be installed

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agowork-around for crypto bug (to be documented more)
Christian Grothoff [Thu, 17 May 2018 10:26:30 +0000 (12:26 +0200)]
work-around for crypto bug (to be documented more)

6 years agodeduplicate code in crypto_ecc
Christian Grothoff [Thu, 17 May 2018 09:29:41 +0000 (11:29 +0200)]
deduplicate code in crypto_ecc

6 years agoextend test to show crypto issue
Christian Grothoff [Wed, 16 May 2018 22:16:09 +0000 (00:16 +0200)]
extend test to show crypto issue

6 years agosanitize KX logic by always having the same peer go first
Christian Grothoff [Wed, 16 May 2018 22:09:07 +0000 (00:09 +0200)]
sanitize KX logic by always having the same peer go first

6 years agolog key material hashes
Christian Grothoff [Wed, 16 May 2018 19:36:22 +0000 (21:36 +0200)]
log key material hashes

6 years agooptimize setting upload length if available
Christian Grothoff [Wed, 16 May 2018 19:35:37 +0000 (21:35 +0200)]
optimize setting upload length if available

6 years agodisable churn
Julius Bünger [Wed, 16 May 2018 19:32:41 +0000 (21:32 +0200)]
disable churn

6 years agoprevent division by zero
Julius Bünger [Wed, 16 May 2018 19:32:01 +0000 (21:32 +0200)]
prevent division by zero

6 years agoundo KX short cut modification
Christian Grothoff [Wed, 16 May 2018 16:34:20 +0000 (18:34 +0200)]
undo KX short cut modification

6 years agoeliminate KX short cut v2
Christian Grothoff [Wed, 16 May 2018 16:29:13 +0000 (18:29 +0200)]
eliminate KX short cut v2

6 years agoeliminate KX short cut
Christian Grothoff [Wed, 16 May 2018 16:18:13 +0000 (18:18 +0200)]
eliminate KX short cut

6 years agoalso remember last ephemeral for duplicate KX detection
Christian Grothoff [Wed, 16 May 2018 15:17:04 +0000 (17:17 +0200)]
also remember last ephemeral for duplicate KX detection

6 years agoadd more KX stats to CADET
Christian Grothoff [Wed, 16 May 2018 14:25:18 +0000 (16:25 +0200)]
add more KX stats to CADET

6 years agoign zonewalk
Christian Grothoff [Wed, 16 May 2018 13:49:59 +0000 (15:49 +0200)]
ign zonewalk

6 years agofix IP
Christian Grothoff [Mon, 14 May 2018 18:47:58 +0000 (20:47 +0200)]
fix IP

6 years agoindenting
Christian Grothoff [Mon, 14 May 2018 18:45:34 +0000 (20:45 +0200)]
indenting

6 years agoexpand preface
Christian Grothoff [Mon, 14 May 2018 18:37:04 +0000 (20:37 +0200)]
expand preface

6 years ago+
Nils Gillmann [Mon, 14 May 2018 07:18:10 +0000 (07:18 +0000)]
+

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix
Nils Gillmann [Mon, 14 May 2018 07:16:07 +0000 (07:16 +0000)]
fix

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix
Nils Gillmann [Mon, 14 May 2018 07:13:41 +0000 (07:13 +0000)]
fix

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Mon, 14 May 2018 07:11:13 +0000 (07:11 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agodoc/documentation: Move book "terminology" into new book "preface".
Nils Gillmann [Mon, 14 May 2018 07:10:32 +0000 (07:10 +0000)]
doc/documentation: Move book "terminology" into new book "preface".

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoreduce queue limit to setting actually used in experiments so far
Christian Grothoff [Sun, 13 May 2018 19:23:58 +0000 (21:23 +0200)]
reduce queue limit to setting actually used in experiments so far

6 years agoadd missing #define
Christian Grothoff [Sun, 13 May 2018 19:18:49 +0000 (21:18 +0200)]
add missing #define

6 years agoadd some extra GNS-record well-formedness checks if logging is enabled
Christian Grothoff [Sun, 13 May 2018 19:17:12 +0000 (21:17 +0200)]
add some extra GNS-record well-formedness checks if logging is enabled

6 years agoget rid of plain memcpy calls
Christian Grothoff [Sun, 13 May 2018 17:55:46 +0000 (19:55 +0200)]
get rid of plain memcpy calls

6 years agosupport grabbing individual records
Christian Grothoff [Sun, 13 May 2018 17:38:42 +0000 (19:38 +0200)]
support grabbing individual records

6 years agooutput basic stats even on 100% failures
Christian Grothoff [Sun, 13 May 2018 17:26:00 +0000 (19:26 +0200)]
output basic stats even on 100% failures

6 years agooff is off, should be rc
Christian Grothoff [Sun, 13 May 2018 17:18:00 +0000 (19:18 +0200)]
off is off, should be rc

6 years agofix shutdown order
Christian Grothoff [Sun, 13 May 2018 17:05:52 +0000 (19:05 +0200)]
fix shutdown order

6 years agotruly use all DNS results for NS lookup
Christian Grothoff [Sun, 13 May 2018 17:01:30 +0000 (19:01 +0200)]
truly use all DNS results for NS lookup

6 years agoproperly calculate min_relative_record_time without imposing global max, use constant...
Christian Grothoff [Sun, 13 May 2018 16:33:43 +0000 (18:33 +0200)]
properly calculate min_relative_record_time without imposing global max, use constant from DHT API where applicable instead of defining our own

6 years agofix
Christian Grothoff [Sun, 13 May 2018 16:11:09 +0000 (18:11 +0200)]
fix

6 years agoadd shell script to convert result of zonewalk to input for gnunet-gns-benchmark
Christian Grothoff [Sun, 13 May 2018 14:40:18 +0000 (16:40 +0200)]
add shell script to convert result of zonewalk to input for gnunet-gns-benchmark

6 years agorename gnunet-zoneimport to gnunet-zonewalk to avoid sharing the name
Christian Grothoff [Sun, 13 May 2018 14:20:47 +0000 (16:20 +0200)]
rename gnunet-zoneimport to gnunet-zonewalk to avoid sharing the name

6 years agoremove dead statistic
Christian Grothoff [Sun, 13 May 2018 09:52:54 +0000 (11:52 +0200)]
remove dead statistic

6 years agono delays during first iteration
Christian Grothoff [Sun, 13 May 2018 09:50:47 +0000 (11:50 +0200)]
no delays during first iteration

6 years agofix zonemaster delay calculation
Christian Grothoff [Sun, 13 May 2018 09:48:27 +0000 (11:48 +0200)]
fix zonemaster delay calculation

6 years agoadd logic to compute statistics from benchmark
Christian Grothoff [Sat, 12 May 2018 15:49:44 +0000 (17:49 +0200)]
add logic to compute statistics from benchmark

6 years agoadd first sketch of gns benchmarking tool
Christian Grothoff [Sat, 12 May 2018 08:31:38 +0000 (10:31 +0200)]
add first sketch of gns benchmarking tool

6 years agoadd warning about slow monitors
Christian Grothoff [Thu, 10 May 2018 19:28:38 +0000 (21:28 +0200)]
add warning about slow monitors

6 years agowatch for namestore not completing store operations, add auto-abort with warning...
Christian Grothoff [Thu, 10 May 2018 19:08:23 +0000 (21:08 +0200)]
watch for namestore not completing store operations, add auto-abort with warning plus statistics to detect

6 years agofix testcase cleanup in hostlist tests
Christian Grothoff [Thu, 10 May 2018 11:47:27 +0000 (13:47 +0200)]
fix testcase cleanup in hostlist tests

6 years agofix clean up logic in test_plugin_transport.c
Christian Grothoff [Thu, 10 May 2018 11:43:04 +0000 (13:43 +0200)]
fix clean up logic in test_plugin_transport.c

6 years agomore verbose logging
Christian Grothoff [Thu, 10 May 2018 11:37:02 +0000 (13:37 +0200)]
more verbose logging

6 years ago+ is now @
Christian Grothoff [Thu, 10 May 2018 11:33:27 +0000 (13:33 +0200)]
+ is now @

6 years agofix /tmp removal
Christian Grothoff [Thu, 10 May 2018 11:30:58 +0000 (13:30 +0200)]
fix /tmp removal

6 years agoadd option to bump lifetime
Christian Grothoff [Thu, 10 May 2018 10:48:53 +0000 (12:48 +0200)]
add option to bump lifetime

6 years agofix test check for TMPDIR: do not throw exception if variable does not exist
Christian Grothoff [Thu, 10 May 2018 10:03:13 +0000 (12:03 +0200)]
fix test check for TMPDIR: do not throw exception if variable does not exist

6 years agofix crash on monitor disconnect
Christian Grothoff [Thu, 10 May 2018 09:35:02 +0000 (11:35 +0200)]
fix crash on monitor disconnect

6 years agosimplify logic
Christian Grothoff [Thu, 10 May 2018 09:26:50 +0000 (11:26 +0200)]
simplify logic

6 years agoseparate zonemaster monitoring functionality from main iterate-and-publish operation
Christian Grothoff [Thu, 10 May 2018 09:24:16 +0000 (11:24 +0200)]
separate zonemaster monitoring functionality from main iterate-and-publish operation

6 years agoadd gnscrypto benchmark
Christian Grothoff [Wed, 9 May 2018 23:19:34 +0000 (01:19 +0200)]
add gnscrypto benchmark

6 years agosupport keys with / in them
Christian Grothoff [Wed, 9 May 2018 23:07:48 +0000 (01:07 +0200)]
support keys with / in them

6 years agofix config files
Christian Grothoff [Wed, 9 May 2018 16:18:35 +0000 (18:18 +0200)]
fix config files

6 years agofix offset computation in flat iterator
Christian Grothoff [Wed, 9 May 2018 16:12:19 +0000 (18:12 +0200)]
fix offset computation in flat iterator

6 years agofix context for zone_to_name flat plugin
Christian Grothoff [Wed, 9 May 2018 16:09:54 +0000 (18:09 +0200)]
fix context for zone_to_name flat plugin

6 years agofix crash on error in test logic on shutdown
Christian Grothoff [Wed, 9 May 2018 16:02:52 +0000 (18:02 +0200)]
fix crash on error in test logic on shutdown

6 years agomissed a few places
Christian Grothoff [Wed, 9 May 2018 15:45:28 +0000 (17:45 +0200)]
missed a few places

6 years agoimplement new functions in libgnunetsq, clean up sqlite namestore plugin, implement...
Christian Grothoff [Wed, 9 May 2018 15:33:04 +0000 (17:33 +0200)]
implement new functions in libgnunetsq, clean up sqlite namestore plugin, implement flow control in namestore API and tests

6 years agorun-gendocs.sh also wants jpg
Christian Grothoff [Wed, 9 May 2018 09:38:07 +0000 (11:38 +0200)]
run-gendocs.sh also wants jpg

6 years agoadd eps
Christian Grothoff [Wed, 9 May 2018 09:18:42 +0000 (11:18 +0200)]
add eps

6 years agodoc: developer
Nils Gillmann [Wed, 9 May 2018 08:38:49 +0000 (08:38 +0000)]
doc: developer

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoFollow-up to be4754c02fdbefc4fbf5046973c7c1ab44f8e92f
Nils Gillmann [Wed, 9 May 2018 08:38:36 +0000 (08:38 +0000)]
Follow-up to be4754c02fdbefc4fbf5046973c7c1ab44f8e92f

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Wed, 9 May 2018 08:15:29 +0000 (08:15 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agodoc: philosophy
Nils Gillmann [Wed, 9 May 2018 08:15:03 +0000 (08:15 +0000)]
doc: philosophy

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoexpand test_mq testcase
Christian Grothoff [Tue, 8 May 2018 10:42:15 +0000 (12:42 +0200)]
expand test_mq testcase

6 years agoupdate gtk documentation a bit
Christian Grothoff [Mon, 7 May 2018 18:24:05 +0000 (20:24 +0200)]
update gtk documentation a bit

6 years agorevert patch that cannot work, wlan dummy is more complicated to begin with
Christian Grothoff [Mon, 7 May 2018 17:45:25 +0000 (19:45 +0200)]
revert patch that cannot work, wlan dummy is more complicated to begin with

6 years agoat least compiling fix
Nils Gillmann [Mon, 7 May 2018 08:40:50 +0000 (08:40 +0000)]
at least compiling fix

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agotry to fix test failure in src/transport
Nils Gillmann [Mon, 7 May 2018 08:11:14 +0000 (08:11 +0000)]
try to fix test failure in src/transport

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agotest_gnunet_statistics.py: use new locations of TMP
Nils Gillmann [Sun, 6 May 2018 21:41:36 +0000 (21:41 +0000)]
test_gnunet_statistics.py: use new locations of TMP

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix stats output of dht profiler
Christian Grothoff [Sun, 6 May 2018 20:09:36 +0000 (22:09 +0200)]
fix stats output of dht profiler

6 years agocosmestics
Christian Grothoff [Sun, 6 May 2018 19:51:47 +0000 (21:51 +0200)]
cosmestics

6 years agoactive_put is no longer, DCE
Christian Grothoff [Sun, 6 May 2018 19:45:06 +0000 (21:45 +0200)]
active_put is no longer, DCE

6 years agochapter: user: atchar is LaTeX, @@ is Texinfo.
Nils Gillmann [Sun, 6 May 2018 19:37:07 +0000 (19:37 +0000)]
chapter: user: atchar is LaTeX, @@ is Texinfo.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix dht profiler memory leak
Christian Grothoff [Sun, 6 May 2018 19:32:36 +0000 (21:32 +0200)]
fix dht profiler memory leak

6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Sun, 6 May 2018 19:24:34 +0000 (19:24 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agoguix-env.scm: it's not short enough but it makes the name of the chroot shorter for...
Nils Gillmann [Sun, 6 May 2018 19:24:14 +0000 (19:24 +0000)]
guix-env.scm: it's not short enough but it makes the name of the chroot shorter for now.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix datacache bytes stored calculation
Christian Grothoff [Sun, 6 May 2018 19:16:46 +0000 (21:16 +0200)]
fix datacache bytes stored calculation

6 years agotypos
Christian Grothoff [Sun, 6 May 2018 19:06:00 +0000 (21:06 +0200)]
typos

6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Sun, 6 May 2018 19:01:52 +0000 (19:01 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agoSwitch to $GNUNET_TMP in all configuration files.
Nils Gillmann [Sun, 6 May 2018 19:00:22 +0000 (19:00 +0000)]
Switch to $GNUNET_TMP in all configuration files.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix dht profiler logic
Christian Grothoff [Sun, 6 May 2018 18:58:58 +0000 (20:58 +0200)]
fix dht profiler logic

6 years agoupdate user documentation on GNS, include gnunet-zoneimport
Christian Grothoff [Sun, 6 May 2018 13:23:10 +0000 (15:23 +0200)]
update user documentation on GNS, include gnunet-zoneimport

6 years agoupdate namestore monitor API users to use new _next call where needed
Christian Grothoff [Sat, 5 May 2018 21:18:00 +0000 (23:18 +0200)]
update namestore monitor API users to use new _next call where needed

6 years agofix simplify profiler logic, n_puts_failed no longer used
Christian Grothoff [Sat, 5 May 2018 21:17:03 +0000 (23:17 +0200)]
fix simplify profiler logic, n_puts_failed no longer used

6 years agofix profiler build, signature of callback changed
Christian Grothoff [Sat, 5 May 2018 21:16:33 +0000 (23:16 +0200)]
fix profiler build, signature of callback changed

6 years agoman: gnunet.conf.5: Document GNUNET_TMP
Nils Gillmann [Sat, 5 May 2018 19:53:53 +0000 (19:53 +0000)]
man: gnunet.conf.5: Document GNUNET_TMP

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodefine GNUNET_TMP
Christian Grothoff [Sat, 5 May 2018 13:02:29 +0000 (15:02 +0200)]
define GNUNET_TMP