oweals/gnunet.git
9 years agoCommit rewrite before moving to GNUNET_NAT functions
Bruno Cabral [Wed, 24 Jun 2015 20:00:00 +0000 (20:00 +0000)]
Commit rewrite before moving to GNUNET_NAT functions

9 years agoAvoid trying to disconnect a neighbour twice
David Barksdale [Wed, 24 Jun 2015 19:05:12 +0000 (19:05 +0000)]
Avoid trying to disconnect a neighbour twice

9 years ago- fix error message
Bart Polot [Wed, 24 Jun 2015 17:02:58 +0000 (17:02 +0000)]
- fix error message

9 years ago-add key
Christian Grothoff [Wed, 24 Jun 2015 14:32:43 +0000 (14:32 +0000)]
-add key

9 years ago- fix
Bart Polot [Wed, 24 Jun 2015 14:25:10 +0000 (14:25 +0000)]
- fix

9 years ago- complain about excessive core waiting times
Bart Polot [Wed, 24 Jun 2015 14:23:27 +0000 (14:23 +0000)]
- complain about excessive core waiting times

9 years ago- check connections on peer destroy
Bart Polot [Wed, 24 Jun 2015 14:13:53 +0000 (14:13 +0000)]
- check connections on peer destroy

9 years ago- fix compilation
Bart Polot [Wed, 24 Jun 2015 14:01:21 +0000 (14:01 +0000)]
- fix compilation

9 years ago- free skipped keys on tunnel Axolotl destroy
Bart Polot [Wed, 24 Jun 2015 14:00:45 +0000 (14:00 +0000)]
- free skipped keys on tunnel Axolotl destroy

9 years ago- free path after unregister
Bart Polot [Wed, 24 Jun 2015 13:56:33 +0000 (13:56 +0000)]
- free path after unregister

9 years ago- always free connection path, fix memory leak
Bart Polot [Wed, 24 Jun 2015 13:46:46 +0000 (13:46 +0000)]
- always free connection path, fix memory leak

9 years agoNULL terminate core_handlers[]
David Barksdale [Tue, 23 Jun 2015 18:52:02 +0000 (18:52 +0000)]
NULL terminate core_handlers[]

9 years agofix #3862
Christian Grothoff [Tue, 23 Jun 2015 17:53:58 +0000 (17:53 +0000)]
fix #3862

9 years agoFix installation of sensors when DESTDIR is used
David Barksdale [Tue, 23 Jun 2015 13:53:17 +0000 (13:53 +0000)]
Fix installation of sensors when DESTDIR is used

Also include sensors in distribution tarball.
This fixes issue #3859.

9 years ago-fixed missing link to library
Julius Bünger [Tue, 23 Jun 2015 12:49:03 +0000 (12:49 +0000)]
-fixed missing link to library

9 years ago-doxygen fixes
Christian Grothoff [Mon, 22 Jun 2015 07:22:14 +0000 (07:22 +0000)]
-doxygen fixes

9 years agodos2unix
David Barksdale [Sun, 21 Jun 2015 18:14:58 +0000 (18:14 +0000)]
dos2unix

9 years agoWe require 0.9.42 for MHD_HTTP_NOT_ACCEPTABLE
David Barksdale [Sun, 21 Jun 2015 18:02:37 +0000 (18:02 +0000)]
We require 0.9.42 for MHD_HTTP_NOT_ACCEPTABLE

9 years agosupport gnurl's curl.h being in include/gnurl/ OR include/curl/
Christian Grothoff [Sun, 21 Jun 2015 11:06:11 +0000 (11:06 +0000)]
support gnurl's curl.h being in include/gnurl/ OR include/curl/

9 years ago-clean logging dir before running profiler
Julius Bünger [Sat, 20 Jun 2015 14:21:02 +0000 (14:21 +0000)]
-clean logging dir before running profiler

