Bart Polot [Tue, 30 Jun 2015 09:43:08 +0000 (09:43 +0000)]
- use 32 byte cast
David Barksdale [Mon, 29 Jun 2015 16:07:15 +0000 (16:07 +0000)]
Check in the right place for libpq-fe.h
Martin Schanzenbach [Mon, 29 Jun 2015 15:56:29 +0000 (15:56 +0000)]
- clean up gns rest api
Martin Schanzenbach [Mon, 29 Jun 2015 14:49:40 +0000 (14:49 +0000)]
-fix
Martin Schanzenbach [Mon, 29 Jun 2015 14:49:09 +0000 (14:49 +0000)]
- give control over CORS methods to plugin
Martin Schanzenbach [Mon, 29 Jun 2015 14:33:38 +0000 (14:33 +0000)]
- add CORS logic
Christian Grothoff [Mon, 29 Jun 2015 08:11:26 +0000 (08:11 +0000)]
fix #3871
Christian Grothoff [Mon, 29 Jun 2015 08:00:26 +0000 (08:00 +0000)]
-fix #3870
Christian Grothoff [Sun, 28 Jun 2015 13:53:42 +0000 (13:53 +0000)]
fix #3693: if PA is NULL, ignore message, we must be in the wrong state
Christian Grothoff [Sun, 28 Jun 2015 13:22:52 +0000 (13:22 +0000)]
-build system fixes, gettexting
Christian Grothoff [Sun, 28 Jun 2015 13:10:27 +0000 (13:10 +0000)]
-fix indent
Christian Grothoff [Sun, 28 Jun 2015 13:05:52 +0000 (13:05 +0000)]
-fix indent
David Barksdale [Sat, 27 Jun 2015 23:21:04 +0000 (23:21 +0000)]
Change NPE into GNUNET_break (0)
See issue #3693
Christian Grothoff [Sat, 27 Jun 2015 19:50:10 +0000 (19:50 +0000)]
downgrade to gettext 0.18.3 for more sane availability
Christian Grothoff [Sat, 27 Jun 2015 19:45:14 +0000 (19:45 +0000)]
-add missing include, remove redundant includes
Christian Grothoff [Sat, 27 Jun 2015 19:43:59 +0000 (19:43 +0000)]
also check for existence of libpq-fe header
Christian Grothoff [Sat, 27 Jun 2015 19:19:23 +0000 (19:19 +0000)]
downgrade gettext requirement
Julius Bünger [Fri, 26 Jun 2015 16:57:21 +0000 (16:57 +0000)]
Julius Bünger [Fri, 26 Jun 2015 16:57:18 +0000 (16:57 +0000)]
-logging
Bart Polot [Fri, 26 Jun 2015 15:04:02 +0000 (15:04 +0000)]
- GNUNET_CADET_disconnect will destroy pending channels and call the cleanup callback on them, and cleanup_channel does access peer_map. If peer_map is destroyed before CADET_disconnect, a use-after-free happens.
Bart Polot [Fri, 26 Jun 2015 12:42:09 +0000 (12:42 +0000)]
- if a path is NULL is not equivalent to any other
Bart Polot [Fri, 26 Jun 2015 12:15:18 +0000 (12:15 +0000)]
- first log, then free
Bart Polot [Fri, 26 Jun 2015 12:15:17 +0000 (12:15 +0000)]
- fix log format
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