oweals/gnunet.git
8 years ago-normal during shutdown, reduce log level
Christian Grothoff [Wed, 16 Mar 2016 22:14:12 +0000 (22:14 +0000)]
-normal during shutdown, reduce log level

8 years agolock solver during shutdown to terminate faster
Christian Grothoff [Wed, 16 Mar 2016 21:48:33 +0000 (21:48 +0000)]
lock solver during shutdown to terminate faster

8 years ago-experimental is by dir, not only for malicious op
Christian Grothoff [Wed, 16 Mar 2016 18:08:04 +0000 (18:08 +0000)]
-experimental is by dir, not only for malicious op

8 years ago-fix build issue
Christian Grothoff [Wed, 16 Mar 2016 17:49:51 +0000 (17:49 +0000)]
-fix build issue

8 years agoOnly compile plugin when we have sqlite.
Florian Dold [Wed, 16 Mar 2016 17:27:19 +0000 (17:27 +0000)]
Only compile plugin when we have sqlite.

8 years ago-bugfix, adding comments, fixing indent
Christian Grothoff [Mon, 14 Mar 2016 22:40:04 +0000 (22:40 +0000)]
-bugfix, adding comments, fixing indent

8 years agoFix ibf key salting.
Florian Dold [Wed, 9 Mar 2016 16:57:52 +0000 (16:57 +0000)]
Fix ibf key salting.

8 years agoImplement early stopping.
Florian Dold [Wed, 9 Mar 2016 16:17:28 +0000 (16:17 +0000)]
Implement early stopping.

8 years agosocial: todo
Gabor X Toth [Mon, 7 Mar 2016 15:11:52 +0000 (15:11 +0000)]
social: todo

8 years agosocial test fix
Gabor X Toth [Mon, 7 Mar 2016 15:02:00 +0000 (15:02 +0000)]
social test fix

8 years agoRemove MSEC from option description.
Florian Dold [Mon, 29 Feb 2016 00:21:51 +0000 (00:21 +0000)]
Remove MSEC from option description.

The parser gives us microseconds (and not milliseconds)
when no suffix is used, the option description was wrong/confusing.

8 years agoDo $-expansion for OPTIONS of simple services
Florian Dold [Mon, 29 Feb 2016 00:12:10 +0000 (00:12 +0000)]
Do $-expansion for OPTIONS of simple services

In the future, this should also handle escaping
and quotation.  For compatibility reasons, the
expansion is only done for simple service configs.

8 years agoMake ARM understand the TYPE option for services
Florian Dold [Sun, 28 Feb 2016 21:17:53 +0000 (21:17 +0000)]
Make ARM understand the TYPE option for services

Setting the TYPE option for a service to SIMPLE makes ARM start the service
without any GNUnet-specific command line options.  The TYPE option defaults to
GNUNET, which is the usual behavior (with config / log level arguments to the binary).

8 years agoAdd support for $GNUNET_BASE_CONFIG
Florian Dold [Sun, 28 Feb 2016 20:40:00 +0000 (20:40 +0000)]
Add support for $GNUNET_BASE_CONFIG

The environment variable GNUNET_BASE_CONFIG allows
specifying the directory from which all base config
files will be loaded.  This is useful when ARM is
to be used to supervise things otherwise unrelated to
GNUnet.  Modifying GNUNET_PREFIX is not sufficient
for this use case, since e.g. libexec files need
to be under GNUNET_PREFIX, and GNUNET_BASE_CONFIG
provides a way to only modify the base config
directory independent of where GNUnet was installed.

8 years agopq: fix errornous include
Daniel Golle [Wed, 24 Feb 2016 21:31:07 +0000 (21:31 +0000)]
pq: fix errornous include

gnunet_util_lib.h can't be included from system's include path before
gnunet installed it there. Include it from the sourcetree instead.

8 years ago-env is dead
Christian Grothoff [Wed, 24 Feb 2016 09:57:03 +0000 (09:57 +0000)]
-env is dead

8 years agosocial: AppPlaceState doc
Gabor X Toth [Sun, 21 Feb 2016 14:09:16 +0000 (14:09 +0000)]
social: AppPlaceState doc

