oweals/gnunet.git
8 years agoadd implementation of scheduler integration of curl context
Christian Grothoff [Mon, 2 May 2016 06:11:57 +0000 (06:11 +0000)]
add implementation of scheduler integration of curl context

8 years agoAPI update to fix #4479
Christian Grothoff [Mon, 2 May 2016 00:23:27 +0000 (00:23 +0000)]
API update to fix #4479

8 years agoimplementing new scheduler shutdown semantics
Christian Grothoff [Sat, 30 Apr 2016 08:17:37 +0000 (08:17 +0000)]
implementing new scheduler shutdown semantics

8 years agoexpand dollars in BINARY for service type 'simple'
Florian Dold [Tue, 26 Apr 2016 22:32:27 +0000 (22:32 +0000)]
expand dollars in BINARY for service type 'simple'

8 years agodon't free -- expand_dollar does realloc
Florian Dold [Tue, 26 Apr 2016 17:44:35 +0000 (17:44 +0000)]
don't free -- expand_dollar does realloc

8 years agoUse dollar expansion helper instead of custom code
Florian Dold [Mon, 25 Apr 2016 23:32:22 +0000 (23:32 +0000)]
Use dollar expansion helper instead of custom code

8 years agoRemove format string abuse with sane code.
Florian Dold [Mon, 25 Apr 2016 23:22:22 +0000 (23:22 +0000)]
Remove format string abuse with sane code.

With the old code, parts of the config file were interpreted as format string,
always a bad idea ...

8 years agoremove dead/ugly code
Christian Grothoff [Mon, 25 Apr 2016 22:28:16 +0000 (22:28 +0000)]
remove dead/ugly code

8 years agoremove dead/ugly code
Christian Grothoff [Mon, 25 Apr 2016 22:28:06 +0000 (22:28 +0000)]
remove dead/ugly code

8 years agoremoving dead code
Christian Grothoff [Mon, 25 Apr 2016 22:27:52 +0000 (22:27 +0000)]
removing dead code

8 years agoRevert 37060
Florian Dold [Fri, 22 Apr 2016 14:26:17 +0000 (14:26 +0000)]
Revert 37060

Filename expansion in GNUnet apparently also resolves paths
relative to the CWD, which broke everything.

8 years agoMissing change in include file.
Florian Dold [Fri, 22 Apr 2016 13:57:06 +0000 (13:57 +0000)]
Missing change in include file.

8 years agoAllow GNUNET_BASE_CONFIG to be customized.
Florian Dold [Fri, 22 Apr 2016 13:55:52 +0000 (13:55 +0000)]
Allow GNUNET_BASE_CONFIG to be customized.

Needed for GNU Taler.

8 years agoAllow expansion of [arm]BINARY.
Florian Dold [Fri, 22 Apr 2016 13:30:20 +0000 (13:30 +0000)]
Allow expansion of [arm]BINARY.

This is needed in GNU Taler.

8 years agoDo not include platform.h in headers from include/
Florian Dold [Tue, 19 Apr 2016 11:50:49 +0000 (11:50 +0000)]
Do not include platform.h in headers from include/

8 years agoOutput error if both gnurl and curl are missing
Florian Dold [Tue, 19 Apr 2016 11:25:51 +0000 (11:25 +0000)]
Output error if both gnurl and curl are missing

8 years agocurl_lib: fix gnunet_util_lib.h include path
Daniel Golle [Mon, 18 Apr 2016 15:06:30 +0000 (15:06 +0000)]
curl_lib: fix gnunet_util_lib.h include path

8 years agocurl_lib: fix building with gnurl/curl.h
Daniel Golle [Mon, 18 Apr 2016 14:39:35 +0000 (14:39 +0000)]
curl_lib: fix building with gnurl/curl.h

8 years agocurl: fix building with gnurl/curl.h
Daniel Golle [Mon, 18 Apr 2016 14:28:26 +0000 (14:28 +0000)]
curl: fix building with gnurl/curl.h

