Jeff Burdges [Tue, 28 Jul 2015 14:50:10 +0000 (14:50 +0000)]
Add support for building connection proxies.
It should not have any effect on existing code, and pass any tests that
would pass normally, but if it does break anyhting then contact me ASAP.
Sree Harsha Totakura [Tue, 28 Jul 2015 14:11:17 +0000 (14:11 +0000)]
code cleanup
David Barksdale [Mon, 27 Jul 2015 21:27:00 +0000 (21:27 +0000)]
Fix segfault in handle_core_disconnect
The handle_revocation_union_request code for creating a PeerEntry
was not creating the MQ. Moved the duplicated code to it's own function
and also created one for delete.
Since the MQ was not created we get a segfault trying to destroy it
in handle_core_disconnect.
David Barksdale [Mon, 27 Jul 2015 20:44:56 +0000 (20:44 +0000)]
Match struct IPv4/6TcpAddress with UDP versions
I noticed that struct IPv4TcpAddress had two extra bytes in HELLOs
generated on my machine. This change removes those extra bytes.
Jeff Burdges [Mon, 27 Jul 2015 13:50:14 +0000 (13:50 +0000)]
Statment added in r36048 terminated by a . instead of a ;
Actually make check still fails on test_peerstore_api_sync but
at least it builds now.
Christian Grothoff [Mon, 27 Jul 2015 12:41:57 +0000 (12:41 +0000)]
-do not run test without sqlite
Christian Grothoff [Mon, 27 Jul 2015 12:40:59 +0000 (12:40 +0000)]
-doxygen, indentation
Jeff Burdges [Mon, 27 Jul 2015 09:17:19 +0000 (09:17 +0000)]
Patch from Daniel Golle <daniel@makrotopia.org> on Sun 26 Jul 2015:
r36102 moved psyc_util_lib.c from src/psyc to src/psycstore
Reflect that change in po/POTFILES.in and in psyc_util_lib.c
Bruno Cabral [Fri, 24 Jul 2015 23:20:22 +0000 (23:20 +0000)]
Disable Stun
Julius Bünger [Fri, 24 Jul 2015 10:17:51 +0000 (10:17 +0000)]
-fixed assertion
Julius Bünger [Fri, 24 Jul 2015 09:49:14 +0000 (09:49 +0000)]
-fixed emptiness check
Julius Bünger [Fri, 24 Jul 2015 09:39:40 +0000 (09:39 +0000)]
-logging
Julius Bünger [Thu, 23 Jul 2015 18:23:39 +0000 (18:23 +0000)]
get indices for evaluation with diehard
Julius Bünger [Thu, 23 Jul 2015 18:21:52 +0000 (18:21 +0000)]
-fixed cadet usage
Julius Bünger [Thu, 23 Jul 2015 18:21:51 +0000 (18:21 +0000)]
-keep peers malicious
Julius Bünger [Thu, 23 Jul 2015 18:21:49 +0000 (18:21 +0000)]
get perfect sample of each sampler element
Julius Bünger [Thu, 23 Jul 2015 18:21:45 +0000 (18:21 +0000)]
-split up sampler and sampler element
David Barksdale [Wed, 22 Jul 2015 17:02:15 +0000 (17:02 +0000)]
TUN_IFNAME is the tunnel interface, not EXIT_IFNAME
Julius Bünger [Wed, 22 Jul 2015 09:37:35 +0000 (09:37 +0000)]
-removed unnecessary complex code
Julius Bünger [Wed, 22 Jul 2015 09:37:33 +0000 (09:37 +0000)]
-fixed early destruction of channel
Julius Bünger [Wed, 22 Jul 2015 09:37:31 +0000 (09:37 +0000)]
-fixed indexing
Julius Bünger [Wed, 22 Jul 2015 09:37:29 +0000 (09:37 +0000)]
-prevent harmless warning
Julius Bünger [Wed, 22 Jul 2015 09:37:27 +0000 (09:37 +0000)]
-logging
Julius Bünger [Wed, 22 Jul 2015 09:37:26 +0000 (09:37 +0000)]
-cleaned resizing of sampler
Julius Bünger [Wed, 22 Jul 2015 09:37:24 +0000 (09:37 +0000)]
-fixed duplicate ntfy_tmt_rdy
Julius Bünger [Wed, 22 Jul 2015 09:37:22 +0000 (09:37 +0000)]
-fixed inline docu
Julius Bünger [Wed, 22 Jul 2015 09:37:20 +0000 (09:37 +0000)]
-removed unneeded peermap_put
Julius Bünger [Wed, 22 Jul 2015 09:37:18 +0000 (09:37 +0000)]
-fixed wrong check
Julius Bünger [Wed, 22 Jul 2015 09:37:16 +0000 (09:37 +0000)]
log missing config
Bart Polot [Wed, 22 Jul 2015 03:11:43 +0000 (03:11 +0000)]
- log
Bart Polot [Mon, 20 Jul 2015 16:41:48 +0000 (16:41 +0000)]
- cancel retry task if all pending messages are freed by bitfield ACK
Bart Polot [Mon, 20 Jul 2015 16:41:47 +0000 (16:41 +0000)]
- code formatting, logging
David Barksdale [Sun, 19 Jul 2015 15:35:07 +0000 (15:35 +0000)]
Remove this GNUNET_htonl_signed nonsense
David Barksdale [Sun, 19 Jul 2015 15:33:15 +0000 (15:33 +0000)]
Move libgnunetpsycutil.la to psycstore
This solves a circular dependency between psyc and psycstore.
Bruno Cabral [Sat, 18 Jul 2015 19:15:51 +0000 (19:15 +0000)]
Get STUN to work with UDP plugin
Christian Grothoff [Sat, 18 Jul 2015 13:40:19 +0000 (13:40 +0000)]
work around bogus cc warning -- for some C compilers...
Christian Grothoff [Sat, 18 Jul 2015 13:39:41 +0000 (13:39 +0000)]
minor modifications to reduce warnings
Christian Grothoff [Sat, 18 Jul 2015 13:33:10 +0000 (13:33 +0000)]
-adding missing 'const' decls, fixing indentation / doxygen a bit
Gabor X Toth [Sat, 18 Jul 2015 00:03:06 +0000 (00:03 +0000)]
psyc/store: apply state modifiers
Gabor X Toth [Sat, 18 Jul 2015 00:03:00 +0000 (00:03 +0000)]
psycstore: doc formatting
Christian Grothoff [Thu, 16 Jul 2015 10:06:55 +0000 (10:06 +0000)]
-do not use header of LE <1.0 by also checking that the binary version was acceptable
Christian Grothoff [Wed, 15 Jul 2015 17:40:48 +0000 (17:40 +0000)]
-remove stupid assertion
Christian Grothoff [Wed, 15 Jul 2015 13:17:09 +0000 (13:17 +0000)]
-downgrade version requirement further
Christian Grothoff [Wed, 15 Jul 2015 12:49:07 +0000 (12:49 +0000)]
-fix
David Barksdale [Wed, 15 Jul 2015 12:32:49 +0000 (12:32 +0000)]
fix gnurl comparison
Christian Grothoff [Wed, 15 Jul 2015 11:45:50 +0000 (11:45 +0000)]
-need to fully unregister from neighbours, as otherwise assertion fails if identical connection is added
Bart Polot [Wed, 15 Jul 2015 11:45:16 +0000 (11:45 +0000)]
- better log
Bart Polot [Wed, 15 Jul 2015 11:45:16 +0000 (11:45 +0000)]
- log warning
Bart Polot [Wed, 15 Jul 2015 11:45:15 +0000 (11:45 +0000)]
Detailed statistics
Bart Polot [Wed, 15 Jul 2015 11:45:14 +0000 (11:45 +0000)]
- debug info
Bart Polot [Wed, 15 Jul 2015 11:45:14 +0000 (11:45 +0000)]
- doc
Bart Polot [Wed, 15 Jul 2015 11:45:13 +0000 (11:45 +0000)]
- send payload on AX key receive
Bart Polot [Wed, 15 Jul 2015 11:45:12 +0000 (11:45 +0000)]
- let one keepalive be queued at shutdown
Bart Polot [Wed, 15 Jul 2015 11:45:11 +0000 (11:45 +0000)]
- don't send KEEPALIVE if the tunnel has traffic queued
Bart Polot [Wed, 15 Jul 2015 11:45:11 +0000 (11:45 +0000)]
- fix end of kx condition to reception of valid payload only
Bart Polot [Wed, 15 Jul 2015 11:45:10 +0000 (11:45 +0000)]
- improved logging of payload traffic
Christian Grothoff [Tue, 14 Jul 2015 23:49:34 +0000 (23:49 +0000)]
-fix ARM binding
Christian Grothoff [Tue, 14 Jul 2015 23:43:44 +0000 (23:43 +0000)]
-fix gnurl/curl detection warning
Christian Grothoff [Tue, 14 Jul 2015 23:34:21 +0000 (23:34 +0000)]
this should fix #3846
Christian Grothoff [Tue, 14 Jul 2015 21:56:33 +0000 (21:56 +0000)]
committing version used to produce 3846:9432
Christian Grothoff [Mon, 13 Jul 2015 20:23:53 +0000 (20:23 +0000)]
adding moderately expensive instrumentation to track down invariant violation #3846 in CADET
Christian Grothoff [Mon, 13 Jul 2015 14:58:08 +0000 (14:58 +0000)]
-no binding for daemons
Christian Grothoff [Mon, 13 Jul 2015 14:56:18 +0000 (14:56 +0000)]
-no binding for daemons
Christian Grothoff [Mon, 13 Jul 2015 14:53:30 +0000 (14:53 +0000)]
automatically clean up left-over Unix domain socket files when trying to bind (fixes #3723)
Christian Grothoff [Mon, 13 Jul 2015 13:57:47 +0000 (13:57 +0000)]
raise low limits, as they were they are bound to cause problems with reverse-proxy setups
Christian Grothoff [Mon, 13 Jul 2015 12:11:25 +0000 (12:11 +0000)]
-indentation fixes
Martin Schanzenbach [Fri, 10 Jul 2015 16:17:30 +0000 (16:17 +0000)]
- Identity token support
Christian Grothoff [Wed, 8 Jul 2015 20:48:24 +0000 (20:48 +0000)]
DEFAULTSERVICES is dead, remove remains
Christian Grothoff [Wed, 8 Jul 2015 06:28:50 +0000 (06:28 +0000)]
-fix -h string
Christian Grothoff [Tue, 7 Jul 2015 21:45:31 +0000 (21:45 +0000)]
slightly nicer ifname cmp
Christian Grothoff [Tue, 7 Jul 2015 21:41:29 +0000 (21:41 +0000)]
do not add our virtual interfaces to our HELLO
Christian Grothoff [Tue, 7 Jul 2015 21:04:17 +0000 (21:04 +0000)]
-change default port, as 53 won't work without root anyway
Christian Grothoff [Mon, 6 Jul 2015 14:22:51 +0000 (14:22 +0000)]
-fix non-deterministic peerstore sync failure
Christian Grothoff [Fri, 3 Jul 2015 09:35:27 +0000 (09:35 +0000)]
-style fixes
Christian Grothoff [Thu, 2 Jul 2015 19:58:35 +0000 (19:58 +0000)]
-adding ecc dlog support
Bruno Cabral [Wed, 1 Jul 2015 04:09:34 +0000 (04:09 +0000)]
Christian Grothoff [Tue, 30 Jun 2015 11:38:37 +0000 (11:38 +0000)]
fix #3869: outdated FSF address
Christian Grothoff [Tue, 30 Jun 2015 09:43:59 +0000 (09:43 +0000)]
patch from Nicolas Fournier to add some _dup and _cmp functions for RSA signatures and private keys
Bart Polot [Tue, 30 Jun 2015 09:43:08 +0000 (09:43 +0000)]
- use 32 byte cast
David Barksdale [Mon, 29 Jun 2015 16:07:15 +0000 (16:07 +0000)]
Check in the right place for libpq-fe.h
Martin Schanzenbach [Mon, 29 Jun 2015 15:56:29 +0000 (15:56 +0000)]
- clean up gns rest api
Martin Schanzenbach [Mon, 29 Jun 2015 14:49:40 +0000 (14:49 +0000)]
-fix
Martin Schanzenbach [Mon, 29 Jun 2015 14:49:09 +0000 (14:49 +0000)]
- give control over CORS methods to plugin
Martin Schanzenbach [Mon, 29 Jun 2015 14:33:38 +0000 (14:33 +0000)]
- add CORS logic
Christian Grothoff [Mon, 29 Jun 2015 08:11:26 +0000 (08:11 +0000)]
fix #3871
Christian Grothoff [Mon, 29 Jun 2015 08:00:26 +0000 (08:00 +0000)]
-fix #3870
Christian Grothoff [Sun, 28 Jun 2015 13:53:42 +0000 (13:53 +0000)]
fix #3693: if PA is NULL, ignore message, we must be in the wrong state
Christian Grothoff [Sun, 28 Jun 2015 13:22:52 +0000 (13:22 +0000)]
-build system fixes, gettexting
Christian Grothoff [Sun, 28 Jun 2015 13:10:27 +0000 (13:10 +0000)]
-fix indent
Christian Grothoff [Sun, 28 Jun 2015 13:05:52 +0000 (13:05 +0000)]
-fix indent
David Barksdale [Sat, 27 Jun 2015 23:21:04 +0000 (23:21 +0000)]
Change NPE into GNUNET_break (0)
See issue #3693
Christian Grothoff [Sat, 27 Jun 2015 19:50:10 +0000 (19:50 +0000)]
downgrade to gettext 0.18.3 for more sane availability
Christian Grothoff [Sat, 27 Jun 2015 19:45:14 +0000 (19:45 +0000)]
-add missing include, remove redundant includes
Christian Grothoff [Sat, 27 Jun 2015 19:43:59 +0000 (19:43 +0000)]
also check for existence of libpq-fe header
Christian Grothoff [Sat, 27 Jun 2015 19:19:23 +0000 (19:19 +0000)]
downgrade gettext requirement
Julius Bünger [Fri, 26 Jun 2015 16:57:21 +0000 (16:57 +0000)]
Julius Bünger [Fri, 26 Jun 2015 16:57:18 +0000 (16:57 +0000)]
-logging
Bart Polot [Fri, 26 Jun 2015 15:04:02 +0000 (15:04 +0000)]
- GNUNET_CADET_disconnect will destroy pending channels and call the cleanup callback on them, and cleanup_channel does access peer_map. If peer_map is destroyed before CADET_disconnect, a use-after-free happens.
Bart Polot [Fri, 26 Jun 2015 12:42:09 +0000 (12:42 +0000)]
- if a path is NULL is not equivalent to any other
Bart Polot [Fri, 26 Jun 2015 12:15:18 +0000 (12:15 +0000)]
- first log, then free