Bart Polot [Fri, 26 Jun 2015 10:07:07 +0000 (10:07 +0000)]
- don't log old mesh versions as errors
Bart Polot [Fri, 26 Jun 2015 10:07:06 +0000 (10:07 +0000)]
- try to retransmit in case of core error
Bart Polot [Fri, 26 Jun 2015 10:07:05 +0000 (10:07 +0000)]
- explicitly track shutdown status
Bart Polot [Fri, 26 Jun 2015 03:53:16 +0000 (03:53 +0000)]
- ignores
Bart Polot [Fri, 26 Jun 2015 03:32:15 +0000 (03:32 +0000)]
- ignores
Bart Polot [Fri, 26 Jun 2015 03:27:32 +0000 (03:27 +0000)]
- don't torture buildbots with 5000 messages
Bart Polot [Fri, 26 Jun 2015 03:27:31 +0000 (03:27 +0000)]
Merge branch 'crypto'
Bart Polot [Fri, 26 Jun 2015 02:03:22 +0000 (02:03 +0000)]
- Fix #3846. When receiving a create request for an invalid path singal that register failed to avoid trying to unregister the connection on destroy.
Bart Polot [Fri, 26 Jun 2015 02:03:21 +0000 (02:03 +0000)]
- on shutdown it will happen that core will return 0/NULL, this is not a warning
Matthias Wachs [Thu, 25 Jun 2015 08:48:41 +0000 (08:48 +0000)]
adding a first set of fixmes to stun code
Matthias Wachs [Thu, 25 Jun 2015 08:47:00 +0000 (08:47 +0000)]
adding a first set of fixmes to stun code
Bart Polot [Thu, 25 Jun 2015 03:47:36 +0000 (03:47 +0000)]
- don't try to retrive a peer during a shutdown task
Bart Polot [Thu, 25 Jun 2015 03:32:25 +0000 (03:32 +0000)]
- destroy queued messages only after making sure no channels have handles to them
Bart Polot [Thu, 25 Jun 2015 03:16:53 +0000 (03:16 +0000)]
- If the path was cleared before, connection is not registered with neighbors. Should fix #3845, #3846
Bart Polot [Thu, 25 Jun 2015 03:16:52 +0000 (03:16 +0000)]
- documentation, statistics about failures
Bart Polot [Thu, 25 Jun 2015 03:16:51 +0000 (03:16 +0000)]
- if this happens the code is badly broken, bail out
Bruno Cabral [Thu, 25 Jun 2015 02:21:23 +0000 (02:21 +0000)]
Polish and simplyfy STUN code, move STUN code to GNUNET_NAT_
Bruno Cabral [Wed, 24 Jun 2015 20:00:00 +0000 (20:00 +0000)]
Commit rewrite before moving to GNUNET_NAT functions
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