David Barksdale [Wed, 24 Jun 2015 19:05:12 +0000 (19:05 +0000)]
Avoid trying to disconnect a neighbour twice
Bart Polot [Wed, 24 Jun 2015 17:02:58 +0000 (17:02 +0000)]
- fix error message
Christian Grothoff [Wed, 24 Jun 2015 14:32:43 +0000 (14:32 +0000)]
-add key
Bart Polot [Wed, 24 Jun 2015 14:25:10 +0000 (14:25 +0000)]
- fix
Bart Polot [Wed, 24 Jun 2015 14:23:27 +0000 (14:23 +0000)]
- complain about excessive core waiting times
Bart Polot [Wed, 24 Jun 2015 14:13:53 +0000 (14:13 +0000)]
- check connections on peer destroy
Bart Polot [Wed, 24 Jun 2015 14:01:21 +0000 (14:01 +0000)]
- fix compilation
Bart Polot [Wed, 24 Jun 2015 14:00:45 +0000 (14:00 +0000)]
- free skipped keys on tunnel Axolotl destroy
Bart Polot [Wed, 24 Jun 2015 13:56:33 +0000 (13:56 +0000)]
- free path after unregister
Bart Polot [Wed, 24 Jun 2015 13:46:46 +0000 (13:46 +0000)]
- always free connection path, fix memory leak
David Barksdale [Tue, 23 Jun 2015 18:52:02 +0000 (18:52 +0000)]
NULL terminate core_handlers[]
Christian Grothoff [Tue, 23 Jun 2015 17:53:58 +0000 (17:53 +0000)]
fix #3862
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.
Julius Bünger [Tue, 23 Jun 2015 12:49:03 +0000 (12:49 +0000)]
-fixed missing link to library
Christian Grothoff [Mon, 22 Jun 2015 07:22:14 +0000 (07:22 +0000)]
-doxygen fixes
David Barksdale [Sun, 21 Jun 2015 18:14:58 +0000 (18:14 +0000)]
dos2unix
David Barksdale [Sun, 21 Jun 2015 18:02:37 +0000 (18:02 +0000)]
We require 0.9.42 for MHD_HTTP_NOT_ACCEPTABLE
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/
Julius Bünger [Sat, 20 Jun 2015 14:21:02 +0000 (14:21 +0000)]
-clean logging dir before running profiler
Julius Bünger [Sat, 20 Jun 2015 13:48:34 +0000 (13:48 +0000)]
-fixed typos
Julius Bünger [Sat, 20 Jun 2015 13:48:30 +0000 (13:48 +0000)]
-restructured sending of push/pull request
Julius Bünger [Sat, 20 Jun 2015 13:48:26 +0000 (13:48 +0000)]
-fixed wrong pointer usage
Julius Bünger [Sat, 20 Jun 2015 13:48:23 +0000 (13:48 +0000)]
-fixed comparing of peer ids
Julius Bünger [Sat, 20 Jun 2015 13:48:19 +0000 (13:48 +0000)]
-restructured cleaning of known peers
Julius Bünger [Sat, 20 Jun 2015 13:48:15 +0000 (13:48 +0000)]
-logging and comments
Julius Bünger [Sat, 20 Jun 2015 13:48:10 +0000 (13:48 +0000)]
-removed unnecessary data structure (pending pull list)
Bart Polot [Thu, 18 Jun 2015 19:39:49 +0000 (19:39 +0000)]
- only log time if core is requested
Christian Grothoff [Thu, 18 Jun 2015 12:10:41 +0000 (12:10 +0000)]
-doxygen
Bart Polot [Thu, 18 Jun 2015 12:10:16 +0000 (12:10 +0000)]
- add core timing to peer debug
Christian Grothoff [Thu, 18 Jun 2015 11:59:57 +0000 (11:59 +0000)]
-allow 'years' in time units, indentation and doxygen fixes
Bart Polot [Thu, 18 Jun 2015 11:56:54 +0000 (11:56 +0000)]
- cleanup
Bart Polot [Wed, 17 Jun 2015 14:27:56 +0000 (14:27 +0000)]
- free hello when destroying peer
Bart Polot [Wed, 17 Jun 2015 14:27:55 +0000 (14:27 +0000)]
- destroy peers on shutdown
Jeff Burdges [Wed, 17 Jun 2015 14:12:21 +0000 (14:12 +0000)]
Grant myself buildbot access
Bart Polot [Wed, 17 Jun 2015 09:29:10 +0000 (09:29 +0000)]
- fix memleak
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
Bart Polot [Wed, 17 Jun 2015 09:29:08 +0000 (09:29 +0000)]
- make sure there are no duplicates in the hashmap
Bart Polot [Wed, 17 Jun 2015 09:29:07 +0000 (09:29 +0000)]
- don't invalidate direct connections unless peer disconnects on core level
Bart Polot [Wed, 17 Jun 2015 09:29:06 +0000 (09:29 +0000)]
- roll back duplication of peer->connections
Bart Polot [Wed, 17 Jun 2015 09:29:05 +0000 (09:29 +0000)]
- fix shutdown memleak
Bart Polot [Wed, 17 Jun 2015 09:29:04 +0000 (09:29 +0000)]
- log
Bart Polot [Wed, 17 Jun 2015 09:29:03 +0000 (09:29 +0000)]
- make sure tunnel queues are consistent
Christian Grothoff [Wed, 17 Jun 2015 08:47:23 +0000 (08:47 +0000)]
-fix align.m4 macro based on Daniel Golle's report
Christian Grothoff [Tue, 16 Jun 2015 13:31:34 +0000 (13:31 +0000)]
-ack Daniel
Christian Grothoff [Tue, 16 Jun 2015 13:27:03 +0000 (13:27 +0000)]
#include byteswap, if detected by configure
Christian Grothoff [Tue, 16 Jun 2015 13:25:06 +0000 (13:25 +0000)]
check for __GLIBC__ before mallopting
Christian Grothoff [Tue, 16 Jun 2015 13:19:47 +0000 (13:19 +0000)]
-remove dead/unused fenv.h include (as suggested by Daniel Golle)
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.
Bruno Cabral [Mon, 15 Jun 2015 16:20:28 +0000 (16:20 +0000)]
Stub nat_stun.c
Bruno Cabral [Mon, 15 Jun 2015 05:46:13 +0000 (05:46 +0000)]
Initial import of STUN support
Christian Grothoff [Fri, 12 Jun 2015 07:52:45 +0000 (07:52 +0000)]
fix use of deprecated MHD symbols
Julius Bünger [Thu, 11 Jun 2015 23:25:56 +0000 (23:25 +0000)]
-fix hanling of pull replies
Julius Bünger [Thu, 11 Jun 2015 23:25:54 +0000 (23:25 +0000)]
-renamed (gossip_list -> view) and converted it to peermap, fixes
Julius Bünger [Thu, 11 Jun 2015 23:25:51 +0000 (23:25 +0000)]
learn about peers from peerinfo
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.
Julius Bünger [Wed, 10 Jun 2015 14:16:02 +0000 (14:16 +0000)]
-got some {} for free
Christian Grothoff [Wed, 10 Jun 2015 14:05:45 +0000 (14:05 +0000)]
-minor fixes
Bart Polot [Wed, 10 Jun 2015 12:08:20 +0000 (12:08 +0000)]
- compiler fixes
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
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
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.
Bart Polot [Wed, 10 Jun 2015 12:08:18 +0000 (12:08 +0000)]
- move break to documentation
Bart Polot [Wed, 10 Jun 2015 12:08:17 +0000 (12:08 +0000)]
- start poll after send
Bart Polot [Wed, 10 Jun 2015 12:08:16 +0000 (12:08 +0000)]
- fix poll log
Bart Polot [Wed, 10 Jun 2015 12:08:15 +0000 (12:08 +0000)]
note to self
Bart Polot [Wed, 10 Jun 2015 12:08:14 +0000 (12:08 +0000)]
- fix debug messages
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
Bart Polot [Wed, 10 Jun 2015 12:08:13 +0000 (12:08 +0000)]
- more messages to force errors
Bart Polot [Wed, 10 Jun 2015 12:08:12 +0000 (12:08 +0000)]
- fix log
Bart Polot [Wed, 10 Jun 2015 12:08:12 +0000 (12:08 +0000)]
- add n_recv to debug info
Bart Polot [Wed, 10 Jun 2015 12:08:11 +0000 (12:08 +0000)]
- improve POLL logging, debug info
Bart Polot [Wed, 10 Jun 2015 12:08:08 +0000 (12:08 +0000)]
fix excessive queueing, don't force regular traffic
Julius Bünger [Wed, 10 Jun 2015 11:01:49 +0000 (11:01 +0000)]
restructured test
Julius Bünger [Wed, 10 Jun 2015 11:01:46 +0000 (11:01 +0000)]
-fix coverity
Christian Grothoff [Tue, 9 Jun 2015 09:55:11 +0000 (09:55 +0000)]
-avoid concurrent modification trouble when handing peer disconnect
Christian Grothoff [Mon, 8 Jun 2015 20:45:27 +0000 (20:45 +0000)]
-check next and prev are disjoint
Christian Grothoff [Mon, 8 Jun 2015 20:34:52 +0000 (20:34 +0000)]
-uniqueness was simply false
Christian Grothoff [Mon, 8 Jun 2015 20:23:17 +0000 (20:23 +0000)]
-run unregister even if path is NULL, do check uniqueness
Christian Grothoff [Mon, 8 Jun 2015 19:59:01 +0000 (19:59 +0000)]
-adding additional error checking logic
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
Christian Grothoff [Mon, 8 Jun 2015 19:48:29 +0000 (19:48 +0000)]
-fix use of uninit memory
Christian Grothoff [Mon, 8 Jun 2015 19:05:26 +0000 (19:05 +0000)]
-eh, remove assert
Christian Grothoff [Mon, 8 Jun 2015 19:04:24 +0000 (19:04 +0000)]
-assertion also does not hold, messy code
Christian Grothoff [Mon, 8 Jun 2015 18:26:42 +0000 (18:26 +0000)]
-bogus assertion
Christian Grothoff [Mon, 8 Jun 2015 08:47:30 +0000 (08:47 +0000)]
-doxygen
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
Christian Grothoff [Sun, 7 Jun 2015 21:01:24 +0000 (21:01 +0000)]
-do use loopback for test
Christian Grothoff [Sun, 7 Jun 2015 20:57:11 +0000 (20:57 +0000)]
-do not use included hellos in test
Christian Grothoff [Sun, 7 Jun 2015 17:57:19 +0000 (17:57 +0000)]
-return IP in dotted decimal if reverse lookup fails
Christian Grothoff [Sun, 7 Jun 2015 17:55:39 +0000 (17:55 +0000)]
-nicer logging
Christian Grothoff [Sat, 6 Jun 2015 15:29:30 +0000 (15:29 +0000)]
-must avoid returning resolutions during initialization
Julius Bünger [Fri, 5 Jun 2015 23:03:14 +0000 (23:03 +0000)]
-changed permissions for created file
Julius Bünger [Fri, 5 Jun 2015 23:03:12 +0000 (23:03 +0000)]
-comment out annoying debug message
Julius Bünger [Fri, 5 Jun 2015 23:03:10 +0000 (23:03 +0000)]
-tried to fix channel cleanups
Julius Bünger [Fri, 5 Jun 2015 23:03:08 +0000 (23:03 +0000)]
-writing the gossip list (view) to file
Julius Bünger [Fri, 5 Jun 2015 23:03:06 +0000 (23:03 +0000)]
modified sampler to keep elements after deletion for evaluation
Julius Bünger [Fri, 5 Jun 2015 23:03:04 +0000 (23:03 +0000)]
-restructured the code to faciliate viewing the internals
Julius Bünger [Fri, 5 Jun 2015 23:03:02 +0000 (23:03 +0000)]
-fixed naming
Julius Bünger [Fri, 5 Jun 2015 23:02:59 +0000 (23:02 +0000)]
-fix
Christian Grothoff [Fri, 5 Jun 2015 11:20:32 +0000 (11:20 +0000)]
turn 'force_reply' into a bitfield for future extensions