oweals/gnunet.git
8 years agoThe empty path is invalid
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.

8 years agoFix #3918
Bruno Cabral [Mon, 17 Aug 2015 01:59:44 +0000 (01:59 +0000)]
Fix #3918

8 years ago-fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:37:13 +0000 (16:37 +0000)]
-fix

8 years ago-fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:36:42 +0000 (16:36 +0000)]
-fix

8 years ago- fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:35:45 +0000 (16:35 +0000)]
- fix

8 years ago- fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:35:35 +0000 (16:35 +0000)]
- fix

8 years ago-fix
Martin Schanzenbach [Tue, 11 Aug 2015 16:31:53 +0000 (16:31 +0000)]
-fix

8 years ago-add flat namecache
Martin Schanzenbach [Tue, 11 Aug 2015 16:31:44 +0000 (16:31 +0000)]
-add flat namecache

8 years agoThis probably fixes #3944
David Barksdale [Tue, 11 Aug 2015 15:51:08 +0000 (15:51 +0000)]
This probably fixes #3944

8 years ago- flat namestore plugin (experimental)
Martin Schanzenbach [Tue, 11 Aug 2015 14:41:03 +0000 (14:41 +0000)]
- flat namestore plugin (experimental)

8 years ago-indent
Christian Grothoff [Thu, 6 Aug 2015 15:38:45 +0000 (15:38 +0000)]
-indent

8 years ago-more correct logic
Christian Grothoff [Thu, 6 Aug 2015 15:37:36 +0000 (15:37 +0000)]
-more correct logic

8 years ago-fix leak
Christian Grothoff [Thu, 6 Aug 2015 15:32:37 +0000 (15:32 +0000)]
-fix leak

8 years ago.unix change to .sock
Julien Morvan [Thu, 6 Aug 2015 12:41:06 +0000 (12:41 +0000)]
.unix change to .sock

8 years agomesh is long dead
Christian Grothoff [Wed, 5 Aug 2015 23:00:10 +0000 (23:00 +0000)]
mesh is long dead

8 years agoMake SOCKS test conditional on an SSH binary
Jeff Burdges [Wed, 5 Aug 2015 22:34:54 +0000 (22:34 +0000)]
Make SOCKS test conditional on an SSH binary

8 years ago-keep track of messages passed to mq
Julius Bünger [Wed, 5 Aug 2015 21:47:36 +0000 (21:47 +0000)]
-keep track of messages passed to mq

8 years ago-rename and fix char pointer
Julius Bünger [Wed, 5 Aug 2015 21:47:34 +0000 (21:47 +0000)]
-rename and fix char pointer

8 years ago-logging messages: going to send, sent, received
Julius Bünger [Wed, 5 Aug 2015 17:46:18 +0000 (17:46 +0000)]
-logging messages: going to send, sent, received

8 years ago-fix #3722
Sree Harsha Totakura [Tue, 4 Aug 2015 15:26:55 +0000 (15:26 +0000)]
-fix #3722

8 years ago- resolve duplicate connection handling
Bart Polot [Tue, 4 Aug 2015 14:00:31 +0000 (14:00 +0000)]
- resolve duplicate connection handling

8 years ago- log
Bart Polot [Tue, 4 Aug 2015 14:00:30 +0000 (14:00 +0000)]
- log

8 years ago- log
Bart Polot [Tue, 4 Aug 2015 14:00:29 +0000 (14:00 +0000)]
- log

8 years ago- cancel pending AX_KX when forced to send a KX by peer, fix #3927
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

8 years ago- more descriptive tunnel statuses
Bart Polot [Tue, 4 Aug 2015 14:00:27 +0000 (14:00 +0000)]
- more descriptive tunnel statuses

8 years ago-fix (create peermap), logging
Julius Bünger [Tue, 4 Aug 2015 12:34:37 +0000 (12:34 +0000)]
-fix (create peermap), logging

