oweals/gnunet.git
7 years agoremove redundant condition in assertion
Christian Grothoff [Fri, 10 Mar 2017 17:04:01 +0000 (18:04 +0100)]
remove redundant condition in assertion

7 years agofix out-of-bounds case in parser
Christian Grothoff [Fri, 10 Mar 2017 17:00:53 +0000 (18:00 +0100)]
fix out-of-bounds case in parser

7 years agoproperly detect and handle parse error
Christian Grothoff [Fri, 10 Mar 2017 16:57:40 +0000 (17:57 +0100)]
properly detect and handle parse error

7 years agofix integer overflow test to actually work
Christian Grothoff [Fri, 10 Mar 2017 16:56:17 +0000 (17:56 +0100)]
fix integer overflow test to actually work

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 16:54:54 +0000 (17:54 +0100)]
add assertion to make static analysis happy

7 years agodisambiguate enum type of value
Christian Grothoff [Fri, 10 Mar 2017 16:53:50 +0000 (17:53 +0100)]
disambiguate enum type of value

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 16:51:28 +0000 (17:51 +0100)]
add assertion to make static analysis happy

7 years agofix double-free
Christian Grothoff [Fri, 10 Mar 2017 16:50:00 +0000 (17:50 +0100)]
fix double-free

7 years agoprevent division by zero
Christian Grothoff [Fri, 10 Mar 2017 16:49:05 +0000 (17:49 +0100)]
prevent division by zero

7 years agofix ICMP IPv4/IPv6 type conversion logic
Christian Grothoff [Fri, 10 Mar 2017 16:46:08 +0000 (17:46 +0100)]
fix ICMP IPv4/IPv6 type conversion logic

7 years agofix double-free
Christian Grothoff [Fri, 10 Mar 2017 16:41:05 +0000 (17:41 +0100)]
fix double-free

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:39:51 +0000 (17:39 +0100)]
fix memory leak

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:38:52 +0000 (17:38 +0100)]
fix memory leak

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:30:54 +0000 (17:30 +0100)]
fix memory leak

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:28:57 +0000 (17:28 +0100)]
fix memory leak

7 years agoproperly handle error on empty queue
Christian Grothoff [Fri, 10 Mar 2017 16:28:03 +0000 (17:28 +0100)]
properly handle error on empty queue

7 years agofix comment
Christian Grothoff [Fri, 10 Mar 2017 16:26:54 +0000 (17:26 +0100)]
fix comment

7 years agohandle case 'diff' is NULL - fixes NPE
Christian Grothoff [Fri, 10 Mar 2017 16:25:16 +0000 (17:25 +0100)]
handle case 'diff' is NULL - fixes NPE

7 years agomake sure 'err' is initialized on all error paths
Christian Grothoff [Fri, 10 Mar 2017 16:11:56 +0000 (17:11 +0100)]
make sure 'err' is initialized on all error paths

7 years agomake compiler happy
Christian Grothoff [Fri, 10 Mar 2017 16:08:46 +0000 (17:08 +0100)]
make compiler happy

7 years agofix use of uninitialized (shadow-issue) expiration
Christian Grothoff [Fri, 10 Mar 2017 16:07:19 +0000 (17:07 +0100)]
fix use of uninitialized (shadow-issue) expiration

7 years agofix link error
Christian Grothoff [Fri, 10 Mar 2017 15:50:57 +0000 (16:50 +0100)]
fix link error

7 years agostarting conversion of plugin_datastore_sqlite to use libgnunetsq
Christian Grothoff [Fri, 10 Mar 2017 10:31:27 +0000 (11:31 +0100)]
starting conversion of plugin_datastore_sqlite to use libgnunetsq

7 years agoreset statement on error
Christian Grothoff [Fri, 10 Mar 2017 10:12:47 +0000 (11:12 +0100)]
reset statement on error

7 years agointroduce warning if QE fails to make progress
Christian Grothoff [Fri, 10 Mar 2017 09:59:19 +0000 (10:59 +0100)]
introduce warning if QE fails to make progress

7 years agoremove empty files, fix indentation
Christian Grothoff [Fri, 10 Mar 2017 01:38:32 +0000 (02:38 +0100)]
remove empty files, fix indentation

7 years agofix #4608
Christian Grothoff [Thu, 9 Mar 2017 20:38:59 +0000 (21:38 +0100)]
fix #4608

7 years agoadd test_multicast_2peers.c
xrs [Thu, 9 Mar 2017 19:09:32 +0000 (20:09 +0100)]
add test_multicast_2peers.c

