oweals/gnunet.git
6 years ago-Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
Phil [Wed, 13 Jun 2018 21:40:25 +0000 (23:40 +0200)]
-Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api

6 years ago-wip fix gns
Phil [Wed, 13 Jun 2018 21:40:14 +0000 (23:40 +0200)]
-wip fix gns

6 years agoupdate dockerfile
Schanzenbach, Martin [Wed, 13 Jun 2018 16:40:58 +0000 (18:40 +0200)]
update dockerfile

6 years agoExpanding libgnunetcurl.
Marcello Stanisci [Wed, 13 Jun 2018 16:38:08 +0000 (18:38 +0200)]
Expanding libgnunetcurl.

Adding a method to let the user append
a custom request header.

6 years agoremove dead file
Christian Grothoff [Wed, 13 Jun 2018 16:09:02 +0000 (18:09 +0200)]
remove dead file

6 years agomariadb
Nils Gillmann [Wed, 13 Jun 2018 09:07:13 +0000 (09:07 +0000)]
mariadb

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix
Nils Gillmann [Wed, 13 Jun 2018 09:02:54 +0000 (09:02 +0000)]
fix

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix
Nils Gillmann [Wed, 13 Jun 2018 08:53:02 +0000 (08:53 +0000)]
fix

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoseems like mysql is currently broken in Guix
Nils Gillmann [Wed, 13 Jun 2018 08:52:41 +0000 (08:52 +0000)]
seems like mysql is currently broken in Guix

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

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agosome changes and work in user handbook.
Nils Gillmann [Wed, 13 Jun 2018 08:01:51 +0000 (08:01 +0000)]
some changes and work in user handbook.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodoc: Add new files to Makefile.
Nils Gillmann [Wed, 13 Jun 2018 07:32:04 +0000 (07:32 +0000)]
doc: Add new files to Makefile.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agorps profiler: cleaned debug output
Julius Bünger [Tue, 12 Jun 2018 21:07:53 +0000 (23:07 +0200)]
rps profiler: cleaned debug output

6 years agorps profiler: generate output for randomness tests
Julius Bünger [Tue, 12 Jun 2018 21:03:47 +0000 (23:03 +0200)]
rps profiler: generate output for randomness tests

6 years agoensure DHT never accepts or passes along expired blocks
Christian Grothoff [Tue, 12 Jun 2018 13:10:52 +0000 (15:10 +0200)]
ensure DHT never accepts or passes along expired blocks

6 years agotell mysql that our integers are unsigned
Christian Grothoff [Tue, 12 Jun 2018 12:57:51 +0000 (14:57 +0200)]
tell mysql that our integers are unsigned

6 years agoensure datacache does not return expired records, fixig pq behavior with respect...
Christian Grothoff [Tue, 12 Jun 2018 12:48:00 +0000 (14:48 +0200)]
ensure datacache does not return expired records, fixig pq behavior with respect to FOREVER absolute time

6 years agocomplain if datacache returns expired values
Christian Grothoff [Tue, 12 Jun 2018 09:09:50 +0000 (11:09 +0200)]
complain if datacache returns expired values

6 years ago-Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
Phil [Mon, 11 Jun 2018 20:10:32 +0000 (22:10 +0200)]
-Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api

6 years agodocumentation: user + developer changes
Nils Gillmann [Mon, 11 Jun 2018 06:34:14 +0000 (06:34 +0000)]
documentation: user + developer changes

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago-wip error gns
Phil [Sun, 10 Jun 2018 17:02:07 +0000 (19:02 +0200)]
-wip error gns

6 years agoremove crypto_bug.c
Christian Grothoff [Sat, 9 Jun 2018 15:42:02 +0000 (17:42 +0200)]
remove crypto_bug.c

6 years agoFix the link to the preliminary documentation
Nils Gillmann [Sat, 9 Jun 2018 15:25:20 +0000 (15:25 +0000)]
Fix the link to the preliminary documentation

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoREADME: Mention further reading material
Nils Gillmann [Sat, 9 Jun 2018 15:21:14 +0000 (15:21 +0000)]
README: Mention further reading material

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agorps profiler: rewrite statistics handling
Julius Bünger [Fri, 8 Jun 2018 08:11:32 +0000 (10:11 +0200)]
rps profiler: rewrite statistics handling

6 years agodoc: create system specific folder and move files into it
Nils Gillmann [Fri, 8 Jun 2018 06:16:21 +0000 (06:16 +0000)]
doc: create system specific folder and move files into it

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago rps profiler: add correct make rule, util
Julius Bünger [Thu, 7 Jun 2018 23:23:45 +0000 (01:23 +0200)]
 rps profiler: add correct make rule, util

6 years agoparagraph for gnunet devs that don't know how to use the web
psyc://loupsycedyglgamf.onion/~lynX [Thu, 7 Jun 2018 15:23:35 +0000 (15:23 +0000)]
paragraph for gnunet devs that don't know how to use the web