9 years ago-fixed typos
Julius Bünger [Sat, 20 Jun 2015 13:48:34 +0000 (13:48 +0000)]
-fixed typos

9 years ago-restructured sending of push/pull request
Julius Bünger [Sat, 20 Jun 2015 13:48:30 +0000 (13:48 +0000)]
-restructured sending of push/pull request

9 years ago-fixed wrong pointer usage
Julius Bünger [Sat, 20 Jun 2015 13:48:26 +0000 (13:48 +0000)]
-fixed wrong pointer usage

9 years ago-fixed comparing of peer ids
Julius Bünger [Sat, 20 Jun 2015 13:48:23 +0000 (13:48 +0000)]
-fixed comparing of peer ids

9 years ago-restructured cleaning of known peers
Julius Bünger [Sat, 20 Jun 2015 13:48:19 +0000 (13:48 +0000)]
-restructured cleaning of known peers

9 years ago-logging and comments
Julius Bünger [Sat, 20 Jun 2015 13:48:15 +0000 (13:48 +0000)]
-logging and comments

9 years ago-removed unnecessary data structure (pending pull list)
Julius Bünger [Sat, 20 Jun 2015 13:48:10 +0000 (13:48 +0000)]
-removed unnecessary data structure (pending pull list)

9 years ago- only log time if core is requested
Bart Polot [Thu, 18 Jun 2015 19:39:49 +0000 (19:39 +0000)]
- only log time if core is requested

9 years ago-doxygen
Christian Grothoff [Thu, 18 Jun 2015 12:10:41 +0000 (12:10 +0000)]
-doxygen

9 years ago- add core timing to peer debug
Bart Polot [Thu, 18 Jun 2015 12:10:16 +0000 (12:10 +0000)]
- add core timing to peer debug

9 years ago-allow 'years' in time units, indentation and doxygen fixes
Christian Grothoff [Thu, 18 Jun 2015 11:59:57 +0000 (11:59 +0000)]
-allow 'years' in time units, indentation and doxygen fixes

9 years ago- cleanup
Bart Polot [Thu, 18 Jun 2015 11:56:54 +0000 (11:56 +0000)]
- cleanup

9 years ago- free hello when destroying peer
Bart Polot [Wed, 17 Jun 2015 14:27:56 +0000 (14:27 +0000)]
- free hello when destroying peer

9 years ago- destroy peers on shutdown
Bart Polot [Wed, 17 Jun 2015 14:27:55 +0000 (14:27 +0000)]
- destroy peers on shutdown

9 years agoGrant myself buildbot access
Jeff Burdges [Wed, 17 Jun 2015 14:12:21 +0000 (14:12 +0000)]
Grant myself buildbot access

9 years ago- fix memleak
Bart Polot [Wed, 17 Jun 2015 09:29:10 +0000 (09:29 +0000)]
- fix memleak

9 years ago- since the connection->id reduction hashmap puts use a helper function with local...
Bart Polot [Wed, 17 Jun 2015 09:29:09 +0000 (09:29 +0000)]
- since the connection->id reduction hashmap puts use a helper function with local static buffer, workaround

9 years ago- make sure there are no duplicates in the hashmap
Bart Polot [Wed, 17 Jun 2015 09:29:08 +0000 (09:29 +0000)]
- make sure there are no duplicates in the hashmap

9 years ago- don't invalidate direct connections unless peer disconnects on core level
Bart Polot [Wed, 17 Jun 2015 09:29:07 +0000 (09:29 +0000)]
- don't invalidate direct connections unless peer disconnects on core level

9 years ago- roll back duplication of peer->connections
Bart Polot [Wed, 17 Jun 2015 09:29:06 +0000 (09:29 +0000)]
- roll back duplication of peer->connections

9 years ago- fix shutdown memleak
Bart Polot [Wed, 17 Jun 2015 09:29:05 +0000 (09:29 +0000)]
- fix shutdown memleak

9 years ago- log
Bart Polot [Wed, 17 Jun 2015 09:29:04 +0000 (09:29 +0000)]
- log

