oweals/gnunet.git
7 years agoRewrite cadet tests using MQ API
Bart Polot [Tue, 21 Feb 2017 12:30:07 +0000 (13:30 +0100)]
Rewrite cadet tests using MQ API

7 years agoprevent crash on exit
Christian Grothoff [Tue, 21 Feb 2017 09:42:28 +0000 (10:42 +0100)]
prevent crash on exit

7 years agoprevent crash on exit
Christian Grothoff [Tue, 21 Feb 2017 09:41:53 +0000 (10:41 +0100)]
prevent crash on exit

7 years agoprevent crash on exit
Christian Grothoff [Tue, 21 Feb 2017 09:38:09 +0000 (10:38 +0100)]
prevent crash on exit

7 years agoDon't put POSTGRESQL_CPPFLAGS in CFLAGS
David Barksdale [Mon, 20 Feb 2017 23:50:55 +0000 (17:50 -0600)]
Don't put POSTGRESQL_CPPFLAGS in CFLAGS

7 years agoMatch function type to header declaration
David Barksdale [Mon, 20 Feb 2017 23:05:14 +0000 (17:05 -0600)]
Match function type to header declaration

7 years agoalso do send_kx if we fail to decrypt
Christian Grothoff [Mon, 20 Feb 2017 22:23:58 +0000 (23:23 +0100)]
also do send_kx if we fail to decrypt

7 years agoUpdate po files
David Barksdale [Mon, 20 Feb 2017 19:09:04 +0000 (13:09 -0600)]
Update po files

7 years agoRestrict update to positive priority deltas
David Barksdale [Mon, 20 Feb 2017 19:08:08 +0000 (13:08 -0600)]
Restrict update to positive priority deltas

This is only ever called with positive values and the mysql and postgres
plugins were not handling negative values correctly anyway.

7 years agoignore kdevelop files
Bart Polot [Mon, 20 Feb 2017 18:22:59 +0000 (19:22 +0100)]
ignore kdevelop files

7 years ago- doxygen
Bart Polot [Mon, 20 Feb 2017 18:21:21 +0000 (19:21 +0100)]
- doxygen

7 years ago- minor changes: doxygen, log, code order, code legibility
Bart Polot [Mon, 20 Feb 2017 18:19:26 +0000 (19:19 +0100)]
- minor changes: doxygen, log, code order, code legibility

7 years agoRefactor copying of handler arrays
Bart Polot [Mon, 20 Feb 2017 18:13:59 +0000 (19:13 +0100)]
Refactor copying of handler arrays

7 years agoUpdate po files
David Barksdale [Mon, 20 Feb 2017 17:21:56 +0000 (11:21 -0600)]
Update po files

7 years agoRemove unused GNUNET_DATASTORE_update() API call
David Barksdale [Mon, 20 Feb 2017 17:18:53 +0000 (11:18 -0600)]
Remove unused GNUNET_DATASTORE_update() API call

7 years agocompleted big block refactoring in preparation for SET-BLOCK integration
Christian Grothoff [Mon, 20 Feb 2017 16:19:47 +0000 (17:19 +0100)]
completed big block refactoring in preparation for SET-BLOCK integration

7 years agofirst half of new BLOCK API to generalize duplicate detection beyond BFs
Christian Grothoff [Mon, 20 Feb 2017 14:09:00 +0000 (15:09 +0100)]
first half of new BLOCK API to generalize duplicate detection beyond BFs

7 years agoremove dependency on libextractor from testcase; fix #4901
Christian Grothoff [Mon, 20 Feb 2017 12:54:25 +0000 (13:54 +0100)]
remove dependency on libextractor from testcase; fix #4901

