oweals/gnunet.git
9 years agoadding some assertions to ensure we only start one gnunet-publish
Christian Grothoff [Tue, 18 Aug 2015 17:51:07 +0000 (17:51 +0000)]
adding some assertions to ensure we only start one gnunet-publish

9 years ago(no commit message)
Julien Morvan [Mon, 17 Aug 2015 10:05:31 +0000 (10:05 +0000)]

9 years ago(no commit message)
Julien Morvan [Mon, 17 Aug 2015 09:23:39 +0000 (09:23 +0000)]

9 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 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

9 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

9 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

9 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

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

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

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

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

9 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

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

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

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

9 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

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

9 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

9 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.

9 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

9 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.

9 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

9 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

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

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

9 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

9 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

9 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

9 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

9 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

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

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

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

9 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

9 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

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

9 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

9 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

9 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

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

9 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

9 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

9 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.

9 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.

9 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?

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

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

9 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

9 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

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

9 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.

9 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.

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

9 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

9 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

9 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

9 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

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

9 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

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

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

9 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

9 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)

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

9 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.

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

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

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

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

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

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

9 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)

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

9 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.

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

9 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.

9 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.

9 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.

9 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

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

9 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

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

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

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

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