9 years ago- make sure tunnel queues are consistent
Bart Polot [Wed, 17 Jun 2015 09:29:03 +0000 (09:29 +0000)]
- make sure tunnel queues are consistent

9 years ago-fix align.m4 macro based on Daniel Golle's report
Christian Grothoff [Wed, 17 Jun 2015 08:47:23 +0000 (08:47 +0000)]
-fix align.m4 macro based on Daniel Golle's report

9 years ago-ack Daniel
Christian Grothoff [Tue, 16 Jun 2015 13:31:34 +0000 (13:31 +0000)]
-ack Daniel

9 years ago#include byteswap, if detected by configure
Christian Grothoff [Tue, 16 Jun 2015 13:27:03 +0000 (13:27 +0000)]
#include byteswap, if detected by configure

9 years agocheck for __GLIBC__ before mallopting
Christian Grothoff [Tue, 16 Jun 2015 13:25:06 +0000 (13:25 +0000)]
check for __GLIBC__ before mallopting

9 years ago-remove dead/unused fenv.h include (as suggested by Daniel Golle)
Christian Grothoff [Tue, 16 Jun 2015 13:19:47 +0000 (13:19 +0000)]
-remove dead/unused fenv.h include (as suggested by Daniel Golle)

9 years agoFix of last commit for non-GNU make, I think.
Jeff Burdges [Mon, 15 Jun 2015 21:11:07 +0000 (21:11 +0000)]
Fix of last commit for non-GNU make, I think.

We'll try to fix  https://gnunet.org/bugs/view.php?id=3837  by hoping
that non-GNU makes can simulate target specific variables using shell
variables.

9 years agoStub nat_stun.c
Bruno Cabral [Mon, 15 Jun 2015 16:20:28 +0000 (16:20 +0000)]
Stub nat_stun.c

9 years agoInitial import of STUN support
Bruno Cabral [Mon, 15 Jun 2015 05:46:13 +0000 (05:46 +0000)]
Initial import of STUN support

9 years agofix use of deprecated MHD symbols
Christian Grothoff [Fri, 12 Jun 2015 07:52:45 +0000 (07:52 +0000)]
fix use of deprecated MHD symbols

9 years ago-fix hanling of pull replies
Julius Bünger [Thu, 11 Jun 2015 23:25:56 +0000 (23:25 +0000)]
-fix hanling of pull replies

9 years ago-renamed (gossip_list -> view) and converted it to peermap, fixes
Julius Bünger [Thu, 11 Jun 2015 23:25:54 +0000 (23:25 +0000)]
-renamed (gossip_list -> view) and converted it to peermap, fixes

9 years agolearn about peers from peerinfo
Julius Bünger [Thu, 11 Jun 2015 23:25:51 +0000 (23:25 +0000)]
learn about peers from peerinfo

9 years agoI'm unsure if I've correctly tested it in the odd build enviroment
Jeff Burdges [Thu, 11 Jun 2015 17:29:54 +0000 (17:29 +0000)]
I'm unsure if I've correctly tested it in the odd build enviroment
for which it was create.

We should use GNU make's target specific variables to ensure libtool
is run as root only during instalation to, and removal from, /lib of
the NSS plugins.  See :
https://www.gnu.org/software/make/manual/make.html#Target_002dspecific

If you've previously been using the --with-sudo=sudo option then you
must run sudo make clean becuase the .libs directory maintained by
libtool will be owned by root.

9 years ago-got some {} for free
Julius Bünger [Wed, 10 Jun 2015 14:16:02 +0000 (14:16 +0000)]
-got some {} for free

9 years ago-minor fixes
Christian Grothoff [Wed, 10 Jun 2015 14:05:45 +0000 (14:05 +0000)]
-minor fixes

9 years ago- compiler fixes
Bart Polot [Wed, 10 Jun 2015 12:08:20 +0000 (12:08 +0000)]
- compiler fixes

