Florian Dold [Mon, 27 Feb 2017 00:18:54 +0000 (01:18 +0100)]
include set size in result callback, needed by consensus
Christian Grothoff [Mon, 27 Feb 2017 00:18:50 +0000 (01:18 +0100)]
skeleton for libgnunetsq implementation
Christian Grothoff [Sun, 26 Feb 2017 23:23:34 +0000 (00:23 +0100)]
designing SQ-lib API
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.
Florian Dold [Sun, 26 Feb 2017 22:12:40 +0000 (23:12 +0100)]
fix warning / add size validation for consensus block
Florian Dold [Sun, 26 Feb 2017 22:05:29 +0000 (23:05 +0100)]
wrap consensus elements in block type
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
Christian Grothoff [Sun, 26 Feb 2017 21:30:15 +0000 (22:30 +0100)]
make sure DHT does not pass around cyclic paths
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
Florian Dold [Sun, 26 Feb 2017 19:23:08 +0000 (20:23 +0100)]
make test case run with both python2 and python3
Florian Dold [Sun, 26 Feb 2017 18:55:31 +0000 (19:55 +0100)]
fix state when requesting full IBF
Руслан Ижбулатов [Sat, 25 Feb 2017 21:13:33 +0000 (21:13 +0000)]
Disable test_client_unix.nc test on W32
It does not seem that this test can actually run on W32 at all.
Руслан Ижбулатов [Sat, 25 Feb 2017 21:12:00 +0000 (21:12 +0000)]
Hack gnunet_gst_def.h to allow it compile on W32
This is really unnecessary though - these headers are mostly included already
from platform.h and gnunet_common.h
Руслан Ижбулатов [Sat, 25 Feb 2017 21:10:46 +0000 (21:10 +0000)]
Change helper libraries to be noinst_LTLIBTRARIES
This is the standard way to make helper/convenience libraries with libtool.
Doesn't link on W32 otherwise.
Руслан Ижбулатов [Sat, 25 Feb 2017 21:09:51 +0000 (21:09 +0000)]
Try to fix FTBFS
It seems that a ccc-> was missing here
Руслан Ижбулатов [Sat, 25 Feb 2017 21:09:05 +0000 (21:09 +0000)]
ntohl() return value casts for the testsuite on W32
Christian Grothoff [Sun, 26 Feb 2017 01:56:57 +0000 (02:56 +0100)]
update ignore file
Christian Grothoff [Sun, 26 Feb 2017 01:55:46 +0000 (02:55 +0100)]
get rid of non-working, non-maintained experimental alternative DHTs
Christian Grothoff [Sun, 26 Feb 2017 01:52:03 +0000 (02:52 +0100)]
get rid of --enable-wachs option, move mlp plugin to experimental-only
Christian Grothoff [Sun, 26 Feb 2017 01:09:59 +0000 (02:09 +0100)]
document neighbour_limit option better
Christian Grothoff [Sun, 26 Feb 2017 01:03:37 +0000 (02:03 +0100)]
#4801 seems solidly fixed now, don't see how it can happen anymore
Christian Grothoff [Sun, 26 Feb 2017 00:28:25 +0000 (01:28 +0100)]
add note about but #4608
Christian Grothoff [Sun, 26 Feb 2017 00:19:55 +0000 (01:19 +0100)]
bump consensus and secretsharing to be built by default
Christian Grothoff [Sun, 26 Feb 2017 00:15:24 +0000 (01:15 +0100)]
add to ignore
Christian Grothoff [Sun, 26 Feb 2017 00:07:26 +0000 (01:07 +0100)]
disable valgrind
Christian Grothoff [Sun, 26 Feb 2017 00:04:30 +0000 (01:04 +0100)]
fix ugly parts of test
Christian Grothoff [Sat, 25 Feb 2017 23:52:17 +0000 (00:52 +0100)]
update ignore files
Christian Grothoff [Sat, 25 Feb 2017 23:50:35 +0000 (00:50 +0100)]
fix perf_peerinfo_api FTBFS
Christian Grothoff [Sat, 25 Feb 2017 23:34:16 +0000 (00:34 +0100)]
fix crash in test if DB did not yet exist
Christian Grothoff [Sat, 25 Feb 2017 23:23:31 +0000 (00:23 +0100)]
re-add interceptor entry for now
Руслан Ижбулатов [Sat, 25 Feb 2017 12:57:37 +0000 (12:57 +0000)]
W32: Fix msg allocation in gns helper service
The code was hacky, and GCC warned about variables being used without
initialization. Turns out, it was much worse.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:56:57 +0000 (12:56 +0000)]
W32: port gnunet-gns-import to new zone iterator callback API
Руслан Ижбулатов [Sat, 25 Feb 2017 12:54:36 +0000 (12:54 +0000)]
Fix an initialization warning (GCC bug 53119)
Руслан Ижбулатов [Sat, 25 Feb 2017 12:50:24 +0000 (12:50 +0000)]
W32: cast ntohl() result to uint32_t
W32 version of ntohl() returns u_long. Thank you, Microsoft!
Руслан Ижбулатов [Sat, 25 Feb 2017 12:51:51 +0000 (12:51 +0000)]
W32: Splice GNUNET_memcpy macro into NAT and GNS helpers
Including gnunet_common.h is too bothersome, these programs are designed
to be relatively standalone.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:51:14 +0000 (12:51 +0000)]
Silence a GCC warning in gnunet-nat.c
It's unobvious how this variable could be used uninitialized, but GCC complains.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:49:53 +0000 (12:49 +0000)]
Link libgnunetblockgroup to libgnunetblock
Otherwise it won't link on W32.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:48:55 +0000 (12:48 +0000)]
W32: placate GCC by initializing lsocks_write_fd to NULL
I've treid to find the path where it is used uninitialized, but failed to find it.
Just make GCC shut up.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:48:30 +0000 (12:48 +0000)]
W32: Fix wrong format strings
Руслан Ижбулатов [Sat, 25 Feb 2017 12:47:56 +0000 (12:47 +0000)]
W32: Fix the conditaions for the ifconfig function
It's not used on W32.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:47:07 +0000 (12:47 +0000)]
W32: Fix a possible control flow error
Make sure we eitehr return or set ftype to something.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:46:03 +0000 (12:46 +0000)]
Shuffle some vars around to fix a warning
On W32 the 'gc' variable is left unused.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:44:28 +0000 (12:44 +0000)]
Use GNU printf format
This change only affects W32. GCC resolves "printf" format attribute to "gnu_printf"
or "ms_printf" depending on the host platform. Make sure it uses gnu_printf even on
W32, because all format strings GNUnet uses are in GNU format.
Руслан Ижбулатов [Sat, 25 Feb 2017 12:43:25 +0000 (12:43 +0000)]
W32: adapt the code to GNUNET_memcpy() that returns nothing
Christian Grothoff [Sat, 25 Feb 2017 03:39:19 +0000 (04:39 +0100)]
Fix ftbfs
Christian Grothoff [Sat, 25 Feb 2017 03:37:39 +0000 (04:37 +0100)]
extensive tutorial updates
Christian Grothoff [Sat, 25 Feb 2017 03:06:58 +0000 (04:06 +0100)]
this should be dead
Christian Grothoff [Sat, 25 Feb 2017 03:05:28 +0000 (04:05 +0100)]
updating gnunet-gns-helper-service-w32 to current APIs
Christian Grothoff [Sat, 25 Feb 2017 00:54:04 +0000 (01:54 +0100)]
sh is sufficient, does not seem to require bash specifically
Antonio Ojea [Fri, 24 Feb 2017 13:22:28 +0000 (14:22 +0100)]
Add Vagrant file for development
This patch adds a vagranfile that installs the required
dependencies to compile gnunet.
To be able to use it you need to cd to the contrib/vagrant
directory, run "vagrant up" and wait until the VM is provisioned.
Once it finish the provisioning you can login in the VM with
"vagrant ssh" The VM mounts the source code of gnunet in the
folder /gnunet, thus you can edit your code in the host and
compile it in the VM.
Signed-off-by: Antonio Ojea <aojea@midokura.com>
tg(x) [Fri, 24 Feb 2017 21:54:04 +0000 (22:54 +0100)]
multicast: logging, test fix
tg(x) [Fri, 24 Feb 2017 21:19:16 +0000 (22:19 +0100)]
util: logging
tg(x) [Fri, 24 Feb 2017 19:10:46 +0000 (20:10 +0100)]
Merge branch 'master' of gnunet.org:gnunet
tg(x) [Fri, 24 Feb 2017 19:10:42 +0000 (20:10 +0100)]
util: add component name to LOG macros; util/client: log incoming message type/size/source for gnunet-logread
Florian Dold [Fri, 24 Feb 2017 17:27:21 +0000 (18:27 +0100)]
add byzantine/force options to profiler
Florian Dold [Fri, 24 Feb 2017 17:07:42 +0000 (18:07 +0100)]
always send bigger set on full send
Florian Dold [Fri, 24 Feb 2017 14:50:48 +0000 (15:50 +0100)]
add option parsing
Christian Grothoff [Fri, 24 Feb 2017 16:32:03 +0000 (17:32 +0100)]
minimal code cleanup
Christian Grothoff [Fri, 24 Feb 2017 13:31:51 +0000 (14:31 +0100)]
improve traffic drop heuristic
Christian Grothoff [Fri, 24 Feb 2017 13:18:32 +0000 (14:18 +0100)]
lower log level
Christian Grothoff [Fri, 24 Feb 2017 13:16:27 +0000 (14:16 +0100)]
not always ready when send_kx is called
Christian Grothoff [Fri, 24 Feb 2017 13:12:03 +0000 (14:12 +0100)]
permit NULL head
Christian Grothoff [Fri, 24 Feb 2017 12:25:56 +0000 (13:25 +0100)]
update counters properly
Christian Grothoff [Thu, 23 Feb 2017 21:55:18 +0000 (22:55 +0100)]
update .gitignore files
Christian Grothoff [Thu, 23 Feb 2017 21:54:17 +0000 (22:54 +0100)]
use of dns2gns proxy instead of DNS interceptor in VPN test
Christian Grothoff [Thu, 23 Feb 2017 21:53:24 +0000 (22:53 +0100)]
fix use of uninitialized ID after last refactoring
Christian Grothoff [Thu, 23 Feb 2017 21:52:53 +0000 (22:52 +0100)]
log which name we are resolving
Christian Grothoff [Thu, 23 Feb 2017 21:52:21 +0000 (22:52 +0100)]
change default port to 53, use setcap to enable binding to low port
Christian Grothoff [Thu, 23 Feb 2017 21:51:25 +0000 (22:51 +0100)]
fix indentation, typo, improve logging
Christian Grothoff [Thu, 23 Feb 2017 21:50:52 +0000 (22:50 +0100)]
fix indentation
Christian Grothoff [Thu, 23 Feb 2017 21:50:24 +0000 (22:50 +0100)]
fix typo in example
Christian Grothoff [Thu, 23 Feb 2017 21:50:03 +0000 (22:50 +0100)]
fix termination, proper shutdown on CTRL-C
Florian Dold [Thu, 23 Feb 2017 16:13:39 +0000 (17:13 +0100)]
implement union via sending whole set
Florian Dold [Thu, 23 Feb 2017 14:15:33 +0000 (15:15 +0100)]
add set operation options
Florian Dold [Thu, 23 Feb 2017 13:52:02 +0000 (14:52 +0100)]
comments
Florian Dold [Thu, 23 Feb 2017 13:18:21 +0000 (14:18 +0100)]
abort union if we receive too little fresh elements
Christian Grothoff [Thu, 23 Feb 2017 14:44:06 +0000 (15:44 +0100)]
limit queue size CORE maintains for any client, warn if we exceed it
Christian Grothoff [Thu, 23 Feb 2017 14:33:51 +0000 (15:33 +0100)]
even nicer queue size optimization: insert-at-tail if we can instantly tell, always
Christian Grothoff [Thu, 23 Feb 2017 14:32:06 +0000 (15:32 +0100)]
optimize queue-full case, reduce max queue size due to O(n) operation
Christian Grothoff [Thu, 23 Feb 2017 13:28:42 +0000 (14:28 +0100)]
complain if MQ gets way too long
Christian Grothoff [Thu, 23 Feb 2017 13:08:07 +0000 (14:08 +0100)]
convert EXIT to new CADET MQ API
Christian Grothoff [Wed, 22 Feb 2017 22:51:45 +0000 (23:51 +0100)]
fix shutdown sequence on MQ errors
Christian Grothoff [Wed, 22 Feb 2017 21:08:15 +0000 (22:08 +0100)]
timeout -> skip for switch tests
tg(x) [Wed, 22 Feb 2017 20:59:56 +0000 (21:59 +0100)]
multicast: switch to new cadet api
Christian Grothoff [Wed, 22 Feb 2017 20:42:42 +0000 (21:42 +0100)]
remove dead code and dead linker dependencies
Christian Grothoff [Wed, 22 Feb 2017 20:29:42 +0000 (21:29 +0100)]
remove support for reverse lookup and shortening from GNS (#4849)
Christian Grothoff [Wed, 22 Feb 2017 20:05:00 +0000 (21:05 +0100)]
ignore generated temp files that are frequently generated
Christian Grothoff [Wed, 22 Feb 2017 20:04:20 +0000 (21:04 +0100)]
do not fail hard if this test does not work
Christian Grothoff [Wed, 22 Feb 2017 19:58:41 +0000 (20:58 +0100)]
fix compile errors
Christian Grothoff [Wed, 22 Feb 2017 16:32:15 +0000 (17:32 +0100)]
converting 'vpn' to new CADET API, not tested/testable, as exit is not converted yet
Christian Grothoff [Wed, 22 Feb 2017 15:49:08 +0000 (16:49 +0100)]
converting 'pt' to new CADET API, not tested/testable, as exit/vpn are not converted yet
Christian Grothoff [Wed, 22 Feb 2017 15:03:22 +0000 (16:03 +0100)]
eliminate dead argument
Christian Grothoff [Wed, 22 Feb 2017 15:01:19 +0000 (16:01 +0100)]
fix bug introduced with BLOCK change where we would eval a local reply twice and discard it as duplicate in the end
Christian Grothoff [Wed, 22 Feb 2017 13:55:28 +0000 (14:55 +0100)]
no log macro in here
Christian Grothoff [Wed, 22 Feb 2017 13:53:46 +0000 (14:53 +0100)]
strcmp instead of memcmp
Christian Grothoff [Wed, 22 Feb 2017 13:53:11 +0000 (14:53 +0100)]
strcmp instead of memcmp
Christian Grothoff [Wed, 22 Feb 2017 13:31:18 +0000 (14:31 +0100)]
not exactly a protocol violation, but a case for stats
Christian Grothoff [Wed, 22 Feb 2017 13:27:30 +0000 (14:27 +0100)]
complain harder about this type of violation
Christian Grothoff [Wed, 22 Feb 2017 13:25:06 +0000 (14:25 +0100)]
fix sign issue in bitshift
Christian Grothoff [Wed, 22 Feb 2017 13:17:05 +0000 (14:17 +0100)]
enable RR option for HELLO gets in DHT