8 years ago-test seeding many peers
Julius Bünger [Tue, 4 Aug 2015 10:42:57 +0000 (10:42 +0000)]
-test seeding many peers

8 years ago-mark ops as done + don't start connect all clients
Julius Bünger [Mon, 3 Aug 2015 20:45:26 +0000 (20:45 +0000)]
-mark ops as done + don't start connect all clients

8 years ago-renaming
Julius Bünger [Mon, 3 Aug 2015 20:45:24 +0000 (20:45 +0000)]
-renaming

8 years ago-use hashmap instead of array
Julius Bünger [Mon, 3 Aug 2015 20:45:22 +0000 (20:45 +0000)]
-use hashmap instead of array

8 years agoFix the SOCKS proxy test and activate it.
Jeff Burdges [Mon, 3 Aug 2015 17:07:38 +0000 (17:07 +0000)]
Fix the SOCKS proxy test and activate it.

8 years agoAdd socks lines to the makefile, but do not yet activate
Jeff Burdges [Mon, 3 Aug 2015 16:45:43 +0000 (16:45 +0000)]
Add socks lines to the makefile, but do not yet activate

8 years agoWoot! It might actually work now, although I should tweak the test
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.

8 years ago- set the connection handle to NULL upon disconnecting
Sree Harsha Totakura [Mon, 3 Aug 2015 15:49:30 +0000 (15:49 +0000)]
- set the connection handle to NULL upon disconnecting

8 years ago- check for uint32 value overflow
Sree Harsha Totakura [Mon, 3 Aug 2015 15:39:05 +0000 (15:39 +0000)]
- check for uint32 value overflow

8 years ago-fix malicious peer
Julius Bünger [Mon, 3 Aug 2015 14:30:15 +0000 (14:30 +0000)]
-fix malicious peer

8 years ago-logging and fix
Julius Bünger [Mon, 3 Aug 2015 12:06:34 +0000 (12:06 +0000)]
-logging and fix

8 years ago-improve indentation, reduce duplication of PIDs in core's neighbour map
Christian Grothoff [Mon, 3 Aug 2015 11:34:36 +0000 (11:34 +0000)]
-improve indentation, reduce duplication of PIDs in core's neighbour map

8 years ago-log more details about failing addr
Christian Grothoff [Mon, 3 Aug 2015 11:14:51 +0000 (11:14 +0000)]
-log more details about failing addr

8 years ago-report id of peer that is missbehaving
Christian Grothoff [Mon, 3 Aug 2015 11:13:42 +0000 (11:13 +0000)]
-report id of peer that is missbehaving

8 years agoextend datastore performance tests to cover scenario described in #3903 -- but no...
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

8 years ago-reduce autostarting for tests, reduce timeouts
Christian Grothoff [Mon, 3 Aug 2015 10:29:09 +0000 (10:29 +0000)]
-reduce autostarting for tests, reduce timeouts

8 years ago-ignore
Christian Grothoff [Mon, 3 Aug 2015 09:49:57 +0000 (09:49 +0000)]
-ignore

8 years ago-agreed
Christian Grothoff [Mon, 3 Aug 2015 09:48:29 +0000 (09:48 +0000)]
-agreed

8 years ago-bump year
Christian Grothoff [Mon, 3 Aug 2015 09:45:31 +0000 (09:45 +0000)]
-bump year

8 years agoeliminate dead GNUNET_SCHEDULER_add_continuation, rename GNUNET_SCHEDULER_add_continu...
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

8 years ago-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:35:48 +0000 (09:35 +0000)]
-use simpler, modern scheduler API

8 years ago-fix indentation
Christian Grothoff [Mon, 3 Aug 2015 09:30:12 +0000 (09:30 +0000)]
-fix indentation

8 years ago-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:29:49 +0000 (09:29 +0000)]
-use simpler, modern scheduler API

8 years ago-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:29:08 +0000 (09:29 +0000)]
-use simpler, modern scheduler API