9 years ago- refactor connection timeout into one implementation
Bart Polot [Wed, 10 Jun 2015 12:08:20 +0000 (12:08 +0000)]
- refactor connection timeout into one implementation
- always send CONNECTION_BROKEN to alert of the timeout

9 years ago- fix returned buffer amount, to make sure channel bugs don't affect connections
Bart Polot [Wed, 10 Jun 2015 12:08:19 +0000 (12:08 +0000)]
- fix returned buffer amount, to make sure channel bugs don't affect connections

9 years agoAlways allow a connection to receive data in a tunnel, even if all buffers are full...
Bart Polot [Wed, 10 Jun 2015 12:08:19 +0000 (12:08 +0000)]
Always allow a connection to receive data in a tunnel, even if all buffers are full: new channels and keepalives must be allowed.

9 years ago- move break to documentation
Bart Polot [Wed, 10 Jun 2015 12:08:18 +0000 (12:08 +0000)]
- move break to documentation

9 years ago- start poll after send
Bart Polot [Wed, 10 Jun 2015 12:08:17 +0000 (12:08 +0000)]
- start poll after send

9 years ago- fix poll log
Bart Polot [Wed, 10 Jun 2015 12:08:16 +0000 (12:08 +0000)]
- fix poll log

9 years agonote to self
Bart Polot [Wed, 10 Jun 2015 12:08:15 +0000 (12:08 +0000)]
note to self

9 years ago- fix debug messages
Bart Polot [Wed, 10 Jun 2015 12:08:14 +0000 (12:08 +0000)]
- fix debug messages

9 years agoFixed channel recv buffer space accounting error when receiving a duplicate message
Bart Polot [Wed, 10 Jun 2015 12:08:14 +0000 (12:08 +0000)]
Fixed channel recv buffer space accounting error when receiving a duplicate message

9 years ago- more messages to force errors
Bart Polot [Wed, 10 Jun 2015 12:08:13 +0000 (12:08 +0000)]
- more messages to force errors

9 years ago- fix log
Bart Polot [Wed, 10 Jun 2015 12:08:12 +0000 (12:08 +0000)]
- fix log

9 years ago- add n_recv to debug info
Bart Polot [Wed, 10 Jun 2015 12:08:12 +0000 (12:08 +0000)]
- add n_recv to debug info

9 years ago- improve POLL logging, debug info
Bart Polot [Wed, 10 Jun 2015 12:08:11 +0000 (12:08 +0000)]
- improve POLL logging, debug info

9 years agofix excessive queueing, don't force regular traffic
Bart Polot [Wed, 10 Jun 2015 12:08:08 +0000 (12:08 +0000)]
fix excessive queueing, don't force regular traffic

9 years agorestructured test
Julius Bünger [Wed, 10 Jun 2015 11:01:49 +0000 (11:01 +0000)]
restructured test

9 years ago-fix coverity
Julius Bünger [Wed, 10 Jun 2015 11:01:46 +0000 (11:01 +0000)]
-fix coverity

9 years ago-avoid concurrent modification trouble when handing peer disconnect
Christian Grothoff [Tue, 9 Jun 2015 09:55:11 +0000 (09:55 +0000)]
-avoid concurrent modification trouble when handing peer disconnect

9 years ago-check next and prev are disjoint
Christian Grothoff [Mon, 8 Jun 2015 20:45:27 +0000 (20:45 +0000)]
-check next and prev are disjoint

9 years ago-uniqueness was simply false
Christian Grothoff [Mon, 8 Jun 2015 20:34:52 +0000 (20:34 +0000)]
-uniqueness was simply false

9 years ago-run unregister even if path is NULL, do check uniqueness
Christian Grothoff [Mon, 8 Jun 2015 20:23:17 +0000 (20:23 +0000)]
-run unregister even if path is NULL, do check uniqueness

