oweals/gnunet.git
5 years agoadd changelog v0.11.0pre66
Christian Grothoff [Wed, 6 Jun 2018 07:04:15 +0000 (09:04 +0200)]
add changelog

5 years agofor posterity: the script that caught all kinds of funny license formatting
psyc://loupsycedyglgamf.onion/~lynX [Wed, 6 Jun 2018 06:20:55 +0000 (06:20 +0000)]
for posterity: the script that caught all kinds of funny license formatting

5 years agosecond batch complete. WE ARE AFFERO AGPL NOW!
psyc://loupsycedyglgamf.onion/~lynX [Wed, 6 Jun 2018 06:20:54 +0000 (06:20 +0000)]
second batch complete. WE ARE AFFERO AGPL NOW!

5 years agofix misc compiler warnings
Christian Grothoff [Wed, 6 Jun 2018 06:20:53 +0000 (08:20 +0200)]
fix misc compiler warnings

5 years agoignore tag file
Christian Grothoff [Wed, 6 Jun 2018 06:05:59 +0000 (08:05 +0200)]
ignore tag file

5 years agofix linker issue
Christian Grothoff [Wed, 6 Jun 2018 05:56:10 +0000 (07:56 +0200)]
fix linker issue

5 years agobetter indentation, nicer formatting of SQL
Christian Grothoff [Wed, 6 Jun 2018 05:54:01 +0000 (07:54 +0200)]
better indentation, nicer formatting of SQL

5 years agobetter indentation
Christian Grothoff [Wed, 6 Jun 2018 05:53:39 +0000 (07:53 +0200)]
better indentation

5 years agoimplement proper expiration logic also for postgres plugin
Christian Grothoff [Wed, 6 Jun 2018 05:53:25 +0000 (07:53 +0200)]
implement proper expiration logic also for postgres plugin

5 years agofirst batch of license fixes (boring)
psyc://loupsycedyglgamf.onion/~lynX [Tue, 5 Jun 2018 23:12:01 +0000 (23:12 +0000)]
first batch of license fixes (boring)

5 years agoafferify COPYING and the contrib folders
psyc://loupsycedyglgamf.onion/~lynX [Tue, 5 Jun 2018 23:12:00 +0000 (23:12 +0000)]
afferify COPYING and the contrib folders

5 years agoless heteronormative function names (SCNR)
psyc://loupsycedyglgamf.onion/~lynX [Tue, 5 Jun 2018 23:11:59 +0000 (23:11 +0000)]
less heteronormative function names (SCNR)

5 years agofix ftbfs
Schanzenbach, Martin [Tue, 5 Jun 2018 23:11:58 +0000 (01:11 +0200)]
fix ftbfs

5 years agorps service: rename option in config
Julius Bünger [Tue, 5 Jun 2018 22:35:23 +0000 (00:35 +0200)]
rps service: rename option in config

5 years agorps: split tests and profiler, proper shutdown
Julius Bünger [Tue, 5 Jun 2018 22:33:56 +0000 (00:33 +0200)]
rps: split tests and profiler, proper shutdown

5 years agowhitespace
Christian Grothoff [Tue, 5 Jun 2018 22:32:51 +0000 (00:32 +0200)]
whitespace

5 years agochanges for AGPL handling
Christian Grothoff [Tue, 5 Jun 2018 22:32:36 +0000 (00:32 +0200)]
changes for AGPL handling

5 years agostyle fix
Christian Grothoff [Mon, 4 Jun 2018 22:38:33 +0000 (00:38 +0200)]
style fix

5 years agofix KX in Cadet for revocation-style sequencing
Christian Grothoff [Tue, 5 Jun 2018 14:05:55 +0000 (16:05 +0200)]
fix KX in Cadet for revocation-style sequencing

5 years agoresume curl download if we paused it before
Christian Grothoff [Tue, 5 Jun 2018 08:25:26 +0000 (10:25 +0200)]
resume curl download if we paused it before

5 years agofollow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return value...
Christian Grothoff [Tue, 5 Jun 2018 08:13:13 +0000 (10:13 +0200)]
follow twister change e01669953d7a8e82a505fca2308e57e971d43c67: check return value on upload_cb registration with curl

5 years agocode cleanup, fix strlen
Christian Grothoff [Tue, 5 Jun 2018 08:00:23 +0000 (10:00 +0200)]
code cleanup, fix strlen

5 years agoupdate gitignore
Christian Grothoff [Tue, 5 Jun 2018 07:45:43 +0000 (09:45 +0200)]
update gitignore

5 years agofix handling of chunked encoding by proxy, and handling of connection termination
Christian Grothoff [Tue, 5 Jun 2018 07:32:30 +0000 (09:32 +0200)]
fix handling of chunked encoding by proxy, and handling of connection termination

