Christian Grothoff [Tue, 18 Aug 2015 17:51:07 +0000 (17:51 +0000)]
adding some assertions to ensure we only start one gnunet-publish
Julien Morvan [Mon, 17 Aug 2015 10:05:31 +0000 (10:05 +0000)]
Julien Morvan [Mon, 17 Aug 2015 09:23:39 +0000 (09:23 +0000)]
David Barksdale [Mon, 17 Aug 2015 02:55:38 +0000 (02:55 +0000)]
The empty path is invalid
If GNUNET_DISK_directory_create_for_file() is called with a
path like "/foo" then we will pass the empty path to
GNUNET_DISK_directory_create() and access(). The latter will
always return ENOENT.
Bruno Cabral [Mon, 17 Aug 2015 01:59:44 +0000 (01:59 +0000)]
Fix #3918
Martin Schanzenbach [Tue, 11 Aug 2015 16:37:13 +0000 (16:37 +0000)]
-fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:36:42 +0000 (16:36 +0000)]
-fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:35:45 +0000 (16:35 +0000)]
- fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:35:35 +0000 (16:35 +0000)]
- fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:31:53 +0000 (16:31 +0000)]
-fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:31:44 +0000 (16:31 +0000)]
-add flat namecache
David Barksdale [Tue, 11 Aug 2015 15:51:08 +0000 (15:51 +0000)]
This probably fixes #3944
Martin Schanzenbach [Tue, 11 Aug 2015 14:41:03 +0000 (14:41 +0000)]
- flat namestore plugin (experimental)
Christian Grothoff [Thu, 6 Aug 2015 15:38:45 +0000 (15:38 +0000)]
-indent
Christian Grothoff [Thu, 6 Aug 2015 15:37:36 +0000 (15:37 +0000)]
-more correct logic
Christian Grothoff [Thu, 6 Aug 2015 15:32:37 +0000 (15:32 +0000)]
-fix leak
Julien Morvan [Thu, 6 Aug 2015 12:41:06 +0000 (12:41 +0000)]
.unix change to .sock
Christian Grothoff [Wed, 5 Aug 2015 23:00:10 +0000 (23:00 +0000)]
mesh is long dead
Jeff Burdges [Wed, 5 Aug 2015 22:34:54 +0000 (22:34 +0000)]
Make SOCKS test conditional on an SSH binary
Julius Bünger [Wed, 5 Aug 2015 21:47:36 +0000 (21:47 +0000)]
-keep track of messages passed to mq
Julius Bünger [Wed, 5 Aug 2015 21:47:34 +0000 (21:47 +0000)]
-rename and fix char pointer
Julius Bünger [Wed, 5 Aug 2015 17:46:18 +0000 (17:46 +0000)]
-logging messages: going to send, sent, received
Sree Harsha Totakura [Tue, 4 Aug 2015 15:26:55 +0000 (15:26 +0000)]
-fix #3722
Bart Polot [Tue, 4 Aug 2015 14:00:31 +0000 (14:00 +0000)]
- resolve duplicate connection handling
Bart Polot [Tue, 4 Aug 2015 14:00:30 +0000 (14:00 +0000)]
- log
Bart Polot [Tue, 4 Aug 2015 14:00:29 +0000 (14:00 +0000)]
- log
Bart Polot [Tue, 4 Aug 2015 14:00:28 +0000 (14:00 +0000)]
- cancel pending AX_KX when forced to send a KX by peer, fix #3927
Bart Polot [Tue, 4 Aug 2015 14:00:27 +0000 (14:00 +0000)]
- more descriptive tunnel statuses
Julius Bünger [Tue, 4 Aug 2015 12:34:37 +0000 (12:34 +0000)]
-fix (create peermap), logging
Julius Bünger [Tue, 4 Aug 2015 10:42:57 +0000 (10:42 +0000)]
-test seeding many peers
Julius Bünger [Mon, 3 Aug 2015 20:45:26 +0000 (20:45 +0000)]
-mark ops as done + don't start connect all clients
Julius Bünger [Mon, 3 Aug 2015 20:45:24 +0000 (20:45 +0000)]
-renaming
Julius Bünger [Mon, 3 Aug 2015 20:45:22 +0000 (20:45 +0000)]
-use hashmap instead of array
Jeff Burdges [Mon, 3 Aug 2015 17:07:38 +0000 (17:07 +0000)]
Fix the SOCKS proxy test and activate it.
Jeff Burdges [Mon, 3 Aug 2015 16:45:43 +0000 (16:45 +0000)]
Add socks lines to the makefile, but do not yet activate
Jeff Burdges [Mon, 3 Aug 2015 16:44:18 +0000 (16:44 +0000)]
Woot! It might actually work now, although I should tweak the test
a bit to make sure.
Sree Harsha Totakura [Mon, 3 Aug 2015 15:49:30 +0000 (15:49 +0000)]
- set the connection handle to NULL upon disconnecting
Sree Harsha Totakura [Mon, 3 Aug 2015 15:39:05 +0000 (15:39 +0000)]
- check for uint32 value overflow
Julius Bünger [Mon, 3 Aug 2015 14:30:15 +0000 (14:30 +0000)]
-fix malicious peer
Julius Bünger [Mon, 3 Aug 2015 12:06:34 +0000 (12:06 +0000)]
-logging and fix
Christian Grothoff [Mon, 3 Aug 2015 11:34:36 +0000 (11:34 +0000)]
-improve indentation, reduce duplication of PIDs in core's neighbour map
Christian Grothoff [Mon, 3 Aug 2015 11:14:51 +0000 (11:14 +0000)]
-log more details about failing addr
Christian Grothoff [Mon, 3 Aug 2015 11:13:42 +0000 (11:13 +0000)]
-report id of peer that is missbehaving
Christian Grothoff [Mon, 3 Aug 2015 10:44:37 +0000 (10:44 +0000)]
extend datastore performance tests to cover scenario described in #3903 -- but no issue discovered
Christian Grothoff [Mon, 3 Aug 2015 10:29:09 +0000 (10:29 +0000)]
-reduce autostarting for tests, reduce timeouts
Christian Grothoff [Mon, 3 Aug 2015 09:49:57 +0000 (09:49 +0000)]
-ignore
Christian Grothoff [Mon, 3 Aug 2015 09:48:29 +0000 (09:48 +0000)]
-agreed
Christian Grothoff [Mon, 3 Aug 2015 09:45:31 +0000 (09:45 +0000)]
-bump year
Christian Grothoff [Mon, 3 Aug 2015 09:44:26 +0000 (09:44 +0000)]
eliminate dead GNUNET_SCHEDULER_add_continuation, rename GNUNET_SCHEDULER_add_continuation_with_priority to GNUNET_SCHEDULER_add_with_reason_and_priority for consistency
Christian Grothoff [Mon, 3 Aug 2015 09:35:48 +0000 (09:35 +0000)]
-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:30:12 +0000 (09:30 +0000)]
-fix indentation
Christian Grothoff [Mon, 3 Aug 2015 09:29:49 +0000 (09:29 +0000)]
-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:29:08 +0000 (09:29 +0000)]
-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:27:15 +0000 (09:27 +0000)]
-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:26:30 +0000 (09:26 +0000)]
-remove log
Christian Grothoff [Mon, 3 Aug 2015 09:06:44 +0000 (09:06 +0000)]
-cleaning up test logic, modernizing calls, improving test documentation
Christian Grothoff [Mon, 3 Aug 2015 08:25:37 +0000 (08:25 +0000)]
fix #3904, also simplify and clean up gnunet-publish shutdown logic in general
Jeff Burdges [Mon, 3 Aug 2015 08:18:52 +0000 (08:18 +0000)]
Add test code, but it's still segfaulting.
Jeff Burdges [Sun, 2 Aug 2015 20:50:17 +0000 (20:50 +0000)]
Fixed one serious bug, working on another. Still very broken.
Jeff Burdges [Sun, 2 Aug 2015 20:49:28 +0000 (20:49 +0000)]
This appears to be dead code. I'm not really sure however!
Can someone please tell me if this would break any testing situation
and/or revert it?
Julius Bünger [Sun, 2 Aug 2015 17:48:51 +0000 (17:48 +0000)]
-fixes
Julius Bünger [Sun, 2 Aug 2015 14:48:32 +0000 (14:48 +0000)]
-improved testing
Julius Bünger [Sun, 2 Aug 2015 14:48:30 +0000 (14:48 +0000)]
-improved management of peer information
Julius Bünger [Sun, 2 Aug 2015 14:48:28 +0000 (14:48 +0000)]
cancellation of request and according test improvements
Julien Morvan [Fri, 31 Jul 2015 13:53:26 +0000 (13:53 +0000)]
Jeff Burdges [Fri, 31 Jul 2015 12:22:34 +0000 (12:22 +0000)]
Build socks.c and call it from client.c
It still won't work yet, now debugging.
Jeff Burdges [Fri, 31 Jul 2015 12:20:36 +0000 (12:20 +0000)]
Initial SOCKS5 proxy code. This will not yet work properly.
Jeff Burdges [Fri, 31 Jul 2015 12:19:05 +0000 (12:19 +0000)]
Export proxy methods
Jeff Burdges [Fri, 31 Jul 2015 12:17:39 +0000 (12:17 +0000)]
New to notify that we're done with the handshake
Sree Harsha Totakura [Fri, 31 Jul 2015 11:22:12 +0000 (11:22 +0000)]
disable socket inheritance from ARM for the testcases
Sree Harsha Totakura [Fri, 31 Jul 2015 11:20:05 +0000 (11:20 +0000)]
stop asking for random peers if we are shutting down
Sree Harsha Totakura [Fri, 31 Jul 2015 11:18:36 +0000 (11:18 +0000)]
reconnect upon broken server connection
Sree Harsha Totakura [Fri, 31 Jul 2015 11:18:03 +0000 (11:18 +0000)]
fixes
Bart Polot [Fri, 31 Jul 2015 06:58:58 +0000 (06:58 +0000)]
- only change from uninitialized to sent, to avoid having the tunnel as not ready on re-key
Bart Polot [Fri, 31 Jul 2015 06:58:57 +0000 (06:58 +0000)]
- remove unnecesary include
Bart Polot [Fri, 31 Jul 2015 06:58:56 +0000 (06:58 +0000)]
- fix CLI netcat
Bart Polot [Fri, 31 Jul 2015 06:58:55 +0000 (06:58 +0000)]
- refactor GCP_get_peer, fix get peer info
Bart Polot [Fri, 31 Jul 2015 06:58:54 +0000 (06:58 +0000)]
- warn about leftover CHANNEL_DESTROY in tunnel, do not break (connectivity error, not implementation)
Bart Polot [Fri, 31 Jul 2015 06:58:53 +0000 (06:58 +0000)]
- fix uninitialized mem
Bart Polot [Fri, 31 Jul 2015 06:58:52 +0000 (06:58 +0000)]
- ignore AX KX when we already know the peer's key, not when the state is KEY_OK. This allows the peer to issue a re-key.
Bart Polot [Fri, 31 Jul 2015 06:58:50 +0000 (06:58 +0000)]
- remove hello logging
Julius Bünger [Wed, 29 Jul 2015 13:19:30 +0000 (13:19 +0000)]
-fix push receive
Julius Bünger [Wed, 29 Jul 2015 12:26:14 +0000 (12:26 +0000)]
-fixes and improvements
Julius Bünger [Wed, 29 Jul 2015 11:28:17 +0000 (11:28 +0000)]
-fixes
Julius Bünger [Wed, 29 Jul 2015 11:28:16 +0000 (11:28 +0000)]
-stop passing static peermap
Sree Harsha Totakura [Tue, 28 Jul 2015 15:29:19 +0000 (15:29 +0000)]
more assertions
Julien Morvan [Tue, 28 Jul 2015 15:04:15 +0000 (15:04 +0000)]
Add AppArmor abstractions(gnunet-common, gnunet-libaudio)
Julien Morvan [Tue, 28 Jul 2015 14:56:33 +0000 (14:56 +0000)]
Add AppArmor profiles
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