8 years ago-use simpler, modern scheduler API
Christian Grothoff [Mon, 3 Aug 2015 09:27:15 +0000 (09:27 +0000)]
-use simpler, modern scheduler API

8 years ago-remove log
Christian Grothoff [Mon, 3 Aug 2015 09:26:30 +0000 (09:26 +0000)]
-remove log

8 years ago-cleaning up test logic, modernizing calls, improving test documentation
Christian Grothoff [Mon, 3 Aug 2015 09:06:44 +0000 (09:06 +0000)]
-cleaning up test logic, modernizing calls, improving test documentation

8 years agofix #3904, also simplify and clean up gnunet-publish shutdown logic in general
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

8 years agoAdd test code, but it's still segfaulting.
Jeff Burdges [Mon, 3 Aug 2015 08:18:52 +0000 (08:18 +0000)]
Add test code, but it's still segfaulting.

8 years agoFixed one serious bug, working on another. Still very broken.
Jeff Burdges [Sun, 2 Aug 2015 20:50:17 +0000 (20:50 +0000)]
Fixed one serious bug, working on another.  Still very broken.

8 years agoThis appears to be dead code. I'm not really sure however!
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?

8 years ago-fixes
Julius Bünger [Sun, 2 Aug 2015 17:48:51 +0000 (17:48 +0000)]
-fixes

8 years ago-improved testing
Julius Bünger [Sun, 2 Aug 2015 14:48:32 +0000 (14:48 +0000)]
-improved testing

8 years ago-improved management of peer information
Julius Bünger [Sun, 2 Aug 2015 14:48:30 +0000 (14:48 +0000)]
-improved management of peer information

8 years agocancellation of request and according test improvements
Julius Bünger [Sun, 2 Aug 2015 14:48:28 +0000 (14:48 +0000)]
cancellation of request and according test improvements

8 years ago(no commit message)
Julien Morvan [Fri, 31 Jul 2015 13:53:26 +0000 (13:53 +0000)]

8 years agoBuild socks.c and call it from client.c
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.

8 years agoInitial SOCKS5 proxy code. This will not yet work properly.
Jeff Burdges [Fri, 31 Jul 2015 12:20:36 +0000 (12:20 +0000)]
Initial SOCKS5 proxy code.  This will not yet work properly.

8 years agoExport proxy methods
Jeff Burdges [Fri, 31 Jul 2015 12:19:05 +0000 (12:19 +0000)]
Export proxy methods

8 years agoNew to notify that we're done with the handshake
Jeff Burdges [Fri, 31 Jul 2015 12:17:39 +0000 (12:17 +0000)]
New to notify that we're done with the handshake

8 years agodisable socket inheritance from ARM for the testcases
Sree Harsha Totakura [Fri, 31 Jul 2015 11:22:12 +0000 (11:22 +0000)]
disable socket inheritance from ARM for the testcases

8 years agostop asking for random peers if we are shutting down
Sree Harsha Totakura [Fri, 31 Jul 2015 11:20:05 +0000 (11:20 +0000)]
stop asking for random peers if we are shutting down

8 years agoreconnect upon broken server connection
Sree Harsha Totakura [Fri, 31 Jul 2015 11:18:36 +0000 (11:18 +0000)]
reconnect upon broken server connection

8 years agofixes
Sree Harsha Totakura [Fri, 31 Jul 2015 11:18:03 +0000 (11:18 +0000)]
fixes

8 years ago- only change from uninitialized to sent, to avoid having the tunnel as not ready...
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

8 years ago- remove unnecesary include
Bart Polot [Fri, 31 Jul 2015 06:58:57 +0000 (06:58 +0000)]
- remove unnecesary include

8 years ago- fix CLI netcat
Bart Polot [Fri, 31 Jul 2015 06:58:56 +0000 (06:58 +0000)]
- fix CLI netcat

8 years ago- refactor GCP_get_peer, fix get peer info
Bart Polot [Fri, 31 Jul 2015 06:58:55 +0000 (06:58 +0000)]
- refactor GCP_get_peer, fix get peer info