6 years agoconfig: file name expansion in all -f cases
Julius Bünger [Thu, 7 Jun 2018 15:22:22 +0000 (17:22 +0200)]
config: file name expansion in all -f cases

6 years agofix the stupid
Christian Grothoff [Thu, 7 Jun 2018 14:58:37 +0000 (16:58 +0200)]
fix the stupid

6 years agoavoid looping on listing of zone
Christian Grothoff [Thu, 7 Jun 2018 14:55:11 +0000 (16:55 +0200)]
avoid looping on listing of zone

6 years agoglitch in the license text detected by hyazinthe, thank you!
psyc://loupsycedyglgamf.onion/~lynX [Thu, 7 Jun 2018 14:42:24 +0000 (14:42 +0000)]
glitch in the license text detected by hyazinthe, thank you!

6 years agoadd -z option to gnunet-namestore-fcfsd
Christian Grothoff [Thu, 7 Jun 2018 14:42:23 +0000 (16:42 +0200)]
add -z option to gnunet-namestore-fcfsd

6 years agoadd -z option to gnunet-namestore-fcfsd
Christian Grothoff [Thu, 7 Jun 2018 14:36:50 +0000 (16:36 +0200)]
add -z option to gnunet-namestore-fcfsd

6 years agoadd LEHO records to DNS record sets if we know them from GNS2DNS
Christian Grothoff [Thu, 7 Jun 2018 14:17:04 +0000 (16:17 +0200)]
add LEHO records to DNS record sets if we know them from GNS2DNS

6 years agoadd option to disable v6, do not pass chunked encoding along, enable bypass of cert...
Christian Grothoff [Thu, 7 Jun 2018 13:36:53 +0000 (15:36 +0200)]
add option to disable v6, do not pass chunked encoding along, enable bypass of cert validation

6 years agorps profiler: summarize statistics
Julius Bünger [Thu, 7 Jun 2018 12:18:49 +0000 (14:18 +0200)]
rps profiler: summarize statistics

6 years agoguix-env.scm: Add python2-future.
Nils Gillmann [Wed, 6 Jun 2018 12:23:59 +0000 (12:23 +0000)]
guix-env.scm: Add python2-future.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodoc: stagging file 'FROM_SOURCE' with old repetive instructions
Nils Gillmann [Wed, 6 Jun 2018 12:19:00 +0000 (12:19 +0000)]
doc: stagging file 'FROM_SOURCE' with old repetive instructions

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodocumentation: Remove installation
Nils Gillmann [Wed, 6 Jun 2018 12:18:30 +0000 (12:18 +0000)]
documentation: Remove installation

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoREADME rework part 1
Nils Gillmann [Wed, 6 Jun 2018 12:17:10 +0000 (12:17 +0000)]
README rework part 1

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agofix NPE
Schanzenbach, Martin [Wed, 6 Jun 2018 07:58:08 +0000 (09:58 +0200)]
fix NPE

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

6 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

6 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!

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

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

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

6 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

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

6 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

6 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)

6 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

6 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)

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

6 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

6 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

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

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

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

6 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

6 years agognunet-bugreport: GNUtls->GnuTLS
Nils Gillmann [Tue, 5 Jun 2018 10:17:44 +0000 (10:17 +0000)]
gnunet-bugreport: GNUtls->GnuTLS

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoAdd GPL2 licensed openrc service file
Nils Gillmann [Tue, 5 Jun 2018 08:54:29 +0000 (08:54 +0000)]
Add GPL2 licensed openrc service file

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 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

6 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

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

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

6 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

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

6 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

6 years agocleanup identity rest api, removed jsonapi includes
Phil [Mon, 4 Jun 2018 22:33:30 +0000 (00:33 +0200)]
cleanup identity rest api, removed jsonapi includes

6 years agoextend the list of known package maintainers
Nils Gillmann [Mon, 4 Jun 2018 22:05:13 +0000 (22:05 +0000)]
extend the list of known package maintainers

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years ago-merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
Phil [Mon, 4 Jun 2018 21:50:13 +0000 (23:50 +0200)]
-merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api

6 years agoidentity rest api - finished and added test_script
Phil [Mon, 4 Jun 2018 21:50:00 +0000 (23:50 +0200)]
identity rest api - finished and added test_script

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

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

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

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

6 years agocontrib: rename scripts/report.sh to scripts/gnunet-bugreport and install it.
Nils Gillmann [Mon, 4 Jun 2018 20:50:28 +0000 (20:50 +0000)]
contrib: rename scripts/report.sh to scripts/gnunet-bugreport and install it.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 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

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

6 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

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

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

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

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

6 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

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

6 years agoremoved jsonapi structures
Phil [Sat, 2 Jun 2018 20:15:59 +0000 (22:15 +0200)]
removed jsonapi structures

6 years ago-wip remove jsonapi from identity
Phil [Fri, 1 Jun 2018 22:34:58 +0000 (00:34 +0200)]
-wip remove jsonapi from identity

6 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

6 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;
--

6 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

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

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

6 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

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

6 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

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

6 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