oweals/gnunet.git
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 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

7 years agoDisable test_client_unix.nc test on W32
Руслан Ижбулатов [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.

7 years agoHack gnunet_gst_def.h to allow it compile on W32
Руслан Ижбулатов [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

7 years agoChange helper libraries to be noinst_LTLIBTRARIES
Руслан Ижбулатов [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.

7 years agoTry to fix FTBFS
Руслан Ижбулатов [Sat, 25 Feb 2017 21:09:51 +0000 (21:09 +0000)]
Try to fix FTBFS

It seems that a ccc-> was missing here

7 years agontohl() return value casts for the testsuite on W32
Руслан Ижбулатов [Sat, 25 Feb 2017 21:09:05 +0000 (21:09 +0000)]
ntohl() return value casts for the testsuite on W32

7 years agoupdate ignore file
Christian Grothoff [Sun, 26 Feb 2017 01:56:57 +0000 (02:56 +0100)]
update ignore file

7 years agoget rid of non-working, non-maintained experimental alternative DHTs
Christian Grothoff [Sun, 26 Feb 2017 01:55:46 +0000 (02:55 +0100)]
get rid of non-working, non-maintained experimental alternative DHTs

7 years agoget rid of --enable-wachs option, move mlp plugin to experimental-only
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

7 years agodocument neighbour_limit option better
Christian Grothoff [Sun, 26 Feb 2017 01:09:59 +0000 (02:09 +0100)]
document neighbour_limit option better

7 years ago#4801 seems solidly fixed now, don't see how it can happen anymore
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

7 years agoadd note about but #4608
Christian Grothoff [Sun, 26 Feb 2017 00:28:25 +0000 (01:28 +0100)]
add note about but #4608

7 years agobump consensus and secretsharing to be built by default
Christian Grothoff [Sun, 26 Feb 2017 00:19:55 +0000 (01:19 +0100)]
bump consensus and secretsharing to be built by default

7 years agoadd to ignore
Christian Grothoff [Sun, 26 Feb 2017 00:15:24 +0000 (01:15 +0100)]
add to ignore

7 years agodisable valgrind
Christian Grothoff [Sun, 26 Feb 2017 00:07:26 +0000 (01:07 +0100)]
disable valgrind

7 years agofix ugly parts of test
Christian Grothoff [Sun, 26 Feb 2017 00:04:30 +0000 (01:04 +0100)]
fix ugly parts of test

7 years agoupdate ignore files
Christian Grothoff [Sat, 25 Feb 2017 23:52:17 +0000 (00:52 +0100)]
update ignore files

7 years agofix perf_peerinfo_api FTBFS
Christian Grothoff [Sat, 25 Feb 2017 23:50:35 +0000 (00:50 +0100)]
fix perf_peerinfo_api FTBFS

7 years agofix crash in test if DB did not yet exist
Christian Grothoff [Sat, 25 Feb 2017 23:34:16 +0000 (00:34 +0100)]
fix crash in test if DB did not yet exist

7 years agore-add interceptor entry for now
Christian Grothoff [Sat, 25 Feb 2017 23:23:31 +0000 (00:23 +0100)]
re-add interceptor entry for now

7 years agoW32: Fix msg allocation in gns helper service
Руслан Ижбулатов [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.

7 years agoW32: port gnunet-gns-import to new zone iterator callback API
Руслан Ижбулатов [Sat, 25 Feb 2017 12:56:57 +0000 (12:56 +0000)]
W32: port gnunet-gns-import to new zone iterator callback API

7 years agoFix an initialization warning (GCC bug 53119)
Руслан Ижбулатов [Sat, 25 Feb 2017 12:54:36 +0000 (12:54 +0000)]
Fix an initialization warning (GCC bug 53119)

7 years agoW32: cast ntohl() result to uint32_t
Руслан Ижбулатов [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!

7 years agoW32: Splice GNUNET_memcpy macro into NAT and GNS helpers
Руслан Ижбулатов [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.

7 years agoSilence a GCC warning in gnunet-nat.c
Руслан Ижбулатов [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.

7 years agoLink libgnunetblockgroup to libgnunetblock
Руслан Ижбулатов [Sat, 25 Feb 2017 12:49:53 +0000 (12:49 +0000)]
Link libgnunetblockgroup to libgnunetblock

Otherwise it won't link on W32.

7 years agoW32: placate GCC by initializing lsocks_write_fd to NULL
Руслан Ижбулатов [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.

7 years agoW32: Fix wrong format strings
Руслан Ижбулатов [Sat, 25 Feb 2017 12:48:30 +0000 (12:48 +0000)]
W32: Fix wrong format strings

7 years agoW32: Fix the conditaions for the ifconfig function
Руслан Ижбулатов [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.

7 years agoW32: Fix a possible control flow error
Руслан Ижбулатов [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.

7 years agoShuffle some vars around to fix a warning
Руслан Ижбулатов [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.

7 years agoUse GNU printf format
Руслан Ижбулатов [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.

7 years agoW32: adapt the code to GNUNET_memcpy() that returns nothing
Руслан Ижбулатов [Sat, 25 Feb 2017 12:43:25 +0000 (12:43 +0000)]
W32: adapt the code to GNUNET_memcpy() that returns nothing

7 years agoFix ftbfs
Christian Grothoff [Sat, 25 Feb 2017 03:39:19 +0000 (04:39 +0100)]
Fix ftbfs

7 years agoextensive tutorial updates
Christian Grothoff [Sat, 25 Feb 2017 03:37:39 +0000 (04:37 +0100)]
extensive tutorial updates

7 years agothis should be dead
Christian Grothoff [Sat, 25 Feb 2017 03:06:58 +0000 (04:06 +0100)]
this should be dead

7 years agoupdating gnunet-gns-helper-service-w32 to current APIs
Christian Grothoff [Sat, 25 Feb 2017 03:05:28 +0000 (04:05 +0100)]
updating gnunet-gns-helper-service-w32 to current APIs

7 years agosh is sufficient, does not seem to require bash specifically
Christian Grothoff [Sat, 25 Feb 2017 00:54:04 +0000 (01:54 +0100)]
sh is sufficient, does not seem to require bash specifically

7 years agoAdd Vagrant file for development
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>
7 years agomulticast: logging, test fix
tg(x) [Fri, 24 Feb 2017 21:54:04 +0000 (22:54 +0100)]
multicast: logging, test fix

7 years agoutil: logging
tg(x) [Fri, 24 Feb 2017 21:19:16 +0000 (22:19 +0100)]
util: logging

7 years agoMerge branch 'master' of gnunet.org:gnunet
tg(x) [Fri, 24 Feb 2017 19:10:46 +0000 (20:10 +0100)]
Merge branch 'master' of gnunet.org:gnunet

7 years agoutil: add component name to LOG macros; util/client: log incoming message type/size...
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

7 years agoadd byzantine/force options to profiler
Florian Dold [Fri, 24 Feb 2017 17:27:21 +0000 (18:27 +0100)]
add byzantine/force options to profiler

7 years agoalways send bigger set on full send
Florian Dold [Fri, 24 Feb 2017 17:07:42 +0000 (18:07 +0100)]
always send bigger set on full send

7 years agoadd option parsing
Florian Dold [Fri, 24 Feb 2017 14:50:48 +0000 (15:50 +0100)]
add option parsing

7 years agominimal code cleanup
Christian Grothoff [Fri, 24 Feb 2017 16:32:03 +0000 (17:32 +0100)]
minimal code cleanup

7 years agoimprove traffic drop heuristic
Christian Grothoff [Fri, 24 Feb 2017 13:31:51 +0000 (14:31 +0100)]
improve traffic drop heuristic

7 years agolower log level
Christian Grothoff [Fri, 24 Feb 2017 13:18:32 +0000 (14:18 +0100)]
lower log level

7 years agonot always ready when send_kx is called
Christian Grothoff [Fri, 24 Feb 2017 13:16:27 +0000 (14:16 +0100)]
not always ready when send_kx is called

7 years agopermit NULL head
Christian Grothoff [Fri, 24 Feb 2017 13:12:03 +0000 (14:12 +0100)]
permit NULL head

7 years agoupdate counters properly
Christian Grothoff [Fri, 24 Feb 2017 12:25:56 +0000 (13:25 +0100)]
update counters properly

7 years agoupdate .gitignore files
Christian Grothoff [Thu, 23 Feb 2017 21:55:18 +0000 (22:55 +0100)]
update .gitignore files

7 years agouse of dns2gns proxy instead of DNS interceptor in VPN test
Christian Grothoff [Thu, 23 Feb 2017 21:54:17 +0000 (22:54 +0100)]
use of dns2gns proxy instead of DNS interceptor in VPN test

7 years agofix use of uninitialized ID after last refactoring
Christian Grothoff [Thu, 23 Feb 2017 21:53:24 +0000 (22:53 +0100)]
fix use of uninitialized ID after last refactoring