oweals/gnunet.git
6 years agopeerinfo-tool: flake8 adjustments
Nils Gillmann [Tue, 22 May 2018 08:56:50 +0000 (08:56 +0000)]
peerinfo-tool: flake8 adjustments

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodisable debug logic
Christian Grothoff [Sun, 20 May 2018 21:58:28 +0000 (23:58 +0200)]
disable debug logic

6 years agoupdate ignore
Christian Grothoff [Sun, 20 May 2018 21:57:06 +0000 (23:57 +0200)]
update ignore

6 years agoupdate ignore
Christian Grothoff [Sun, 20 May 2018 21:56:55 +0000 (23:56 +0200)]
update ignore

6 years agoupdate ignore
Christian Grothoff [Sun, 20 May 2018 21:56:07 +0000 (23:56 +0200)]
update ignore

6 years agofix serialization/deserialization error in namestore deferred monitor logic
Christian Grothoff [Sun, 20 May 2018 21:51:43 +0000 (23:51 +0200)]
fix serialization/deserialization error in namestore deferred monitor logic

6 years agocheck return values from GNSRECORD_record_serialize/size always
Christian Grothoff [Sun, 20 May 2018 21:40:20 +0000 (23:40 +0200)]
check return values from GNSRECORD_record_serialize/size always

6 years agooff by 0 in log msg
Christian Grothoff [Sun, 20 May 2018 19:49:49 +0000 (21:49 +0200)]
off by 0 in log msg

6 years agofix crash on namestore disconnect
Christian Grothoff [Sun, 20 May 2018 19:05:18 +0000 (21:05 +0200)]
fix crash on namestore disconnect

6 years agoguard more carefully against integer overflows
Christian Grothoff [Sun, 20 May 2018 17:06:46 +0000 (19:06 +0200)]
guard more carefully against integer overflows

6 years agoadd test for gns2dns records pointing to DNS name
Christian Grothoff [Sun, 20 May 2018 16:55:54 +0000 (18:55 +0200)]
add test for gns2dns records pointing to DNS name

6 years agofix warning
Christian Grothoff [Sun, 20 May 2018 16:55:39 +0000 (18:55 +0200)]
fix warning

6 years agoadd logic to count concurrently active GNS requests
Christian Grothoff [Sun, 20 May 2018 16:54:47 +0000 (18:54 +0200)]
add logic to count concurrently active GNS requests

6 years agoallow multiple GNS2DNS records to co-exist
Christian Grothoff [Sun, 20 May 2018 16:42:01 +0000 (18:42 +0200)]
allow multiple GNS2DNS records to co-exist

6 years agoremove dead shorten logic
Christian Grothoff [Sun, 20 May 2018 16:41:48 +0000 (18:41 +0200)]
remove dead shorten logic

6 years agofix partitioning
Christian Grothoff [Sun, 20 May 2018 12:43:30 +0000 (14:43 +0200)]
fix partitioning

6 years agodo not crash on multiple CNAMEs
Christian Grothoff [Sun, 20 May 2018 10:51:41 +0000 (12:51 +0200)]
do not crash on multiple CNAMEs

6 years agofix another off by one
Christian Grothoff [Sat, 19 May 2018 22:45:04 +0000 (00:45 +0200)]
fix another off by one

6 years agofix off-by-one error in cadet connection construction, also enforce better timeouts...
Christian Grothoff [Sat, 19 May 2018 22:35:13 +0000 (00:35 +0200)]
fix off-by-one error in cadet connection construction, also enforce better timeouts for retransmissions of handshake

6 years agoflake8: add .py.in to tox.ini and realize the process is far from finished.
Nils Gillmann [Sat, 19 May 2018 19:44:46 +0000 (19:44 +0000)]
flake8: add .py.in to tox.ini and realize the process is far from finished.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoFix failing peerinfo test
Nils Gillmann [Sat, 19 May 2018 19:29:42 +0000 (19:29 +0000)]
Fix failing peerinfo test

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodisable crypto bug workaround
Christian Grothoff [Sat, 19 May 2018 18:31:10 +0000 (20:31 +0200)]
disable crypto bug workaround

6 years agoundo hostkey patch
Christian Grothoff [Sat, 19 May 2018 18:30:03 +0000 (20:30 +0200)]
undo hostkey patch