8 years agoexit: update comment for changed helper parameter
Daniel Golle [Mon, 18 Apr 2016 12:18:30 +0000 (12:18 +0000)]
exit: update comment for changed helper parameter

8 years agoexit: fully skip routing setup if no interface is specified
Daniel Golle [Mon, 18 Apr 2016 12:08:41 +0000 (12:08 +0000)]
exit: fully skip routing setup if no interface is specified

8 years agodns: add support for skipping the routing setup
Daniel Golle [Mon, 18 Apr 2016 12:08:38 +0000 (12:08 +0000)]
dns: add support for skipping the routing setup

8 years ago-use const and free json where it was allocated
Christian Grothoff [Sun, 17 Apr 2016 15:17:28 +0000 (15:17 +0000)]
-use const and free json where it was allocated

8 years agoadding libgnunetcurl
Christian Grothoff [Sun, 17 Apr 2016 15:09:23 +0000 (15:09 +0000)]
adding libgnunetcurl

8 years agofix ftbfs
Christian Grothoff [Sat, 16 Apr 2016 12:04:17 +0000 (12:04 +0000)]
fix ftbfs

8 years agosupport overriding GNUNET_DEFAULT_USER_CONFIG_FILE
Christian Grothoff [Sat, 16 Apr 2016 11:10:55 +0000 (11:10 +0000)]
support overriding GNUNET_DEFAULT_USER_CONFIG_FILE

8 years agoadd option to set configuration file to be used by default by libgnunetutil routines
Christian Grothoff [Fri, 15 Apr 2016 17:42:28 +0000 (17:42 +0000)]
add option to set configuration file to be used by default by libgnunetutil routines

8 years ago-re-running pogen
Christian Grothoff [Sun, 10 Apr 2016 09:25:18 +0000 (09:25 +0000)]
-re-running pogen

8 years ago-fix indent
Christian Grothoff [Sat, 9 Apr 2016 23:15:47 +0000 (23:15 +0000)]
-fix indent

8 years agosmall API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to...
Christian Grothoff [Sat, 9 Apr 2016 23:14:03 +0000 (23:14 +0000)]
small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context()

8 years agofix ftbfs
Christian Grothoff [Sat, 9 Apr 2016 21:24:50 +0000 (21:24 +0000)]
fix ftbfs

8 years agokilling untested, unmaintained, unused sensor/sensordashboard code
Christian Grothoff [Sat, 9 Apr 2016 19:39:17 +0000 (19:39 +0000)]
killing untested, unmaintained, unused sensor/sensordashboard code

8 years agoadd copyright headers, fix includes
Christian Grothoff [Sat, 9 Apr 2016 12:08:40 +0000 (12:08 +0000)]
add copyright headers, fix includes

8 years agorps: add test for gnunet-service-rps_peers
Julius Bünger [Fri, 8 Apr 2016 18:27:52 +0000 (18:27 +0000)]
rps: add test for gnunet-service-rps_peers

8 years ago-rps: add parentheses in macros
Julius Bünger [Fri, 8 Apr 2016 18:27:48 +0000 (18:27 +0000)]
-rps: add parentheses in macros

8 years ago-rps: restructure gnunet-service-rps_peers
Julius Bünger [Fri, 8 Apr 2016 18:27:44 +0000 (18:27 +0000)]
-rps: restructure gnunet-service-rps_peers

8 years ago-rps: doxygen
Julius Bünger [Fri, 8 Apr 2016 18:27:38 +0000 (18:27 +0000)]
-rps: doxygen

8 years agofixfix
Christian Grothoff [Fri, 8 Apr 2016 11:08:02 +0000 (11:08 +0000)]
fixfix

8 years agofix NPE
Christian Grothoff [Thu, 7 Apr 2016 22:28:46 +0000 (22:28 +0000)]
fix NPE

8 years ago-fix resolver logic bug
Christian Grothoff [Thu, 7 Apr 2016 21:43:11 +0000 (21:43 +0000)]
-fix resolver logic bug