5 years agotypo
Christian Grothoff [Mon, 4 Jun 2018 21:26:12 +0000 (23:26 +0200)]
typo

5 years agouse real GNS record types in tests to avoid failures in new extra serialization/deser...
Christian Grothoff [Mon, 4 Jun 2018 22:37:06 +0000 (00:37 +0200)]
use real GNS record types in tests to avoid failures in new extra serialization/deserialization checking

5 years agotestcase cleanup
Christian Grothoff [Mon, 4 Jun 2018 21:32:09 +0000 (23:32 +0200)]
testcase cleanup

5 years agofix a few disting issues
Christian Grothoff [Mon, 4 Jun 2018 21:29:34 +0000 (23:29 +0200)]
fix a few disting issues

5 years agoscript was removed
Christian Grothoff [Mon, 4 Jun 2018 21:28:30 +0000 (23:28 +0200)]
script was removed

5 years agofix typo in Makefile.am
Christian Grothoff [Mon, 4 Jun 2018 21:27:52 +0000 (23:27 +0200)]
fix typo in Makefile.am

5 years agouse DEBUG_KX for new core log messages
Christian Grothoff [Mon, 4 Jun 2018 17:24:00 +0000 (19:24 +0200)]
use DEBUG_KX for new core log messages

5 years agomerge benchmark changes
Christian Grothoff [Mon, 4 Jun 2018 17:17:57 +0000 (19:17 +0200)]
merge benchmark changes

5 years agoadd function for getopt uint16_t arguments
Christian Grothoff [Mon, 4 Jun 2018 17:00:10 +0000 (19:00 +0200)]
add function for getopt uint16_t arguments

5 years agomore logging
Christian Grothoff [Sun, 3 Jun 2018 18:21:08 +0000 (20:21 +0200)]
more logging

5 years agomore crypto KX logging
Christian Grothoff [Sun, 3 Jun 2018 15:06:49 +0000 (17:06 +0200)]
more crypto KX logging

5 years agomore core KX logging
Christian Grothoff [Sun, 3 Jun 2018 14:44:07 +0000 (16:44 +0200)]
more core KX logging

5 years agofix logic
Christian Grothoff [Sun, 3 Jun 2018 14:30:40 +0000 (16:30 +0200)]
fix logic

5 years agoproper datacache expiration by proximity first
Christian Grothoff [Sun, 3 Jun 2018 13:07:09 +0000 (15:07 +0200)]
proper datacache expiration by proximity first

5 years agomore logging
Christian Grothoff [Sun, 3 Jun 2018 12:38:40 +0000 (14:38 +0200)]
more logging

5 years agoadd more logging for core KX to improve diagnostics
Christian Grothoff [Thu, 31 May 2018 10:43:11 +0000 (12:43 +0200)]
add more logging for core KX to improve diagnostics

5 years agoNiibe writes:
Christian Grothoff [Thu, 31 May 2018 06:16:17 +0000 (08:16 +0200)]
Niibe writes:

Sorry, I was not reading the code of GNUnet well.  I overlooked how the
eddsa_d_to_a function was written and its intention.  I read it again.

Indeed, the eddsa_d_to_a function tries to handle the case where
gcry_mpi_print returns rawmpilen < 32, putting "left pad" by DIGEST.

The problem is:

DIGEST is not cleared (although comment says so).

I think that the stack had zero-byte for some reason on your 32-bit
machine.

Here is the correction.  Clear DIGEST, as comment says.

diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 8d9091b23..280603234 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -1273,24 +1273,15 @@ eddsa_d_to_a (gcry_mpi_t d)

   b = 256 / 8; /* number of bytes in `d` */

+  memset (hvec, 0, sizeof hvec);
   /* Note that we clear DIGEST so we can use it as input to left pad
      the key with zeroes for hashing.  */
-  memset (hvec, 0, sizeof hvec);
+  memset (digest, 0, sizeof digest);
   rawmpilen = sizeof (rawmpi);
   GNUNET_assert (0 ==
                  gcry_mpi_print (GCRYMPI_FMT_USG,
   rawmpi, rawmpilen, &rawmpilen,
                                  d));
-  if (rawmpilen < 32)
-  {
-    memmove (rawmpi + 32 - rawmpilen,
-             rawmpi,
-             rawmpilen);
-    memset (rawmpi,
-            0,
-            32 - rawmpilen);
-    rawmpilen = 32;
-  }
   hvec[0].data = digest;
   hvec[0].off = 0;
   hvec[0].len = b > rawmpilen ? (b - rawmpilen) : 0;
--

5 years agoadd -2 flag to gnunet-gns-benchmark
Christian Grothoff [Thu, 31 May 2018 06:15:50 +0000 (08:15 +0200)]
add -2 flag to gnunet-gns-benchmark