8 years agosocial: relay + save doc
Gabor X Toth [Sun, 21 Feb 2016 13:41:29 +0000 (13:41 +0000)]
social: relay + save doc

8 years agoindent
Gabor X Toth [Sun, 21 Feb 2016 13:41:26 +0000 (13:41 +0000)]
indent

8 years agosrc/psyc only implements the lower routing layer of PSYC
Carlo von lynX [Tue, 16 Feb 2016 05:41:21 +0000 (05:41 +0000)]
src/psyc only implements the lower routing layer of PSYC

8 years agoslowly aligning gnunet_social_service.h with PSYC spec
Carlo von lynX [Tue, 16 Feb 2016 05:41:13 +0000 (05:41 +0000)]
slowly aligning gnunet_social_service.h with PSYC spec

8 years agotypo
Carlo von lynX [Wed, 10 Feb 2016 15:02:31 +0000 (15:02 +0000)]
typo

8 years agolet's call it _notice_place_closing
Carlo von lynX [Wed, 10 Feb 2016 15:02:20 +0000 (15:02 +0000)]
let's call it _notice_place_closing

8 years ago-document -d option
Christian Grothoff [Sun, 7 Feb 2016 16:52:13 +0000 (16:52 +0000)]
-document -d option

8 years agomake some more use of libgnunetpq
Christian Grothoff [Sat, 6 Feb 2016 17:33:40 +0000 (17:33 +0000)]
make some more use of libgnunetpq

8 years ago-fix
Christian Grothoff [Fri, 5 Feb 2016 22:38:31 +0000 (22:38 +0000)]
-fix

8 years agocreating libgnunetpq library
Christian Grothoff [Fri, 5 Feb 2016 22:24:10 +0000 (22:24 +0000)]
creating libgnunetpq library

8 years agosocial: api, doc
Gabor X Toth [Mon, 1 Feb 2016 14:59:22 +0000 (14:59 +0000)]
social: api, doc

8 years agofix crash bug with -n
Christian Grothoff [Sun, 31 Jan 2016 16:49:21 +0000 (16:49 +0000)]
fix crash bug with -n

8 years ago-clarify man page
Christian Grothoff [Sun, 31 Jan 2016 16:49:11 +0000 (16:49 +0000)]
-clarify man page

8 years ago-fix #4151
Christian Grothoff [Sat, 30 Jan 2016 20:27:02 +0000 (20:27 +0000)]
-fix #4151

8 years agosocial api: some missing bits
Gabor X Toth [Wed, 27 Jan 2016 20:45:38 +0000 (20:45 +0000)]
social api: some missing bits

8 years agosocial: save file
Gabor X Toth [Wed, 27 Jan 2016 20:45:36 +0000 (20:45 +0000)]
social: save file

8 years agodoc
Gabor X Toth [Tue, 26 Jan 2016 21:22:29 +0000 (21:22 +0000)]
doc

8 years agosocial: relay msgs; psyc: slicer api; multicast: reset fragment_offset
Gabor X Toth [Tue, 26 Jan 2016 20:37:11 +0000 (20:37 +0000)]
social: relay msgs; psyc: slicer api; multicast: reset fragment_offset

8 years agopsycutil: slicer callback args
Gabor X Toth [Tue, 26 Jan 2016 20:37:09 +0000 (20:37 +0000)]
psycutil: slicer callback args

8 years ago-fix, this option is in gnunet-fs only
Christian Grothoff [Sun, 24 Jan 2016 18:36:59 +0000 (18:36 +0000)]
-fix, this option is in gnunet-fs only

8 years ago- fix
Martin Schanzenbach [Sun, 24 Jan 2016 12:51:36 +0000 (12:51 +0000)]
- fix

8 years ago- sscanf type fix
Martin Schanzenbach [Sun, 24 Jan 2016 12:39:50 +0000 (12:39 +0000)]
- sscanf type fix

8 years ago- fix
Martin Schanzenbach [Sun, 24 Jan 2016 10:44:10 +0000 (10:44 +0000)]
- fix

8 years agoFix typo
David Barksdale [Fri, 22 Jan 2016 20:35:06 +0000 (20:35 +0000)]
Fix typo