8 years agoexpand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for --help
Christian Grothoff [Thu, 7 Apr 2016 20:55:12 +0000 (20:55 +0000)]
expand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for --help

8 years agoexpand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for --help
Christian Grothoff [Thu, 7 Apr 2016 20:54:53 +0000 (20:54 +0000)]
expand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for --help

8 years ago-fix leak
Christian Grothoff [Mon, 4 Apr 2016 15:34:48 +0000 (15:34 +0000)]
-fix leak

8 years agosimplify PQ API by removing NULL as a possible acceptable value
Christian Grothoff [Mon, 4 Apr 2016 15:28:43 +0000 (15:28 +0000)]
simplify PQ API by removing NULL as a possible acceptable value

8 years ago-fix indent
Christian Grothoff [Mon, 4 Apr 2016 15:06:40 +0000 (15:06 +0000)]
-fix indent

8 years agoactually add new source...
Christian Grothoff [Mon, 4 Apr 2016 12:05:15 +0000 (12:05 +0000)]
actually add new source...

8 years agoadd logic to parse JSON uploads
Christian Grothoff [Mon, 4 Apr 2016 12:02:59 +0000 (12:02 +0000)]
add logic to parse JSON uploads

8 years agoadd function for string parameters
Christian Grothoff [Sun, 3 Apr 2016 19:35:52 +0000 (19:35 +0000)]
add function for string parameters

8 years ago-null out ptrs on init
Christian Grothoff [Fri, 1 Apr 2016 14:10:23 +0000 (14:10 +0000)]
-null out ptrs on init

8 years agoextend GNUNET_OS-API to allow re-use of os_installation logic for programs with diffe...
Christian Grothoff [Thu, 31 Mar 2016 18:52:13 +0000 (18:52 +0000)]
extend GNUNET_OS-API to allow re-use of os_installation logic for programs with different libs, paths, binaries and environment variables

8 years ago- ignores
Bart Polot [Wed, 30 Mar 2016 10:43:25 +0000 (10:43 +0000)]
- ignores