7 years agofix issue with NAT logic overwriting port specified by user in manual hole punch...
Christian Grothoff [Thu, 9 Mar 2017 15:57:01 +0000 (16:57 +0100)]
fix issue with NAT logic overwriting port specified by user in manual hole punch; adding some logging

7 years ago-gnunet-social CLI fixes
psyc://loupsycedyglgamf.onion/~lynX [Wed, 8 Mar 2017 23:15:56 +0000 (23:15 +0000)]
-gnunet-social CLI fixes

7 years agoupstyle gnunet-cadet docs
psyc://loupsycedyglgamf.onion/~lynX [Wed, 8 Mar 2017 23:15:55 +0000 (23:15 +0000)]
upstyle gnunet-cadet docs

7 years agowe use CREATE INDEX IF NOT EXITS, this requires postgres>=9.6, bump dependency requir...
Christian Grothoff [Wed, 8 Mar 2017 23:15:45 +0000 (00:15 +0100)]
we use CREATE INDEX IF NOT EXITS, this requires postgres>=9.6, bump dependency requirements

7 years agotest_multicast_multipeer.c: add ping pong test
xrs [Wed, 8 Mar 2017 22:39:47 +0000 (23:39 +0100)]
test_multicast_multipeer.c: add ping pong test

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 8 Mar 2017 18:53:36 +0000 (19:53 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agoremove dead enum values
Christian Grothoff [Wed, 8 Mar 2017 17:54:17 +0000 (18:54 +0100)]
remove dead enum values

7 years agofix more of #4890
Christian Grothoff [Wed, 8 Mar 2017 14:05:40 +0000 (15:05 +0100)]
fix more of #4890

7 years agoremove dead API taler-0.2.1
Christian Grothoff [Tue, 7 Mar 2017 22:46:34 +0000 (23:46 +0100)]
remove dead API

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Tue, 7 Mar 2017 22:44:57 +0000 (23:44 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years agoupdate tutorial
Christian Grothoff [Tue, 7 Mar 2017 22:44:40 +0000 (23:44 +0100)]
update tutorial

7 years agoUpdate comment to match code
David Barksdale [Tue, 7 Mar 2017 03:28:43 +0000 (21:28 -0600)]
Update comment to match code

7 years agobuild profilers only if testing is enabled
Daniel Golle [Sun, 5 Mar 2017 15:19:37 +0000 (16:19 +0100)]
build profilers only if testing is enabled

build fails of consensus and secretsharing fails otherwise
make[7]: *** No rule to make target '../../src/testbed/libgnunettestbed.la', needed by 'gnunet-consensus-profiler'.  Stop

7 years agofix #4839
Christian Grothoff [Sun, 5 Mar 2017 14:56:14 +0000 (15:56 +0100)]
fix #4839

7 years agoindentation, comment and style fixes, no semantic changes
Christian Grothoff [Sun, 5 Mar 2017 14:54:47 +0000 (15:54 +0100)]
indentation, comment and style fixes, no semantic changes

7 years agomisc indentation changes
Christian Grothoff [Sat, 4 Mar 2017 18:07:05 +0000 (19:07 +0100)]
misc indentation changes

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Fri, 3 Mar 2017 18:08:01 +0000 (19:08 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agomake total traffic and timeout configurable without recompiling
Bart Polot [Wed, 1 Mar 2017 19:05:14 +0000 (20:05 +0100)]
make total traffic and timeout configurable without recompiling

7 years agofix testcases: ack received messages
Bart Polot [Wed, 1 Mar 2017 18:28:40 +0000 (19:28 +0100)]
fix testcases: ack received messages

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 1 Mar 2017 18:24:17 +0000 (19:24 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Bart Polot [Wed, 1 Mar 2017 17:49:52 +0000 (18:49 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years ago- fix short new testcases: send_test_message initizalize data for forward and signal...
Bart Polot [Wed, 1 Mar 2017 17:48:12 +0000 (18:48 +0100)]
- fix short new testcases: send_test_message initizalize data for forward and signal test

7 years agoeh, oops
Florian Dold [Tue, 28 Feb 2017 23:13:29 +0000 (00:13 +0100)]
eh, oops

7 years agomissing newline
Florian Dold [Tue, 28 Feb 2017 23:11:10 +0000 (00:11 +0100)]
missing newline

7 years agoset: log set difference estimate
Florian Dold [Tue, 28 Feb 2017 23:03:51 +0000 (00:03 +0100)]
set: log set difference estimate

7 years agoconsensus: destroy set handles
Florian Dold [Tue, 28 Feb 2017 19:43:12 +0000 (20:43 +0100)]
consensus: destroy set handles

7 years agoallow destruction while iteration is active
Florian Dold [Tue, 28 Feb 2017 19:24:24 +0000 (20:24 +0100)]
allow destruction while iteration is active

7 years agoset: fix make check
Florian Dold [Tue, 28 Feb 2017 19:10:39 +0000 (20:10 +0100)]
set: fix make check

7 years agoget rid of warning for missing directory on friends.txt creation
Christian Grothoff [Tue, 28 Feb 2017 18:56:37 +0000 (19:56 +0100)]
get rid of warning for missing directory on friends.txt creation

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Tue, 28 Feb 2017 18:37:43 +0000 (19:37 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

Conflicts:
src/multicast/test_multicast_multipeer.c

7 years agoMore API function tests...
xrs [Tue, 28 Feb 2017 18:31:52 +0000 (19:31 +0100)]
More API function tests...

7 years agoMore API function tests...
xrs [Tue, 28 Feb 2017 18:30:43 +0000 (19:30 +0100)]
More API function tests...

7 years agofix completely broken implementation of variable size elements
Florian Dold [Tue, 28 Feb 2017 17:53:31 +0000 (18:53 +0100)]
fix completely broken implementation of variable size elements

7 years agodon't free element that is stack-allocated now
Florian Dold [Tue, 28 Feb 2017 17:23:12 +0000 (18:23 +0100)]
don't free element that is stack-allocated now

7 years agoset profiler: allow variable element size via -w (width) option
Florian Dold [Tue, 28 Feb 2017 17:14:19 +0000 (18:14 +0100)]
set profiler: allow variable element size via -w (width) option

7 years agoset: destroy client mq properly
Florian Dold [Tue, 28 Feb 2017 16:26:05 +0000 (17:26 +0100)]
set: destroy client mq properly

7 years agoset: zero out listener to make tracking down bug easier
Florian Dold [Tue, 28 Feb 2017 15:53:19 +0000 (16:53 +0100)]
set: zero out listener to make tracking down bug easier

7 years agoset: adjust strata estimator bias
Florian Dold [Tue, 28 Feb 2017 15:07:46 +0000 (16:07 +0100)]
set: adjust strata estimator bias

7 years agoset: different thresholds
Florian Dold [Tue, 28 Feb 2017 14:49:37 +0000 (15:49 +0100)]
set: different thresholds

7 years agoset: more statistics
Florian Dold [Tue, 28 Feb 2017 14:34:29 +0000 (15:34 +0100)]
set: more statistics

7 years agodo not bitch at CADET for issues that can happen in normal operation
Christian Grothoff [Tue, 28 Feb 2017 14:21:32 +0000 (15:21 +0100)]
do not bitch at CADET for issues that can happen in normal operation

7 years agostart with larger IBF
Florian Dold [Tue, 28 Feb 2017 14:19:15 +0000 (15:19 +0100)]
start with larger IBF

7 years agomore stats for happy Florian
Christian Grothoff [Tue, 28 Feb 2017 13:56:37 +0000 (14:56 +0100)]
more stats for happy Florian

7 years agofix some breaks, add stats for encrypted/decrypted bytes in CADET
Christian Grothoff [Tue, 28 Feb 2017 13:53:32 +0000 (14:53 +0100)]
fix some breaks, add stats for encrypted/decrypted bytes in CADET

7 years agomulticast: fix replay_req_remove_client()
tg(x) [Tue, 28 Feb 2017 13:49:43 +0000 (14:49 +0100)]
multicast: fix replay_req_remove_client()

7 years agomisc minor fixes
Christian Grothoff [Tue, 28 Feb 2017 13:38:56 +0000 (14:38 +0100)]
misc minor fixes

7 years agodon't run set with valgrind per default
Florian Dold [Tue, 28 Feb 2017 12:36:13 +0000 (13:36 +0100)]
don't run set with valgrind per default

7 years agohigher constant before applying limit
Florian Dold [Tue, 28 Feb 2017 12:24:58 +0000 (13:24 +0100)]
higher constant before applying limit

7 years agologging
Florian Dold [Tue, 28 Feb 2017 12:19:56 +0000 (13:19 +0100)]
logging

7 years agoconsensus: slack-a2a evilness mode and static replication in profiler
Florian Dold [Tue, 28 Feb 2017 01:14:27 +0000 (02:14 +0100)]
consensus: slack-a2a evilness mode and static replication in profiler

7 years agofix sq logic, add to build
Christian Grothoff [Tue, 28 Feb 2017 04:25:49 +0000 (05:25 +0100)]
fix sq logic, add to build

7 years agocompleting sq_result_helper
Christian Grothoff [Tue, 28 Feb 2017 03:07:26 +0000 (04:07 +0100)]
completing sq_result_helper

7 years agoimplement revocation block plugin, get revocation test to pass again
Christian Grothoff [Mon, 27 Feb 2017 14:28:00 +0000 (15:28 +0100)]
implement revocation block plugin, get revocation test to pass again

7 years agofix set element type problem, make consensus work
Florian Dold [Mon, 27 Feb 2017 04:10:52 +0000 (05:10 +0100)]
fix set element type problem, make consensus work

7 years agofix type error and test cases
Florian Dold [Mon, 27 Feb 2017 03:15:09 +0000 (04:15 +0100)]
fix type error and test cases

7 years agoimplement lower bound agreement
Florian Dold [Mon, 27 Feb 2017 02:43:00 +0000 (03:43 +0100)]
implement lower bound agreement

7 years agofix missing nbo conversion
Florian Dold [Mon, 27 Feb 2017 02:42:43 +0000 (03:42 +0100)]
fix missing nbo conversion

7 years agofix ftbfs from consensus WIP
Florian Dold [Mon, 27 Feb 2017 02:02:28 +0000 (03:02 +0100)]
fix ftbfs from consensus WIP

7 years agofirst sketch for libgnuentsq test
Christian Grothoff [Mon, 27 Feb 2017 01:32:07 +0000 (02:32 +0100)]
first sketch for libgnuentsq test

7 years agoimplement sq_query_helper.c
Christian Grothoff [Mon, 27 Feb 2017 01:08:21 +0000 (02:08 +0100)]
implement sq_query_helper.c

7 years agomissing file
Florian Dold [Mon, 27 Feb 2017 00:25:17 +0000 (01:25 +0100)]
missing file

7 years agoinclude set size in result callback, needed by consensus
Florian Dold [Mon, 27 Feb 2017 00:18:54 +0000 (01:18 +0100)]
include set size in result callback, needed by consensus

7 years agoskeleton for libgnunetsq implementation
Christian Grothoff [Mon, 27 Feb 2017 00:18:50 +0000 (01:18 +0100)]
skeleton for libgnunetsq implementation

7 years agodesigning SQ-lib API
Christian Grothoff [Sun, 26 Feb 2017 23:23:34 +0000 (00:23 +0100)]
designing SQ-lib API

7 years agoadd validation for inner consensus element
Florian Dold [Sun, 26 Feb 2017 22:39:29 +0000 (23:39 +0100)]
add validation for inner consensus element

The nested block validation requires the block context, and thus the
evaluate callback not also receives the block context.

7 years agofix warning / add size validation for consensus block
Florian Dold [Sun, 26 Feb 2017 22:12:40 +0000 (23:12 +0100)]
fix warning / add size validation for consensus block

7 years agowrap consensus elements in block type
Florian Dold [Sun, 26 Feb 2017 22:05:29 +0000 (23:05 +0100)]
wrap consensus elements in block type

7 years agoensure all plugins properly use BF, move shared logic to shared library
Christian Grothoff [Sun, 26 Feb 2017 21:42:40 +0000 (22:42 +0100)]
ensure all plugins properly use BF, move shared logic to shared library

7 years agomake sure DHT does not pass around cyclic paths
Christian Grothoff [Sun, 26 Feb 2017 21:30:15 +0000 (22:30 +0100)]
make sure DHT does not pass around cyclic paths

7 years agomove path destruction to separate task to avoid deep-recursion free-while-in-use...
Christian Grothoff [Sun, 26 Feb 2017 19:26:31 +0000 (20:26 +0100)]
move path destruction to separate task to avoid deep-recursion free-while-in-use issue

7 years agomake test case run with both python2 and python3
Florian Dold [Sun, 26 Feb 2017 19:23:08 +0000 (20:23 +0100)]
make test case run with both python2 and python3

7 years agofix state when requesting full IBF
Florian Dold [Sun, 26 Feb 2017 18:55:31 +0000 (19:55 +0100)]
fix state when requesting full IBF