8 years agorps: restructured service. moved peer-related code to gnunet-service-rps_peers
Julius Bünger [Thu, 21 Jan 2016 16:38:41 +0000 (16:38 +0000)]
rps: restructured service. moved peer-related code to gnunet-service-rps_peers

Signed-off-by: Julius Bünger <buenger@mytum.de>
8 years ago-deduplicate string constant
Sree Harsha Totakura [Thu, 21 Jan 2016 09:21:37 +0000 (09:21 +0000)]
-deduplicate string constant

8 years agorps tests: Add fixmes
Sree Harsha Totakura [Thu, 21 Jan 2016 09:18:39 +0000 (09:18 +0000)]
rps tests: Add fixmes

8 years ago-fix double-free
Christian Grothoff [Thu, 21 Jan 2016 08:43:27 +0000 (08:43 +0000)]
-fix double-free

8 years agoforce 1 to be 64-bit integer, due to shift by up to 63 bits
Christian Grothoff [Thu, 21 Jan 2016 08:32:29 +0000 (08:32 +0000)]
force 1 to be 64-bit integer, due to shift by up to 63 bits

8 years ago-fix (C) notices
Christian Grothoff [Tue, 19 Jan 2016 13:43:20 +0000 (13:43 +0000)]
-fix (C) notices

8 years agoadd crc8
Christian Grothoff [Sun, 17 Jan 2016 16:05:16 +0000 (16:05 +0000)]
add crc8

8 years agopsyc/multicast: var names
Gabor X Toth [Fri, 15 Jan 2016 22:12:31 +0000 (22:12 +0000)]
psyc/multicast: var names

8 years agosocial: set/clear msg proc flags
Gabor X Toth [Fri, 15 Jan 2016 22:12:29 +0000 (22:12 +0000)]
social: set/clear msg proc flags

8 years agodoxygen: add documentation links
Gabor X Toth [Fri, 15 Jan 2016 22:12:27 +0000 (22:12 +0000)]
doxygen: add documentation links

8 years agopsycutil reorg: message, env, slicer
Gabor X Toth [Tue, 12 Jan 2016 23:26:47 +0000 (23:26 +0000)]
psycutil reorg: message, env, slicer

8 years agodoc
Gabor X Toth [Tue, 12 Jan 2016 23:26:43 +0000 (23:26 +0000)]
doc

8 years ago-minor
Martin Schanzenbach [Tue, 12 Jan 2016 14:47:58 +0000 (14:47 +0000)]
-minor

8 years agodoxygen: group/module definitions (part 2)
Gabor X Toth [Tue, 12 Jan 2016 12:43:09 +0000 (12:43 +0000)]
doxygen: group/module definitions (part 2)

8 years agodoxygen: group/module definitions (part 1)
Gabor X Toth [Mon, 11 Jan 2016 21:23:17 +0000 (21:23 +0000)]
doxygen: group/module definitions (part 1)

8 years agodoxygen config
Gabor X Toth [Mon, 11 Jan 2016 21:23:13 +0000 (21:23 +0000)]
doxygen config

8 years ago-remove debug output
Martin Schanzenbach [Mon, 11 Jan 2016 19:48:15 +0000 (19:48 +0000)]
-remove debug output

8 years ago- fixes, modify api
Martin Schanzenbach [Mon, 11 Jan 2016 16:36:26 +0000 (16:36 +0000)]
- fixes, modify api

8 years agosocial: compile fix
Gabor X Toth [Mon, 11 Jan 2016 15:33:28 +0000 (15:33 +0000)]
social: compile fix

8 years ago- update issue handling, fix memleaks
Martin Schanzenbach [Sun, 10 Jan 2016 09:55:48 +0000 (09:55 +0000)]
- update issue handling, fix memleaks

8 years ago- refactor
Martin Schanzenbach [Sat, 9 Jan 2016 23:06:05 +0000 (23:06 +0000)]
- refactor

8 years ago-add config
Martin Schanzenbach [Sat, 9 Jan 2016 17:45:50 +0000 (17:45 +0000)]
-add config