9 years ago-adding additional error checking logic
Christian Grothoff [Mon, 8 Jun 2015 19:59:01 +0000 (19:59 +0000)]
-adding additional error checking logic

9 years ago-if the rest of the code uses horrible casts, one more hardly matters
Christian Grothoff [Mon, 8 Jun 2015 19:49:23 +0000 (19:49 +0000)]
-if the rest of the code uses horrible casts, one more hardly matters

9 years ago-fix use of uninit memory
Christian Grothoff [Mon, 8 Jun 2015 19:48:29 +0000 (19:48 +0000)]
-fix use of uninit memory

9 years ago-eh, remove assert
Christian Grothoff [Mon, 8 Jun 2015 19:05:26 +0000 (19:05 +0000)]
-eh, remove assert

9 years ago-assertion also does not hold, messy code
Christian Grothoff [Mon, 8 Jun 2015 19:04:24 +0000 (19:04 +0000)]
-assertion also does not hold, messy code

9 years ago-bogus assertion
Christian Grothoff [Mon, 8 Jun 2015 18:26:42 +0000 (18:26 +0000)]
-bogus assertion

9 years ago-doxygen
Christian Grothoff [Mon, 8 Jun 2015 08:47:30 +0000 (08:47 +0000)]
-doxygen

9 years ago-indentation, doxygen, be a bit pickier about return values to eliminate possible...
Christian Grothoff [Mon, 8 Jun 2015 08:35:14 +0000 (08:35 +0000)]
-indentation, doxygen, be a bit pickier about return values to eliminate possible causes of #3794

9 years ago-do use loopback for test
Christian Grothoff [Sun, 7 Jun 2015 21:01:24 +0000 (21:01 +0000)]
-do use loopback for test

9 years ago-do not use included hellos in test
Christian Grothoff [Sun, 7 Jun 2015 20:57:11 +0000 (20:57 +0000)]
-do not use included hellos in test

9 years ago-return IP in dotted decimal if reverse lookup fails
Christian Grothoff [Sun, 7 Jun 2015 17:57:19 +0000 (17:57 +0000)]
-return IP in dotted decimal if reverse lookup fails

9 years ago-nicer logging
Christian Grothoff [Sun, 7 Jun 2015 17:55:39 +0000 (17:55 +0000)]
-nicer logging

9 years ago-must avoid returning resolutions during initialization
Christian Grothoff [Sat, 6 Jun 2015 15:29:30 +0000 (15:29 +0000)]
-must avoid returning resolutions during initialization

9 years ago-changed permissions for created file
Julius Bünger [Fri, 5 Jun 2015 23:03:14 +0000 (23:03 +0000)]
-changed permissions for created file

9 years ago-comment out annoying debug message
Julius Bünger [Fri, 5 Jun 2015 23:03:12 +0000 (23:03 +0000)]
-comment out annoying debug message

9 years ago-tried to fix channel cleanups
Julius Bünger [Fri, 5 Jun 2015 23:03:10 +0000 (23:03 +0000)]
-tried to fix channel cleanups

9 years ago-writing the gossip list (view) to file
Julius Bünger [Fri, 5 Jun 2015 23:03:08 +0000 (23:03 +0000)]
-writing the gossip list (view) to file

9 years agomodified sampler to keep elements after deletion for evaluation
Julius Bünger [Fri, 5 Jun 2015 23:03:06 +0000 (23:03 +0000)]
modified sampler to keep elements after deletion for evaluation

9 years ago-restructured the code to faciliate viewing the internals
Julius Bünger [Fri, 5 Jun 2015 23:03:04 +0000 (23:03 +0000)]
-restructured the code to faciliate viewing the internals

9 years ago-fixed naming
Julius Bünger [Fri, 5 Jun 2015 23:03:02 +0000 (23:03 +0000)]
-fixed naming

9 years ago-fix
Julius Bünger [Fri, 5 Jun 2015 23:02:59 +0000 (23:02 +0000)]
-fix