6 years agosrc/consensus/consensus-simulation: Use past.builtins for xrange
Nils Gillmann [Sat, 19 May 2018 17:21:42 +0000 (17:21 +0000)]
src/consensus/consensus-simulation: Use past.builtins for xrange

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agopython2+3 compat.: contrib/scripts/find_typedefs, gdb-iterate-dll: unicode-literals
Nils Gillmann [Sat, 19 May 2018 17:02:58 +0000 (17:02 +0000)]
python2+3 compat.: contrib/scripts/find_typedefs, gdb-iterate-dll: unicode-literals

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agogitignore: Add .bak
Nils Gillmann [Sat, 19 May 2018 17:01:57 +0000 (17:01 +0000)]
gitignore: Add .bak

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agopython2+3 compat.: contrib/scripts/gdb-iterate-dll.py: use futures.
Nils Gillmann [Sat, 19 May 2018 16:59:29 +0000 (16:59 +0000)]
python2+3 compat.: contrib/scripts/gdb-iterate-dll.py: use futures.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agocontrib/scripts: lint-python.sh, small wrapper
Nils Gillmann [Sat, 19 May 2018 16:02:18 +0000 (16:02 +0000)]
contrib/scripts: lint-python.sh, small wrapper

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago+
Nils Gillmann [Sat, 19 May 2018 15:26:08 +0000 (15:26 +0000)]
+

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago+
Nils Gillmann [Sat, 19 May 2018 15:18:30 +0000 (15:18 +0000)]
+

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofollow-up, fix conf locations
Nils Gillmann [Sat, 19 May 2018 15:05:21 +0000 (15:05 +0000)]
follow-up, fix conf locations

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

6 years agoRestructure contrib folder.
Nils Gillmann [Sat, 19 May 2018 14:43:13 +0000 (14:43 +0000)]
Restructure contrib folder.

contrib/pogen.sh -> bin/pogen.sh
bootstrap: Use new pogen location and execute it.
contrib/openvpn-tap32: Move to contrib/3rdparty/Windows/openvpn-tap32.
contrib/gnunet-logo*: Move to contrib/branding/logo/
Delete old patches in contrib, predating git.
Move buildbot data to contrib/ci/buildbot,
move docker data to contrib/ci/docker.
Create contrib/conf and populate it with config files found in contrib and bin.
Move gns related data to contrib/gns.
delete contrib/repeat.sh
Move contrib/log.php into contrib/web/log.php.
Create folder contrib/scripts and use it for most scripts in contrib.
Remove trailing whitespace in doc/Makefile.am

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago-add basic macOS installation instructions
Schanzenbach, Martin [Fri, 18 May 2018 20:05:18 +0000 (22:05 +0200)]
-add basic macOS installation instructions

6 years agoancient debug patches can die
Christian Grothoff [Fri, 18 May 2018 09:10:49 +0000 (11:10 +0200)]
ancient debug patches can die

6 years agoremove bitrot
Christian Grothoff [Fri, 18 May 2018 09:08:01 +0000 (11:08 +0200)]
remove bitrot

6 years agopo: Generate perl bin path
Nils Gillmann [Fri, 18 May 2018 07:31:25 +0000 (07:31 +0000)]
po: Generate perl bin path

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agocontrib/openvpn-tap32 content is GPL2 licensed. This is only stated in the zip archiv...
Nils Gillmann [Fri, 18 May 2018 06:48:30 +0000 (06:48 +0000)]
contrib/openvpn-tap32 content is GPL2 licensed. This is only stated in the zip archives, so include a license file in the folder which contains them.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoconfigure.ac: FIXME note on version command that predates switch to git.
Nils Gillmann [Fri, 18 May 2018 06:05:06 +0000 (06:05 +0000)]
configure.ac: FIXME note on version command that predates switch to git.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agocontrib: change Dockerfile to more reliable/distributed gnurl source
Nils Gillmann [Thu, 17 May 2018 17:54:56 +0000 (17:54 +0000)]
contrib: change Dockerfile to more reliable/distributed gnurl source

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago...and move it to a better named file in there
Nils Gillmann [Thu, 17 May 2018 17:45:45 +0000 (17:45 +0000)]
...and move it to a better named file in there

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoMove hacks.el to contrib
Nils Gillmann [Thu, 17 May 2018 17:44:34 +0000 (17:44 +0000)]
Move hacks.el to contrib

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoAdd copyright to hacks.el
Nils Gillmann [Thu, 17 May 2018 17:43:34 +0000 (17:43 +0000)]
Add copyright to hacks.el

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agocontrib/removetrailingwhitespace: sed the python
Nils Gillmann [Thu, 17 May 2018 16:38:30 +0000 (16:38 +0000)]
contrib/removetrailingwhitespace: sed the python

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoRevert "Revert "PEP 237 unified long integers and integers: http://www.python.org...
Nils Gillmann [Thu, 17 May 2018 16:27:27 +0000 (16:27 +0000)]
Revert "Revert "PEP 237 unified long integers and integers: python.org/dev/peps/pep-0237/""

This reverts commit d9d4454b10201c1c1e0da7e95069dd073571beac.

Actually this is valid for python >= 2.2 and 3.x

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