8 years ago- fix build, fix bugs
Martin Schanzenbach [Sat, 9 Jan 2016 17:09:37 +0000 (17:09 +0000)]
- fix build, fix bugs

8 years ago- update
Martin Schanzenbach [Fri, 8 Jan 2016 19:51:27 +0000 (19:51 +0000)]
- update

8 years ago- More heavy refactoring. Probably lots of broken things to see here.
Martin Schanzenbach [Fri, 8 Jan 2016 18:59:47 +0000 (18:59 +0000)]
- More heavy refactoring. Probably lots of broken things to see here.

8 years ago- Finish refactoring
Martin Schanzenbach [Thu, 7 Jan 2016 21:10:24 +0000 (21:10 +0000)]
- Finish refactoring

8 years ago- Start commenting. Major refactor
Martin Schanzenbach [Thu, 7 Jan 2016 21:02:11 +0000 (21:02 +0000)]
- Start commenting. Major refactor

8 years ago- update token handling
Martin Schanzenbach [Thu, 7 Jan 2016 17:07:20 +0000 (17:07 +0000)]
- update token handling

8 years agopsyc/social: local join flag; social service: leave place, save _file
Gabor X Toth [Wed, 6 Jan 2016 12:28:47 +0000 (12:28 +0000)]
psyc/social: local join flag; social service: leave place, save _file

8 years agomulticast test: now compiles in non-C99 mode
Gabor X Toth [Wed, 6 Jan 2016 12:28:45 +0000 (12:28 +0000)]
multicast test: now compiles in non-C99 mode

8 years ago- Refactor
Martin Schanzenbach [Tue, 5 Jan 2016 17:06:07 +0000 (17:06 +0000)]
- Refactor

8 years agoconfigure: fix for "yes/lib not found" error
Carlo von lynX [Mon, 4 Jan 2016 16:37:09 +0000 (16:37 +0000)]
configure: fix for "yes/lib not found" error

8 years ago- verify ecdh signature in token code
Martin Schanzenbach [Mon, 4 Jan 2016 15:39:46 +0000 (15:39 +0000)]
- verify ecdh signature in token code

8 years ago- encrypted token
Martin Schanzenbach [Mon, 4 Jan 2016 15:10:59 +0000 (15:10 +0000)]
- encrypted token

8 years ago- minus leaks
Martin Schanzenbach [Mon, 4 Jan 2016 13:00:09 +0000 (13:00 +0000)]
- minus leaks

8 years ago- Add ecdsa ecdh functions
Martin Schanzenbach [Mon, 4 Jan 2016 12:43:47 +0000 (12:43 +0000)]
- Add ecdsa ecdh functions
- Update identity token to encrypted protocol

8 years agoFix file path in gnunet-identity man page
David Barksdale [Tue, 29 Dec 2015 16:23:36 +0000 (16:23 +0000)]
Fix file path in gnunet-identity man page

8 years agonew French translation
Christian Grothoff [Thu, 24 Dec 2015 03:44:00 +0000 (03:44 +0000)]
new French translation

8 years agoMake HAVE_REST depend on both mhd and jansson.
Florian Dold [Sat, 19 Dec 2015 16:09:54 +0000 (16:09 +0000)]
Make HAVE_REST depend on both mhd and jansson.

8 years agosocial: API changes for application connections: store/load app subscriptions to...
Gabor X Toth [Thu, 17 Dec 2015 14:12:44 +0000 (14:12 +0000)]
social: API changes for application connections: store/load app subscriptions to places

8 years agoDisable salting because it's still buggy.
Florian Dold [Wed, 16 Dec 2015 10:06:38 +0000 (10:06 +0000)]
Disable salting because it's still buggy.

8 years ago- add flat plugin config filename path
Martin Schanzenbach [Tue, 15 Dec 2015 14:01:51 +0000 (14:01 +0000)]
- add flat plugin config filename path

8 years ago- update flat plugin to namestore flat plugin status. Add config filename.
Martin Schanzenbach [Tue, 15 Dec 2015 14:00:51 +0000 (14:00 +0000)]
- update flat plugin to namestore flat plugin status. Add config filename.

8 years agoRemove logging.
Florian Dold [Sat, 12 Dec 2015 11:45:49 +0000 (11:45 +0000)]
Remove logging.

