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

7 years agolog which name we are resolving
Christian Grothoff [Thu, 23 Feb 2017 21:52:53 +0000 (22:52 +0100)]
log which name we are resolving

7 years agochange default port to 53, use setcap to enable binding to low port
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

7 years agofix indentation, typo, improve logging
Christian Grothoff [Thu, 23 Feb 2017 21:51:25 +0000 (22:51 +0100)]
fix indentation, typo, improve logging

7 years agofix indentation
Christian Grothoff [Thu, 23 Feb 2017 21:50:52 +0000 (22:50 +0100)]
fix indentation

7 years agofix typo in example
Christian Grothoff [Thu, 23 Feb 2017 21:50:24 +0000 (22:50 +0100)]
fix typo in example

7 years agofix termination, proper shutdown on CTRL-C
Christian Grothoff [Thu, 23 Feb 2017 21:50:03 +0000 (22:50 +0100)]
fix termination, proper shutdown on CTRL-C

7 years agoimplement union via sending whole set
Florian Dold [Thu, 23 Feb 2017 16:13:39 +0000 (17:13 +0100)]
implement union via sending whole set

7 years agoadd set operation options
Florian Dold [Thu, 23 Feb 2017 14:15:33 +0000 (15:15 +0100)]
add set operation options

7 years agocomments
Florian Dold [Thu, 23 Feb 2017 13:52:02 +0000 (14:52 +0100)]
comments

7 years agoabort union if we receive too little fresh elements
Florian Dold [Thu, 23 Feb 2017 13:18:21 +0000 (14:18 +0100)]
abort union if we receive too little fresh elements

7 years agolimit queue size CORE maintains for any client, warn if we exceed it
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

7 years agoeven nicer queue size optimization: insert-at-tail if we can instantly tell, always
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

7 years agooptimize queue-full case, reduce max queue size due to O(n) operation
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

7 years agocomplain if MQ gets way too long
Christian Grothoff [Thu, 23 Feb 2017 13:28:42 +0000 (14:28 +0100)]
complain if MQ gets way too long

7 years agoconvert EXIT to new CADET MQ API
Christian Grothoff [Thu, 23 Feb 2017 13:08:07 +0000 (14:08 +0100)]
convert EXIT to new CADET MQ API

7 years agofix shutdown sequence on MQ errors
Christian Grothoff [Wed, 22 Feb 2017 22:51:45 +0000 (23:51 +0100)]
fix shutdown sequence on MQ errors

7 years agotimeout -> skip for switch tests
Christian Grothoff [Wed, 22 Feb 2017 21:08:15 +0000 (22:08 +0100)]
timeout -> skip for switch tests

7 years agomulticast: switch to new cadet api
tg(x) [Wed, 22 Feb 2017 20:59:56 +0000 (21:59 +0100)]
multicast: switch to new cadet api

7 years agoremove dead code and dead linker dependencies
Christian Grothoff [Wed, 22 Feb 2017 20:42:42 +0000 (21:42 +0100)]
remove dead code and dead linker dependencies