5 years agoadd proximity considerations to datacache
Christian Grothoff [Wed, 30 May 2018 16:47:17 +0000 (18:47 +0200)]
add proximity considerations to datacache

5 years agodisable xu transport, header missing
Christian Grothoff [Wed, 30 May 2018 16:46:55 +0000 (18:46 +0200)]
disable xu transport, header missing

5 years agoreduce loop counters to more practical levels
Christian Grothoff [Wed, 30 May 2018 08:58:28 +0000 (10:58 +0200)]
reduce loop counters to more practical levels

5 years agostyle fix
Christian Grothoff [Wed, 30 May 2018 08:29:24 +0000 (10:29 +0200)]
style fix

5 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
Christian Grothoff [Wed, 30 May 2018 08:28:51 +0000 (10:28 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

5 years agoadding xu transport
Christian Grothoff [Mon, 28 May 2018 14:56:32 +0000 (16:56 +0200)]
adding xu transport

5 years agoadd patch from Niibe Yutaka for
Christian Grothoff [Mon, 28 May 2018 11:04:11 +0000 (13:04 +0200)]
add patch from Niibe Yutaka for
#5328

5 years agoskip validation logic
Christian Grothoff [Sun, 27 May 2018 23:51:01 +0000 (01:51 +0200)]
skip validation logic

5 years agoskip validation logic
Christian Grothoff [Sun, 27 May 2018 23:48:13 +0000 (01:48 +0200)]
skip validation logic

5 years agotrack hello passing
Christian Grothoff [Sun, 27 May 2018 23:39:40 +0000 (01:39 +0200)]
track hello passing

5 years agogitignore: Add pytest specific
Nils Gillmann [Sun, 27 May 2018 14:17:31 +0000 (14:17 +0000)]
gitignore: Add pytest specific

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agoadd TODO notes in doc/documentation
Nils Gillmann [Sun, 27 May 2018 13:51:07 +0000 (13:51 +0000)]
add TODO notes in doc/documentation

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agoMerge branch 'h2020' of git+ssh://gnunet.org/gnunet into h2020
Christian Grothoff [Sat, 26 May 2018 18:44:34 +0000 (20:44 +0200)]
Merge branch 'h2020' of git+ssh://gnunet.org/gnunet into h2020

5 years agodisable LAN/loopback for AC
Christian Grothoff [Sat, 26 May 2018 18:44:29 +0000 (20:44 +0200)]
disable LAN/loopback for AC

5 years agobuild xt
Christian Grothoff [Sat, 26 May 2018 18:18:59 +0000 (20:18 +0200)]
build xt

5 years agoexclude SOA-only zones
Christian Grothoff [Sat, 26 May 2018 16:11:21 +0000 (18:11 +0200)]
exclude SOA-only zones

5 years agoxt transport for experiments:
Christian Grothoff [Sat, 26 May 2018 14:06:07 +0000 (16:06 +0200)]
xt transport for experiments:

5 years agoAdd gnunetgnsrecord to Libs
Pascal Mainini [Fri, 25 May 2018 16:44:09 +0000 (18:44 +0200)]
Add gnunetgnsrecord to Libs

5 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Wed, 23 May 2018 22:00:23 +0000 (22:00 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 years agoc-tutorial: grammar fixes and general improvements
Nils Gillmann [Wed, 23 May 2018 22:00:04 +0000 (22:00 +0000)]
c-tutorial: grammar fixes and general improvements

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agostop DNS lookup immediately instead of async to avoid use-after free if we get BOTH...
Christian Grothoff [Wed, 23 May 2018 21:37:00 +0000 (23:37 +0200)]
stop DNS lookup immediately instead of async to avoid use-after free if we get BOTH an IPv4 and IPv6 response

5 years agofix bug where we might fail the resolution of the same DHT heap node twice due to...
Christian Grothoff [Wed, 23 May 2018 21:08:03 +0000 (23:08 +0200)]
fix bug where we might fail the resolution of the same DHT heap node twice due to async cleanup

5 years agomore flakes.
Nils Gillmann [Wed, 23 May 2018 17:31:01 +0000 (17:31 +0000)]
more flakes.

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agotest_integration_boostrap_and_connect: flake8
Nils Gillmann [Wed, 23 May 2018 17:02:33 +0000 (17:02 +0000)]
test_integration_boostrap_and_connect: flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agointegration-tests: clique: flake8
Nils Gillmann [Wed, 23 May 2018 14:35:01 +0000 (14:35 +0000)]
integration-tests: clique: flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agointegration-tests: gnunet-testing: flake8
Nils Gillmann [Wed, 23 May 2018 09:55:22 +0000 (09:55 +0000)]
integration-tests: gnunet-testing: flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agointegration-tests reconnect_nat: flake8
Nils Gillmann [Wed, 23 May 2018 08:37:48 +0000 (08:37 +0000)]
integration-tests reconnect_nat: flake8

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

5 years agointegration-tests disconnect_nat flake8
Nils Gillmann [Wed, 23 May 2018 08:11:31 +0000 (08:11 +0000)]
integration-tests disconnect_nat flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agorevocation: test_local_revocation: Adjust to flake8
Nils Gillmann [Wed, 23 May 2018 07:29:10 +0000 (07:29 +0000)]
revocation: test_local_revocation: Adjust to flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agostarting with another CADET testcase (unfinished)
Christian Grothoff [Tue, 22 May 2018 22:00:58 +0000 (00:00 +0200)]
starting with another CADET testcase (unfinished)

5 years agono need to dup cfg
Christian Grothoff [Tue, 22 May 2018 21:37:15 +0000 (23:37 +0200)]
no need to dup cfg

5 years agofix indentation
Christian Grothoff [Tue, 22 May 2018 21:23:20 +0000 (23:23 +0200)]
fix indentation

5 years agolog on success, too
Christian Grothoff [Tue, 22 May 2018 21:23:05 +0000 (23:23 +0200)]
log on success, too

5 years ago+
Nils Gillmann [Tue, 22 May 2018 17:03:14 +0000 (17:03 +0000)]
+

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agofix test locations
Nils Gillmann [Tue, 22 May 2018 17:02:29 +0000 (17:02 +0000)]
fix test locations

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agotest_gnunet_statistics: flake8
Nils Gillmann [Tue, 22 May 2018 12:52:12 +0000 (12:52 +0000)]
test_gnunet_statistics: flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agotestbed/buildvars.py: flake8
Nils Gillmann [Tue, 22 May 2018 12:34:16 +0000 (12:34 +0000)]
testbed/buildvars.py: flake8

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years ago+
Nils Gillmann [Tue, 22 May 2018 12:30:13 +0000 (12:30 +0000)]
+

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agojanitor: flake8ism
Nils Gillmann [Tue, 22 May 2018 12:28:33 +0000 (12:28 +0000)]
janitor: flake8ism

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agopyexpect: flake8ism
Nils Gillmann [Tue, 22 May 2018 12:17:32 +0000 (12:17 +0000)]
pyexpect: flake8ism

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years ago+
Nils Gillmann [Tue, 22 May 2018 11:45:57 +0000 (11:45 +0000)]
+

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agotext_gnunet_fs_psd.py.in: Fix loading pxpect + flake8'ism
Nils Gillmann [Tue, 22 May 2018 11:45:12 +0000 (11:45 +0000)]
text_gnunet_fs_psd.py.in: Fix loading pxpect + flake8'ism

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agofind_typedefs.py: Comment about variable 'li'
Nils Gillmann [Tue, 22 May 2018 09:55:04 +0000 (09:55 +0000)]
find_typedefs.py: Comment about variable 'li'

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agocontrib/scripts/terminate.py.in: bump the year
Nils Gillmann [Tue, 22 May 2018 09:52:40 +0000 (09:52 +0000)]
contrib/scripts/terminate.py.in: bump the year

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agocontrib/scripts/terminate.py.in: indent fixes + comments
Nils Gillmann [Tue, 22 May 2018 09:51:42 +0000 (09:51 +0000)]
contrib/scripts/terminate.py.in: indent fixes + comments

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years ago++
Nils Gillmann [Tue, 22 May 2018 09:26:21 +0000 (09:26 +0000)]
++

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agoMore flakes
Nils Gillmann [Tue, 22 May 2018 09:15:34 +0000 (09:15 +0000)]
More flakes

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agogitignore flake8.log
Nils Gillmann [Tue, 22 May 2018 09:04:40 +0000 (09:04 +0000)]
gitignore flake8.log

Signed-off-by: Nils Gillmann <ng0@n0.is>
5 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Tue, 22 May 2018 08:57:06 +0000 (08:57 +0000)]
Merge branch 'master' of gnunet.org:gnunet

5 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>
5 years agosanitize log levels
Christian Grothoff [Mon, 21 May 2018 16:41:07 +0000 (18:41 +0200)]
sanitize log levels

5 years agofix crash on unexpected client disconnect on incoming message, remove bogus assertion
Christian Grothoff [Mon, 21 May 2018 16:10:38 +0000 (18:10 +0200)]
fix crash on unexpected client disconnect on incoming message, remove bogus assertion

5 years agodisable debug logic
Christian Grothoff [Sun, 20 May 2018 21:58:28 +0000 (23:58 +0200)]
disable debug logic

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

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

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

5 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