oweals/gnunet.git
9 years agofix #3693: if PA is NULL, ignore message, we must be in the wrong state
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

9 years ago-build system fixes, gettexting
Christian Grothoff [Sun, 28 Jun 2015 13:22:52 +0000 (13:22 +0000)]
-build system fixes, gettexting

9 years ago-fix indent
Christian Grothoff [Sun, 28 Jun 2015 13:10:27 +0000 (13:10 +0000)]
-fix indent

9 years ago-fix indent
Christian Grothoff [Sun, 28 Jun 2015 13:05:52 +0000 (13:05 +0000)]
-fix indent

9 years agoChange NPE into GNUNET_break (0)
David Barksdale [Sat, 27 Jun 2015 23:21:04 +0000 (23:21 +0000)]
Change NPE into GNUNET_break (0)

See issue #3693

9 years agodowngrade to gettext 0.18.3 for more sane availability
Christian Grothoff [Sat, 27 Jun 2015 19:50:10 +0000 (19:50 +0000)]
downgrade to gettext 0.18.3 for more sane availability

9 years ago-add missing include, remove redundant includes
Christian Grothoff [Sat, 27 Jun 2015 19:45:14 +0000 (19:45 +0000)]
-add missing include, remove redundant includes

9 years agoalso check for existence of libpq-fe header
Christian Grothoff [Sat, 27 Jun 2015 19:43:59 +0000 (19:43 +0000)]
also check for existence of libpq-fe header

9 years agodowngrade gettext requirement
Christian Grothoff [Sat, 27 Jun 2015 19:19:23 +0000 (19:19 +0000)]
downgrade gettext requirement

9 years ago-fix coverity 0003864
Julius Bünger [Fri, 26 Jun 2015 16:57:21 +0000 (16:57 +0000)]
-fix coverity 0003864

9 years ago-logging
Julius Bünger [Fri, 26 Jun 2015 16:57:18 +0000 (16:57 +0000)]
-logging

9 years ago- GNUNET_CADET_disconnect will destroy pending channels and call the cleanup callback...
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.

9 years ago- if a path is NULL is not equivalent to any other
Bart Polot [Fri, 26 Jun 2015 12:42:09 +0000 (12:42 +0000)]
- if a path is NULL is not equivalent to any other

9 years ago- first log, then free
Bart Polot [Fri, 26 Jun 2015 12:15:18 +0000 (12:15 +0000)]
- first log, then free

9 years ago- fix log format
Bart Polot [Fri, 26 Jun 2015 12:15:17 +0000 (12:15 +0000)]
- fix log format

9 years ago- don't log old mesh versions as errors
Bart Polot [Fri, 26 Jun 2015 10:07:07 +0000 (10:07 +0000)]
- don't log old mesh versions as errors

9 years ago- try to retransmit in case of core error
Bart Polot [Fri, 26 Jun 2015 10:07:06 +0000 (10:07 +0000)]
- try to retransmit in case of core error

9 years ago- explicitly track shutdown status
Bart Polot [Fri, 26 Jun 2015 10:07:05 +0000 (10:07 +0000)]
- explicitly track shutdown status

9 years ago- ignores
Bart Polot [Fri, 26 Jun 2015 03:53:16 +0000 (03:53 +0000)]
- ignores

9 years ago- ignores
Bart Polot [Fri, 26 Jun 2015 03:32:15 +0000 (03:32 +0000)]
- ignores

9 years ago- don't torture buildbots with 5000 messages
Bart Polot [Fri, 26 Jun 2015 03:27:32 +0000 (03:27 +0000)]
- don't torture buildbots with 5000 messages

9 years agoMerge branch 'crypto'
Bart Polot [Fri, 26 Jun 2015 03:27:31 +0000 (03:27 +0000)]
Merge branch 'crypto'

9 years ago- Fix #3846. When receiving a create request for an invalid path singal that register...
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.

9 years ago- on shutdown it will happen that core will return 0/NULL, this is not a warning
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

9 years agoadding a first set of fixmes to stun code
Matthias Wachs [Thu, 25 Jun 2015 08:48:41 +0000 (08:48 +0000)]
adding a first set of fixmes to stun code

9 years agoadding 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

9 years ago- don't try to retrive a peer during a shutdown task
Bart Polot [Thu, 25 Jun 2015 03:47:36 +0000 (03:47 +0000)]
- don't try to retrive a peer during a shutdown task

9 years ago- destroy queued messages only after making sure no channels have handles to them
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

9 years ago- If the path was cleared before, connection is not registered with neighbors. Should...
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

9 years ago- documentation, statistics about failures
Bart Polot [Thu, 25 Jun 2015 03:16:52 +0000 (03:16 +0000)]
- documentation, statistics about failures

9 years ago- if this happens the code is badly broken, bail out
Bart Polot [Thu, 25 Jun 2015 03:16:51 +0000 (03:16 +0000)]
- if this happens the code is badly broken, bail out

9 years agoPolish and simplyfy STUN code, move STUN code to GNUNET_NAT_
Bruno Cabral [Thu, 25 Jun 2015 02:21:23 +0000 (02:21 +0000)]
Polish and simplyfy STUN code, move STUN code to GNUNET_NAT_

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