8 years ago- warn about leftover CHANNEL_DESTROY in tunnel, do not break (connectivity error...
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)

8 years ago- fix uninitialized mem
Bart Polot [Fri, 31 Jul 2015 06:58:53 +0000 (06:58 +0000)]
- fix uninitialized mem

8 years ago- ignore AX KX when we already know the peer's key, not when the state is KEY_OK...
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.

8 years ago- remove hello logging
Bart Polot [Fri, 31 Jul 2015 06:58:50 +0000 (06:58 +0000)]
- remove hello logging

8 years ago-fix push receive
Julius Bünger [Wed, 29 Jul 2015 13:19:30 +0000 (13:19 +0000)]
-fix push receive

8 years ago-fixes and improvements
Julius Bünger [Wed, 29 Jul 2015 12:26:14 +0000 (12:26 +0000)]
-fixes and improvements

8 years ago-fixes
Julius Bünger [Wed, 29 Jul 2015 11:28:17 +0000 (11:28 +0000)]
-fixes

8 years ago-stop passing static peermap
Julius Bünger [Wed, 29 Jul 2015 11:28:16 +0000 (11:28 +0000)]
-stop passing static peermap

8 years agomore assertions
Sree Harsha Totakura [Tue, 28 Jul 2015 15:29:19 +0000 (15:29 +0000)]
more assertions

8 years agoAdd AppArmor abstractions(gnunet-common, gnunet-libaudio)
Julien Morvan [Tue, 28 Jul 2015 15:04:15 +0000 (15:04 +0000)]
Add AppArmor abstractions(gnunet-common, gnunet-libaudio)

8 years agoAdd AppArmor profiles
Julien Morvan [Tue, 28 Jul 2015 14:56:33 +0000 (14:56 +0000)]
Add AppArmor profiles

8 years agoAdd support for building connection proxies.
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.

8 years agocode cleanup
Sree Harsha Totakura [Tue, 28 Jul 2015 14:11:17 +0000 (14:11 +0000)]
code cleanup

8 years agoFix segfault in handle_core_disconnect
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.

8 years agoMatch struct IPv4/6TcpAddress with UDP versions
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.

8 years agoStatment added in r36048 terminated by a . instead of a ;
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.

8 years ago-do not run test without sqlite
Christian Grothoff [Mon, 27 Jul 2015 12:41:57 +0000 (12:41 +0000)]
-do not run test without sqlite

8 years ago-doxygen, indentation
Christian Grothoff [Mon, 27 Jul 2015 12:40:59 +0000 (12:40 +0000)]
-doxygen, indentation

8 years agoPatch from Daniel Golle <daniel@makrotopia.org> on Sun 26 Jul 2015:
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

8 years agoDisable Stun
Bruno Cabral [Fri, 24 Jul 2015 23:20:22 +0000 (23:20 +0000)]
Disable Stun

8 years ago-fixed assertion
Julius Bünger [Fri, 24 Jul 2015 10:17:51 +0000 (10:17 +0000)]
-fixed assertion

8 years ago-fixed emptiness check
Julius Bünger [Fri, 24 Jul 2015 09:49:14 +0000 (09:49 +0000)]
-fixed emptiness check

8 years ago-logging
Julius Bünger [Fri, 24 Jul 2015 09:39:40 +0000 (09:39 +0000)]
-logging

8 years agoget indices for evaluation with diehard
Julius Bünger [Thu, 23 Jul 2015 18:23:39 +0000 (18:23 +0000)]
get indices for evaluation with diehard

8 years ago-fixed cadet usage
Julius Bünger [Thu, 23 Jul 2015 18:21:52 +0000 (18:21 +0000)]
-fixed cadet usage

8 years ago-keep peers malicious
Julius Bünger [Thu, 23 Jul 2015 18:21:51 +0000 (18:21 +0000)]
-keep peers malicious