7 years agofix NSS / sudo warning output by configure to be more accurate (#4631)
Christian Grothoff [Mon, 20 Feb 2017 10:30:52 +0000 (11:30 +0100)]
fix NSS / sudo warning output by configure to be more accurate (#4631)

7 years agomisc log fixes, plus prevent multiple TCP connections from wrecking havoc by creating...
Christian Grothoff [Sun, 19 Feb 2017 22:26:57 +0000 (23:26 +0100)]
misc log fixes, plus prevent multiple TCP connections from wrecking havoc by creating a missunderstanding about which one is active

7 years agomostly logging, avoid having more than one typemap in transmission queue, accept...
Christian Grothoff [Sun, 19 Feb 2017 19:31:12 +0000 (20:31 +0100)]
mostly logging, avoid having more than one typemap in transmission queue, accept port=0 as not an error, tolerate link-local addrs

7 years agomisc logging, no semantic changes
Christian Grothoff [Sun, 19 Feb 2017 17:48:02 +0000 (18:48 +0100)]
misc logging, no semantic changes

7 years agofix zombie-fest
Christian Grothoff [Sun, 19 Feb 2017 12:57:34 +0000 (13:57 +0100)]
fix zombie-fest

7 years agoconverting consensus service to new SERVICE API
Christian Grothoff [Sun, 19 Feb 2017 11:39:15 +0000 (12:39 +0100)]
converting consensus service to new SERVICE API

7 years agotowards converting SP to new CADET API; still fails tests though
Christian Grothoff [Sun, 19 Feb 2017 00:44:37 +0000 (01:44 +0100)]
towards converting SP to new CADET API; still fails tests though

7 years agotrying to fix #4899
Christian Grothoff [Sat, 18 Feb 2017 23:28:17 +0000 (00:28 +0100)]
trying to fix #4899

7 years agomake sure after any transmission succeeds we continue looking for more (previous...
Christian Grothoff [Sat, 18 Feb 2017 19:02:21 +0000 (20:02 +0100)]
make sure after any transmission succeeds we continue looking for more (previous code missed some corner cases, see #4896/11780)

7 years agoappend to TAIL of mutation list for processing in right order
Christian Grothoff [Sat, 18 Feb 2017 17:59:45 +0000 (18:59 +0100)]
append to TAIL of mutation list for processing in right order

7 years agologging fixes, nicer comments
Christian Grothoff [Sat, 18 Feb 2017 17:59:01 +0000 (18:59 +0100)]
logging fixes, nicer comments

7 years agologlevel MESSAGE for the incoming connection message + type
lurchi [Sat, 18 Feb 2017 17:00:49 +0000 (18:00 +0100)]
loglevel MESSAGE for the incoming connection message + type

7 years agoupdate gitignore
Christian Grothoff [Sat, 18 Feb 2017 16:59:04 +0000 (17:59 +0100)]
update gitignore

7 years agoterminate instantly, even on failure
Christian Grothoff [Sat, 18 Feb 2017 16:57:41 +0000 (17:57 +0100)]
terminate instantly, even on failure

7 years agofix testcase
Christian Grothoff [Sat, 18 Feb 2017 16:52:48 +0000 (17:52 +0100)]
fix testcase

7 years agofix ignore file
Christian Grothoff [Sat, 18 Feb 2017 16:22:46 +0000 (17:22 +0100)]
fix ignore file

7 years agomisc bugfixes
Christian Grothoff [Sat, 18 Feb 2017 16:17:42 +0000 (17:17 +0100)]
misc bugfixes

7 years agono prefix for set either
lurchi [Sat, 18 Feb 2017 15:39:39 +0000 (16:39 +0100)]
no prefix for set either

7 years agono prefix in Git
Christian Grothoff [Fri, 17 Feb 2017 21:41:42 +0000 (22:41 +0100)]
no prefix in Git

7 years agoFix cleanup issues and some leak
Christian Grothoff [Fri, 17 Feb 2017 20:26:37 +0000 (21:26 +0100)]
Fix cleanup issues and some leak

7 years agofix loopback disconnect signalling and a few memory leaks
Christian Grothoff [Fri, 17 Feb 2017 20:01:43 +0000 (21:01 +0100)]
fix loopback disconnect signalling and a few memory leaks

7 years agomisc fixes in new CADET API, porting gnunet-cadet to new API
Christian Grothoff [Fri, 17 Feb 2017 19:22:54 +0000 (20:22 +0100)]
misc fixes in new CADET API, porting gnunet-cadet to new API

7 years agoignore tests
Christian Grothoff [Fri, 17 Feb 2017 15:51:30 +0000 (16:51 +0100)]
ignore tests

7 years agomissing 'const'
Christian Grothoff [Fri, 17 Feb 2017 14:19:48 +0000 (15:19 +0100)]
missing 'const'

7 years agofix crash issues in SET
Christian Grothoff [Fri, 17 Feb 2017 14:16:44 +0000 (15:16 +0100)]
fix crash issues in SET

7 years agomove SET to use new MQ API properly
Christian Grothoff [Fri, 17 Feb 2017 13:33:04 +0000 (14:33 +0100)]
move SET to use new MQ API properly

7 years agoget FS test with CADET to finally pass again
Christian Grothoff [Fri, 17 Feb 2017 13:31:38 +0000 (14:31 +0100)]
get FS test with CADET to finally pass again

7 years agohacking up 'new' CADET API without legacy logic
Christian Grothoff [Fri, 17 Feb 2017 13:12:15 +0000 (14:12 +0100)]
hacking up 'new' CADET API without legacy logic

7 years agoconvert to new CADET API, not working due to CADET-API internal bugs
Christian Grothoff [Fri, 17 Feb 2017 10:06:15 +0000 (11:06 +0100)]
convert to new CADET API, not working due to CADET-API internal bugs

7 years agoassertion was inverted, also probably too strict
Christian Grothoff [Fri, 17 Feb 2017 10:05:55 +0000 (11:05 +0100)]
assertion was inverted, also probably too strict

7 years agoignore perf files
Christian Grothoff [Thu, 16 Feb 2017 22:25:39 +0000 (23:25 +0100)]
ignore perf files

7 years agofirst, very rough conversion of SET service to new cadet client API (fails tests...
Christian Grothoff [Thu, 16 Feb 2017 22:24:48 +0000 (23:24 +0100)]
first, very rough conversion of SET service to new cadet client API (fails tests, as before)

7 years agomigrate SET service to new SERVICE API
Christian Grothoff [Thu, 16 Feb 2017 21:59:53 +0000 (22:59 +0100)]
migrate SET service to new SERVICE API

7 years agothis actually happens and is fine
Christian Grothoff [Thu, 16 Feb 2017 21:14:43 +0000 (22:14 +0100)]
this actually happens and is fine

7 years agointroduce loose state, fix channel state machine
Christian Grothoff [Thu, 16 Feb 2017 21:08:55 +0000 (22:08 +0100)]
introduce loose state, fix channel state machine

7 years agoproperly clean up unbound channels
Christian Grothoff [Thu, 16 Feb 2017 20:55:13 +0000 (21:55 +0100)]
properly clean up unbound channels

7 years agofix log
Christian Grothoff [Thu, 16 Feb 2017 20:26:40 +0000 (21:26 +0100)]
fix log

7 years agodo not respond to BROKEN messages with BROKEN messages
Christian Grothoff [Thu, 16 Feb 2017 20:00:07 +0000 (21:00 +0100)]
do not respond to BROKEN messages with BROKEN messages

7 years agofix log message format str
Christian Grothoff [Thu, 16 Feb 2017 14:19:13 +0000 (15:19 +0100)]
fix log message format str

7 years agoset type correctly in nat auto test
Christian Grothoff [Thu, 16 Feb 2017 14:08:42 +0000 (15:08 +0100)]
set type correctly in nat auto test

7 years agocancel existing last_control_qe handle before scheduling a new one, always
Christian Grothoff [Thu, 16 Feb 2017 13:54:14 +0000 (14:54 +0100)]
cancel existing last_control_qe handle before scheduling a new one, always

7 years agoextra asserts
Christian Grothoff [Thu, 16 Feb 2017 13:42:35 +0000 (14:42 +0100)]
extra asserts

7 years agouse force when required
Christian Grothoff [Thu, 16 Feb 2017 13:05:55 +0000 (14:05 +0100)]
use force when required

7 years agofix #4895: set highbit always for the returned cn, not just on the second call
Christian Grothoff [Wed, 15 Feb 2017 16:49:59 +0000 (17:49 +0100)]
fix #4895: set highbit always for the returned cn, not just on the second call

7 years agospell out message types more, use correct conversion direction
Christian Grothoff [Wed, 15 Feb 2017 16:37:17 +0000 (17:37 +0100)]
spell out message types more, use correct conversion direction

7 years agofix typos in log msgs
Christian Grothoff [Wed, 15 Feb 2017 16:24:43 +0000 (17:24 +0100)]
fix typos in log msgs

7 years agofixing #4878 -- by avoiding allocation in the first place
Christian Grothoff [Wed, 15 Feb 2017 15:56:14 +0000 (16:56 +0100)]
fixing #4878 -- by avoiding allocation in the first place

7 years agoupdate ignore file
Christian Grothoff [Wed, 15 Feb 2017 15:55:47 +0000 (16:55 +0100)]
update ignore file

7 years agointroducing GNUNET_CRYPTO_ecdhe_create2() to avoid malloc nonsense
Christian Grothoff [Wed, 15 Feb 2017 15:55:25 +0000 (16:55 +0100)]
introducing GNUNET_CRYPTO_ecdhe_create2() to avoid malloc nonsense

7 years agofix format string bug
Christian Grothoff [Wed, 15 Feb 2017 15:54:04 +0000 (16:54 +0100)]
fix format string bug

7 years agofix #4890
Christian Grothoff [Wed, 15 Feb 2017 14:37:07 +0000 (15:37 +0100)]
fix #4890

7 years agopass correct pointer to GNUNET_NAT_register
Christian Grothoff [Mon, 13 Feb 2017 09:29:11 +0000 (10:29 +0100)]
pass correct pointer to GNUNET_NAT_register

7 years agoadd assertion that we do not release path that is still used by a connection
Christian Grothoff [Mon, 13 Feb 2017 09:24:57 +0000 (10:24 +0100)]
add assertion that we do not release path that is still used by a connection

7 years agoset up multicast group with origin and member
xrs [Sun, 12 Feb 2017 00:44:00 +0000 (01:44 +0100)]
set up multicast group with origin and member

7 years agoNo need to mention HOLE_EXTERNAL twice
David Barksdale [Sat, 11 Feb 2017 16:58:12 +0000 (10:58 -0600)]
No need to mention HOLE_EXTERNAL twice

7 years agofix use-after-free in postgres error message
Florian Dold [Sat, 11 Feb 2017 15:41:58 +0000 (16:41 +0100)]
fix use-after-free in postgres error message

7 years agofixed crash on test_multicast_multipeer
xrs [Thu, 9 Feb 2017 21:28:29 +0000 (22:28 +0100)]
fixed crash on test_multicast_multipeer

7 years agoAdd mq test
Bart Polot [Wed, 8 Feb 2017 18:43:33 +0000 (19:43 +0100)]
Add mq test

7 years agoFix open port, copy handlers for use on incoming channels
Bart Polot [Wed, 8 Feb 2017 18:41:41 +0000 (19:41 +0100)]
Fix open port, copy handlers for use on incoming channels

7 years ago- adjust FWD/BCK to new channel numbering
Bart Polot [Wed, 8 Feb 2017 18:41:06 +0000 (19:41 +0100)]
- adjust FWD/BCK to new channel numbering

7 years ago- code/debug format
Bart Polot [Wed, 8 Feb 2017 18:40:36 +0000 (19:40 +0100)]
- code/debug format

7 years ago- debug, indentation, legibility
Bart Polot [Wed, 8 Feb 2017 16:28:19 +0000 (17:28 +0100)]
- debug, indentation, legibility

7 years agofix cadet mq api, use proper function arguments
Bart Polot [Wed, 8 Feb 2017 16:27:23 +0000 (17:27 +0100)]
fix cadet mq api, use proper function arguments

7 years ago- fix assertion condition
Bart Polot [Wed, 8 Feb 2017 16:23:09 +0000 (17:23 +0100)]
- fix assertion condition

7 years ago- doxygen, debug text
Bart Polot [Wed, 8 Feb 2017 16:22:36 +0000 (17:22 +0100)]
- doxygen, debug text

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Bart Polot [Wed, 8 Feb 2017 01:28:25 +0000 (02:28 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years agofix psyc service being unwilling to shutdown
lurchi [Tue, 7 Feb 2017 22:44:20 +0000 (23:44 +0100)]
fix psyc service being unwilling to shutdown

7 years agoOnly call window_size on incrementing size, allow ACK+1 messages to be taken
Bart Polot [Thu, 2 Feb 2017 17:13:00 +0000 (18:13 +0100)]
Only call window_size on incrementing size, allow ACK+1 messages to be taken

7 years agoImplement data ack in CADET MQ API
Bart Polot [Thu, 2 Feb 2017 16:16:20 +0000 (17:16 +0100)]
Implement data ack in CADET MQ API

7 years agognunet-social CLI: porcelain status and psyc messages
psyc://loupsycedyglgamf.onion/~lynX [Thu, 2 Feb 2017 09:21:58 +0000 (09:21 +0000)]
gnunet-social CLI: porcelain status and psyc messages

7 years agodon't let further circuits disrupt 'gnunet-cadet -o'
psyc://loupsycedyglgamf.onion/~lynX [Thu, 2 Feb 2017 09:21:56 +0000 (09:21 +0000)]
don't let further circuits disrupt 'gnunet-cadet -o'

7 years agofind /bin/ip
psyc://loupsycedyglgamf.onion/~lynX [Thu, 2 Feb 2017 09:21:55 +0000 (09:21 +0000)]
find /bin/ip

7 years agofix sanity check in dht_api: we are passing 32-byte PIDs, not 64-byte hashes
Christian Grothoff [Thu, 2 Feb 2017 09:21:54 +0000 (10:21 +0100)]
fix sanity check in dht_api: we are passing 32-byte PIDs, not 64-byte hashes

7 years agohave sanity checks for DHT path construction
Christian Grothoff [Thu, 2 Feb 2017 09:17:38 +0000 (10:17 +0100)]
have sanity checks for DHT path construction

7 years agoset PATH during testcase
Christian Grothoff [Thu, 2 Feb 2017 09:16:12 +0000 (10:16 +0100)]
set PATH during testcase

7 years agoforce attachment if connection is still there
Christian Grothoff [Wed, 1 Feb 2017 20:07:52 +0000 (21:07 +0100)]
force attachment if connection is still there

7 years agopreserve invariants while calling GCP_detatch_path while reorging paths
Christian Grothoff [Wed, 1 Feb 2017 19:49:52 +0000 (20:49 +0100)]
preserve invariants while calling GCP_detatch_path while reorging paths

7 years agouse NULL as flag for evaluation of query, ensure we pass non-NULL for reply_block...
Christian Grothoff [Wed, 1 Feb 2017 15:57:36 +0000 (16:57 +0100)]
use NULL as flag for evaluation of query, ensure we pass non-NULL for reply_block to evaluate reply even if reply is zero bytes long

7 years agolog if we get a redundant KX_AUTH, do not assert
Christian Grothoff [Wed, 1 Feb 2017 15:49:06 +0000 (16:49 +0100)]
log if we get a redundant KX_AUTH, do not assert

7 years agopath heap could be null here during shutdown
Christian Grothoff [Wed, 1 Feb 2017 15:44:13 +0000 (16:44 +0100)]
path heap could be null here during shutdown

7 years agoinit worst, to avoid valgrind warning (otherwise harmless)
Christian Grothoff [Wed, 1 Feb 2017 15:34:30 +0000 (16:34 +0100)]
init worst, to avoid valgrind warning (otherwise harmless)

7 years agofix peer destruction triggers
Christian Grothoff [Wed, 1 Feb 2017 12:35:48 +0000 (13:35 +0100)]
fix peer destruction triggers