7 years agoremove support for reverse lookup and shortening from GNS (#4849)
Christian Grothoff [Wed, 22 Feb 2017 20:29:42 +0000 (21:29 +0100)]
remove support for reverse lookup and shortening from GNS (#4849)

7 years agoignore generated temp files that are frequently generated
Christian Grothoff [Wed, 22 Feb 2017 20:05:00 +0000 (21:05 +0100)]
ignore generated temp files that are frequently generated

7 years agodo not fail hard if this test does not work
Christian Grothoff [Wed, 22 Feb 2017 20:04:20 +0000 (21:04 +0100)]
do not fail hard if this test does not work

7 years agofix compile errors
Christian Grothoff [Wed, 22 Feb 2017 19:58:41 +0000 (20:58 +0100)]
fix compile errors

7 years agoconverting 'vpn' to new CADET API, not tested/testable, as exit is not converted yet
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

7 years agoconverting 'pt' to new CADET API, not tested/testable, as exit/vpn are 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

7 years agoeliminate dead argument
Christian Grothoff [Wed, 22 Feb 2017 15:03:22 +0000 (16:03 +0100)]
eliminate dead argument

7 years agofix bug introduced with BLOCK change where we would eval a local reply twice and...
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

7 years agono log macro in here
Christian Grothoff [Wed, 22 Feb 2017 13:55:28 +0000 (14:55 +0100)]
no log macro in here

7 years agostrcmp instead of memcmp
Christian Grothoff [Wed, 22 Feb 2017 13:53:46 +0000 (14:53 +0100)]
strcmp instead of memcmp

7 years agostrcmp instead of memcmp
Christian Grothoff [Wed, 22 Feb 2017 13:53:11 +0000 (14:53 +0100)]
strcmp instead of memcmp

7 years agonot exactly a protocol violation, but a case for stats
Christian Grothoff [Wed, 22 Feb 2017 13:31:18 +0000 (14:31 +0100)]
not exactly a protocol violation, but a case for stats

7 years agocomplain harder about this type of violation
Christian Grothoff [Wed, 22 Feb 2017 13:27:30 +0000 (14:27 +0100)]
complain harder about this type of violation

7 years agofix sign issue in bitshift
Christian Grothoff [Wed, 22 Feb 2017 13:25:06 +0000 (14:25 +0100)]
fix sign issue in bitshift

7 years agoenable RR option for HELLO gets in DHT
Christian Grothoff [Wed, 22 Feb 2017 13:17:05 +0000 (14:17 +0100)]
enable RR option for HELLO gets in DHT

7 years agofix type
Christian Grothoff [Wed, 22 Feb 2017 12:49:09 +0000 (13:49 +0100)]
fix type

7 years agofix test_dht_montior abortion
Christian Grothoff [Wed, 22 Feb 2017 12:48:23 +0000 (13:48 +0100)]
fix test_dht_montior abortion

7 years agofix test_dht_montior abortion, fix crash on NULL HELLO
Christian Grothoff [Wed, 22 Feb 2017 12:46:57 +0000 (13:46 +0100)]
fix test_dht_montior abortion, fix crash on NULL HELLO

7 years agosupport BF size adjustments in other plugins
Christian Grothoff [Wed, 22 Feb 2017 12:41:33 +0000 (13:41 +0100)]
support BF size adjustments in other plugins

7 years agofix typo
Christian Grothoff [Wed, 22 Feb 2017 10:43:53 +0000 (11:43 +0100)]
fix typo

7 years agofix typo
Christian Grothoff [Wed, 22 Feb 2017 10:43:00 +0000 (11:43 +0100)]
fix typo

7 years agotry to fix BF size mess created by original BLOCK API change
Christian Grothoff [Wed, 22 Feb 2017 10:40:46 +0000 (11:40 +0100)]
try to fix BF size mess created by original BLOCK API change

7 years agoclean up new block logic, avoid direct linkage against blockgroup lib from DHT service
Christian Grothoff [Wed, 22 Feb 2017 10:10:02 +0000 (11:10 +0100)]
clean up new block logic, avoid direct linkage against blockgroup lib from DHT service

7 years agofix-typo
Christian Grothoff [Tue, 21 Feb 2017 22:54:37 +0000 (23:54 +0100)]
fix-typo

7 years agofix misc typos
Christian Grothoff [Tue, 21 Feb 2017 21:47:41 +0000 (22:47 +0100)]
fix misc typos

7 years agofix sun_len issue (#4816) by adding test and fixing typo
Christian Grothoff [Tue, 21 Feb 2017 19:20:33 +0000 (20:20 +0100)]
fix sun_len issue (#4816) by adding test and fixing typo

7 years agoupdate .ignore file
Christian Grothoff [Tue, 21 Feb 2017 19:12:30 +0000 (20:12 +0100)]
update .ignore file

7 years agohandle errors without crashing
Christian Grothoff [Tue, 21 Feb 2017 19:11:20 +0000 (20:11 +0100)]
handle errors without crashing

7 years agoenforce sequential test order (#4860)
Christian Grothoff [Tue, 21 Feb 2017 19:07:01 +0000 (20:07 +0100)]
enforce sequential test order (#4860)

7 years agoignore new testcases
Bart Polot [Tue, 21 Feb 2017 18:28:23 +0000 (19:28 +0100)]
ignore new testcases

7 years agoAdd new testcases, to exercise the mq API.
Bart Polot [Tue, 21 Feb 2017 18:26:23 +0000 (19:26 +0100)]
Add new testcases, to exercise the mq API.

7 years agofix conversation issue to make tests pass again
Christian Grothoff [Tue, 21 Feb 2017 16:57:14 +0000 (17:57 +0100)]
fix conversation issue to make tests pass again

7 years agochange Makefile.am back so it builds at least; fix #4908 in cadet API
Christian Grothoff [Tue, 21 Feb 2017 16:47:06 +0000 (17:47 +0100)]
change Makefile.am back so it builds at least; fix #4908 in cadet API

7 years agodisable valgrind during test
Christian Grothoff [Tue, 21 Feb 2017 15:55:48 +0000 (16:55 +0100)]
disable valgrind during test

7 years agoignore update
Christian Grothoff [Tue, 21 Feb 2017 15:54:04 +0000 (16:54 +0100)]
ignore update

7 years agoconverting conversation to use new CADET API
Christian Grothoff [Tue, 21 Feb 2017 15:53:37 +0000 (16:53 +0100)]
converting conversation to use new CADET API

7 years agoFix channel disconnect checking<
Bart Polot [Tue, 21 Feb 2017 12:48:00 +0000 (13:48 +0100)]
Fix channel disconnect checking<

7 years ago- verbose log
Bart Polot [Tue, 21 Feb 2017 12:47:40 +0000 (13:47 +0100)]
- verbose log

7 years ago- doc
Bart Polot [Tue, 21 Feb 2017 12:47:13 +0000 (13:47 +0100)]
- doc

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