8 years agoHandle larger IBFs correctly.
Florian Dold [Sat, 12 Dec 2015 01:19:33 +0000 (01:19 +0000)]
Handle larger IBFs correctly.

8 years agoIncrease maximum IBF size a bit.
Florian Dold [Fri, 11 Dec 2015 19:21:11 +0000 (19:21 +0000)]
Increase maximum IBF size a bit.

8 years agoProper salting for set union.
Florian Dold [Fri, 11 Dec 2015 19:19:47 +0000 (19:19 +0000)]
Proper salting for set union.

8 years agoSet statistics
Florian Dold [Fri, 11 Dec 2015 16:50:44 +0000 (16:50 +0000)]
Set statistics

8 years agoAlso install set profiler.
Florian Dold [Fri, 11 Dec 2015 16:50:31 +0000 (16:50 +0000)]
Also install set profiler.

8 years agoMore statistics.
Florian Dold [Thu, 10 Dec 2015 16:31:20 +0000 (16:31 +0000)]
More statistics.

8 years agostatistics
Florian Dold [Thu, 10 Dec 2015 14:17:12 +0000 (14:17 +0000)]
statistics

8 years agoMake resource diagnostics output more useful.
Florian Dold [Thu, 10 Dec 2015 10:59:25 +0000 (10:59 +0000)]
Make resource diagnostics output more useful.

The old format had output that looked like a floating point number, but was
actually two integers (seconds, microseconds) separated by a dot.  Actually
outputting floating point numbers makes the output more amendable to processing
with standard tools like awk.

8 years ago- warn when trying to send traffic to disconnected neighbor
Bart Polot [Wed, 9 Dec 2015 18:56:42 +0000 (18:56 +0000)]
- warn when trying to send traffic to disconnected neighbor

8 years agoAnother attampt at fixing #4010: mark unavailable neighbors in FlowControl struct...
Bart Polot [Wed, 9 Dec 2015 18:56:41 +0000 (18:56 +0000)]
Another attampt at fixing #4010: mark unavailable neighbors in FlowControl struct, test on POLL

8 years agoFix #4020, wrong assertion: if destroy is different from NO, state MUST be DESTROYED
Bart Polot [Wed, 9 Dec 2015 18:56:40 +0000 (18:56 +0000)]
Fix #4020, wrong assertion: if destroy is different from NO, state MUST be DESTROYED

8 years agoStatistics log file for consensus profiler.
Florian Dold [Wed, 9 Dec 2015 14:58:08 +0000 (14:58 +0000)]
Statistics log file for consensus profiler.

8 years ago-update
Martin Schanzenbach [Tue, 8 Dec 2015 14:25:00 +0000 (14:25 +0000)]
-update

8 years agoMore refined evil behaviour.
Florian Dold [Mon, 7 Dec 2015 10:45:42 +0000 (10:45 +0000)]
More refined evil behaviour.

8 years agonamecache: fix NULL-pointer dereference in namecache-flat
Daniel Golle [Sun, 6 Dec 2015 02:01:44 +0000 (02:01 +0000)]
namecache: fix NULL-pointer dereference in namecache-flat

namecache-flat crashes if started on an empty or non-existent file.
gnunet-service-[2568]: segfault at 0 ip 00007fe32dc8bb3c sp 00007ffde11826f0 error 4 in libgnunet_plugin_namecache_flat.so[7fe32dc8a000+202000]
gnunet-service-[2576]: segfault at 0 ip 00007f2a6be75b3c sp 00007ffdf9b6d880 error 4 in libgnunet_plugin_namecache_flat.so[7f2a6be74000+202000]
gnunet-service-[2581]: segfault at 0 ip 00007ff1dcfb1b3c sp 00007fff834070f0 error 4 in libgnunet_plugin_namecache_flat.so[7ff1dcfb0000+202000]

This fix at least prevents parsing a 0-byte file, however, looking at
the code it is clear that more needs to be done to prevent crashes in
case of corrupted or incompletely written cache data.

Fixes https://gnunet.org/bugs/view.php?id=4082

Signed-off-by: Daniel Golle <daniel@makrotopia.org>