8 years ago- make autoreconf happy by defining BUILD_EXPERIMENTAL_HELPERS (always to false,...
Bart Polot [Wed, 30 Mar 2016 10:28:08 +0000 (10:28 +0000)]
- make autoreconf happy by defining BUILD_EXPERIMENTAL_HELPERS (always to false, since it's the same as GST anyway)

8 years ago- free queued messages on peer destroy, fix #4001
Bart Polot [Wed, 30 Mar 2016 09:17:58 +0000 (09:17 +0000)]
- free queued messages on peer destroy, fix #4001

8 years ago- fix condition on connection timeout
Bart Polot [Wed, 30 Mar 2016 09:17:57 +0000 (09:17 +0000)]
- fix condition on connection timeout

8 years ago- check return value on send_broken_unknown
Bart Polot [Wed, 30 Mar 2016 09:17:56 +0000 (09:17 +0000)]
- check return value on send_broken_unknown

8 years ago- refactor, test orderd
Bart Polot [Wed, 30 Mar 2016 09:17:55 +0000 (09:17 +0000)]
- refactor, test orderd

8 years ago- use proper setter method
Bart Polot [Wed, 30 Mar 2016 09:17:54 +0000 (09:17 +0000)]
- use proper setter method

8 years ago- doxygen
Bart Polot [Wed, 30 Mar 2016 09:17:52 +0000 (09:17 +0000)]
- doxygen

8 years ago- refactor connection destroy handling, fix #4020
Bart Polot [Wed, 30 Mar 2016 09:17:51 +0000 (09:17 +0000)]
- refactor connection destroy handling, fix #4020

8 years ago- doxygen
Bart Polot [Wed, 30 Mar 2016 09:17:50 +0000 (09:17 +0000)]
- doxygen

8 years ago- indent, clarify messages
Bart Polot [Wed, 30 Mar 2016 09:17:49 +0000 (09:17 +0000)]
- indent, clarify messages

8 years ago- typo, comparison order
Bart Polot [Wed, 30 Mar 2016 09:17:47 +0000 (09:17 +0000)]
- typo, comparison order

8 years agobe more lenient in the set api
Florian Dold [Tue, 29 Mar 2016 12:09:17 +0000 (12:09 +0000)]
be more lenient in the set api

8 years agoexperimental gstreamer audiobackend (not working)
hark [Fri, 25 Mar 2016 03:33:09 +0000 (03:33 +0000)]
experimental gstreamer audiobackend (not working)

8 years agoFix cut & paste error
Jeff Burdges [Mon, 21 Mar 2016 15:16:38 +0000 (15:16 +0000)]
Fix cut & paste error

8 years agoCopyright years
Jeff Burdges [Mon, 21 Mar 2016 14:57:49 +0000 (14:57 +0000)]
Copyright years

8 years agoAuthors, (C), and C++ comments
Jeff Burdges [Mon, 21 Mar 2016 14:40:06 +0000 (14:40 +0000)]
Authors, (C), and C++ comments

8 years agoClarify a few paramaters and names
Jeff Burdges [Mon, 21 Mar 2016 14:29:11 +0000 (14:29 +0000)]
Clarify a few paramaters and names

8 years agoAvoid exporting mpi_print helper function
Jeff Burdges [Mon, 21 Mar 2016 14:07:29 +0000 (14:07 +0000)]
Avoid exporting mpi_print helper function

I still need to check on the importance of unsigned variant
of this function

8 years agoRelease outside of helper function
Jeff Burdges [Mon, 21 Mar 2016 14:06:01 +0000 (14:06 +0000)]
Release outside of helper function

8 years agoFix paramater description
Jeff Burdges [Mon, 21 Mar 2016 14:04:23 +0000 (14:04 +0000)]
Fix paramater description

8 years agoUpdated global symbols for FDH
Jeff Burdges [Mon, 21 Mar 2016 14:01:36 +0000 (14:01 +0000)]
Updated global symbols for FDH

8 years agofixing symbol naming and coding convention issues
Christian Grothoff [Mon, 21 Mar 2016 13:41:12 +0000 (13:41 +0000)]
fixing symbol naming and coding convention issues

8 years agoImplement a Full Domain Hash (FDH) for RSA signatures and blind signatures
Jeff Burdges [Sun, 20 Mar 2016 14:44:36 +0000 (14:44 +0000)]
Implement a Full Domain Hash (FDH) for RSA signatures and blind signatures

This gives a measure of provable security to the Taler exchange/mint
against hypothetical one-more forgery attacks.  See:
  https://eprint.iacr.org/2001/002.pdf
  http://www.di.ens.fr/~pointche/Documents/Papers/2001_fcA.pdf

We seed the FDH with the denomination keys as as a homage to RSA-PSS.
This may slightly improves the exchanges's resistance to a violation
of RSA-KTI and against insiders who can influence the choice of RSA
keys but cannot actually exfiltrate them.

Adopting FDH fixes a bug when using 512 bit RSA keys as well.

8 years ago-reindent
Christian Grothoff [Sat, 19 Mar 2016 14:22:08 +0000 (14:22 +0000)]
-reindent

8 years agognunet_json_lib: include local instead of installed gnunet_util_lib.h
Daniel Golle [Fri, 18 Mar 2016 15:03:25 +0000 (15:03 +0000)]
gnunet_json_lib: include local instead of installed gnunet_util_lib.h

fixes build issues on systems without gnunet already installed.

8 years agoidentity-provider: install into lib instead of plugins
Daniel Golle [Fri, 18 Mar 2016 15:03:17 +0000 (15:03 +0000)]
identity-provider: install into lib instead of plugins

8 years ago-fix build issues
Christian Grothoff [Thu, 17 Mar 2016 19:32:28 +0000 (19:32 +0000)]
-fix build issues

8 years agoadding library for basic JSON conversions
Christian Grothoff [Thu, 17 Mar 2016 19:24:35 +0000 (19:24 +0000)]
adding library for basic JSON conversions

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