oweals/gnunet.git
6 years agoUse the DNSPARSER and DNSSTUB libraries in the resolver service
lurchi [Thu, 28 Jun 2018 22:10:08 +0000 (00:10 +0200)]
Use the DNSPARSER and DNSSTUB libraries in the resolver service

We are not using the libc functions anymore for forward and backup
DNS resolutions and the DNSPARSER and DNSSTUB libraries instead.
This has the advantage that the APIs are asynchronous now and
thus multiple DNS resolutions can be done in parallel.

This breaks support for Windows and other operating systems that
don't use /etc/resolv.conf for defining DNS servers. For fixing
this the function lookup_dns_servers can be extended with different
lookup mechanisms.

6 years agoAllow dereferenced pointers as input for GNUNET_array_grow and GNUNET_xgrow
lurchi [Thu, 28 Jun 2018 22:04:25 +0000 (00:04 +0200)]
Allow dereferenced pointers as input for GNUNET_array_grow and GNUNET_xgrow

This is now possible:
char ***server_addrs = NULL
unsigned int len = 0
GNUNET_array_append (*server_addrs, len, "8.8.8.8");

6 years agointroduce API functions for duplicating the DNSPARSER record types
lurchi [Thu, 28 Jun 2018 22:01:48 +0000 (00:01 +0200)]
introduce API functions for duplicating the DNSPARSER record types

6 years agofix documentation: add missing section to menu
Julius Bünger [Thu, 28 Jun 2018 21:47:51 +0000 (23:47 +0200)]
fix documentation: add missing section to menu

6 years agofix
Nils Gillmann [Thu, 28 Jun 2018 19:35:51 +0000 (19:35 +0000)]
fix

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoinclude the agpl-3.0 license text in the book
Nils Gillmann [Thu, 28 Jun 2018 19:35:29 +0000 (19:35 +0000)]
include the agpl-3.0 license text in the book

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodocumentation: in chapter contributing update gpl to agpl3 when it refers to code.
Nils Gillmann [Thu, 28 Jun 2018 19:32:08 +0000 (19:32 +0000)]
documentation: in chapter contributing update gpl to agpl3 when it refers to code.

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agopreface updates based on feedback from Bernd
Christian Grothoff [Thu, 28 Jun 2018 10:39:52 +0000 (12:39 +0200)]
preface updates based on feedback from Bernd

6 years agoadd the patches from exported patch attic
Nils Gillmann [Thu, 28 Jun 2018 10:39:18 +0000 (10:39 +0000)]
add the patches from exported patch attic

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agobatch commit my GPL3 shepherd service file WIP collection
Nils Gillmann [Thu, 28 Jun 2018 10:18:01 +0000 (10:18 +0000)]
batch commit my GPL3 shepherd service file WIP collection

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agodoc: move check install and configuration to installation
Julius Bünger [Thu, 28 Jun 2018 08:36:39 +0000 (10:36 +0200)]
doc: move check install and configuration to installation

6 years agoclean up MQ error handling in cadet_api
Christian Grothoff [Thu, 28 Jun 2018 08:24:09 +0000 (10:24 +0200)]
clean up MQ error handling in cadet_api

6 years agofix doc: consistent titles
Julius Bünger [Thu, 28 Jun 2018 08:09:03 +0000 (10:09 +0200)]
fix doc: consistent titles

6 years agodoc: typos
Hernani Marques [Thu, 28 Jun 2018 02:00:38 +0000 (04:00 +0200)]
doc: typos

6 years agoshowing destination in path
t3sserakt [Wed, 27 Jun 2018 23:39:24 +0000 (01:39 +0200)]
showing destination in path

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
t3sserakt [Wed, 27 Jun 2018 23:36:18 +0000 (01:36 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agoMerge branch 'master' of https://gnunet.org/git/gnunet
lurchi [Wed, 27 Jun 2018 23:29:14 +0000 (01:29 +0200)]
Merge branch 'master' of https://gnunet.org/git/gnunet

6 years agoadd Installation chapter
lurchi [Wed, 27 Jun 2018 23:22:01 +0000 (01:22 +0200)]
add Installation chapter

6 years agoforgot first hop
t3sserakt [Wed, 27 Jun 2018 22:58:24 +0000 (00:58 +0200)]
forgot first hop

6 years agoindentation
Christian Grothoff [Wed, 27 Jun 2018 22:45:35 +0000 (00:45 +0200)]
indentation

6 years agopolish/update user documentation - first steps
Julius Bünger [Wed, 27 Jun 2018 22:35:14 +0000 (00:35 +0200)]
polish/update user documentation - first steps

6 years agoChanged philosophy.texi (and split philosophy and key concepts).wq
Bernd Fix [Wed, 27 Jun 2018 21:34:33 +0000 (23:34 +0200)]
Changed philosophy.texi (and split philosophy and key concepts).wq

6 years agorestructure user documentation
Julius Bünger [Wed, 27 Jun 2018 21:06:21 +0000 (23:06 +0200)]
restructure user documentation

6 years agofix comments
xrs [Wed, 27 Jun 2018 18:18:23 +0000 (20:18 +0200)]
fix comments

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 27 Jun 2018 17:16:33 +0000 (19:16 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agofix mem leak (when streaming large data streams)
xrs [Wed, 27 Jun 2018 17:16:02 +0000 (19:16 +0200)]
fix mem leak (when streaming large data streams)

6 years agognunet-helper-nat-server.c: fix 100% cpu load
xrs [Tue, 26 Jun 2018 21:29:17 +0000 (23:29 +0200)]
gnunet-helper-nat-server.c: fix 100% cpu load

6 years agomore disabled forcestart just to be sure
Christian Grothoff [Tue, 26 Jun 2018 21:05:41 +0000 (23:05 +0200)]
more disabled forcestart just to be sure

6 years agorps cli: fix codesonars NULL-dereference warning
Julius Bünger [Tue, 26 Jun 2018 21:03:04 +0000 (23:03 +0200)]
rps cli: fix codesonars NULL-dereference warning

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Hernani Marques [Tue, 26 Jun 2018 20:46:11 +0000 (22:46 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years agodoc: '2average' seems to be intended
Hernani Marques [Tue, 26 Jun 2018 20:45:56 +0000 (22:45 +0200)]
doc: '2average' seems to be intended

6 years agokill more leftovers
Christian Grothoff [Tue, 26 Jun 2018 20:40:18 +0000 (22:40 +0200)]
kill more leftovers

6 years agodoc: typos
Hernani Marques [Tue, 26 Jun 2018 20:40:30 +0000 (22:40 +0200)]
doc: typos

6 years agofix another one of bad frees from Julius
Christian Grothoff [Tue, 26 Jun 2018 15:04:12 +0000 (17:04 +0200)]
fix another one of bad frees from Julius

6 years agoremove remenants
Christian Grothoff [Tue, 26 Jun 2018 13:25:55 +0000 (15:25 +0200)]
remove remenants

6 years agodisable valgrind
Christian Grothoff [Tue, 26 Jun 2018 13:23:42 +0000 (15:23 +0200)]
disable valgrind

6 years agofix bad free
Christian Grothoff [Tue, 26 Jun 2018 13:15:36 +0000 (15:15 +0200)]
fix bad free

6 years agocoding style
t3sserakt [Tue, 26 Jun 2018 13:11:08 +0000 (15:11 +0200)]
coding style

6 years agofix several memory leaks
Julius Bünger [Tue, 26 Jun 2018 13:00:42 +0000 (15:00 +0200)]
fix several memory leaks

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
t3sserakt [Tue, 26 Jun 2018 12:30:24 +0000 (14:30 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agocodesonar finding 1575.9537
t3sserakt [Tue, 26 Jun 2018 12:30:18 +0000 (14:30 +0200)]
codesonar finding 1575.9537

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Tue, 26 Jun 2018 12:11:07 +0000 (14:11 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agofix postgres version check on Debian
Christian Grothoff [Tue, 26 Jun 2018 11:43:09 +0000 (13:43 +0200)]
fix postgres version check on Debian

6 years agognunet-bcd.c: minor fix
xrs [Tue, 26 Jun 2018 11:21:51 +0000 (13:21 +0200)]
gnunet-bcd.c: minor fix

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Tue, 26 Jun 2018 10:31:04 +0000 (12:31 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agoadd check
xrs [Tue, 26 Jun 2018 10:31:00 +0000 (12:31 +0200)]
add check

6 years agofix codesonar finding: add GNUnet_free
xrs [Tue, 26 Jun 2018 10:30:46 +0000 (12:30 +0200)]
fix codesonar finding: add GNUnet_free

6 years agofix build
Christian Grothoff [Mon, 25 Jun 2018 22:23:59 +0000 (00:23 +0200)]
fix build

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
t3sserakt [Mon, 25 Jun 2018 21:46:31 +0000 (23:46 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agobug 5228: made gnunet-cadet -p work as intended
t3sserakt [Mon, 25 Jun 2018 21:46:01 +0000 (23:46 +0200)]
bug 5228: made gnunet-cadet -p work as intended

6 years agofix warning
Christian Grothoff [Mon, 25 Jun 2018 21:36:15 +0000 (23:36 +0200)]
fix warning

6 years agofix codesonar finding: add CLOSE(fd)
xrs [Mon, 25 Jun 2018 21:08:59 +0000 (23:08 +0200)]
fix codesonar finding: add CLOSE(fd)

6 years agotry to solve include madness
lurchi [Mon, 25 Jun 2018 19:07:28 +0000 (21:07 +0200)]
try to solve include madness

6 years agofix build error
lurchi [Mon, 25 Jun 2018 18:45:48 +0000 (20:45 +0200)]
fix build error

6 years agobuild fixes
Christian Grothoff [Mon, 25 Jun 2018 18:16:26 +0000 (20:16 +0200)]
build fixes

6 years agobuild fixes
Christian Grothoff [Mon, 25 Jun 2018 18:15:52 +0000 (20:15 +0200)]
build fixes

6 years agoindent
Christian Grothoff [Mon, 25 Jun 2018 18:14:02 +0000 (20:14 +0200)]
indent

6 years agofix memory leak
Christian Grothoff [Mon, 25 Jun 2018 18:12:58 +0000 (20:12 +0200)]
fix memory leak

6 years agoreduce scope
Christian Grothoff [Mon, 25 Jun 2018 18:07:38 +0000 (20:07 +0200)]
reduce scope

6 years agomove hexcode, eliminate redundant test
Christian Grothoff [Mon, 25 Jun 2018 18:05:25 +0000 (20:05 +0200)]
move hexcode, eliminate redundant test

6 years agofix leak
Christian Grothoff [Mon, 25 Jun 2018 18:02:21 +0000 (20:02 +0200)]
fix leak

6 years agoavoid integer overflow issue
Christian Grothoff [Mon, 25 Jun 2018 17:54:34 +0000 (19:54 +0200)]
avoid integer overflow issue

6 years agoresult intentionally ignored
Christian Grothoff [Mon, 25 Jun 2018 17:53:24 +0000 (19:53 +0200)]
result intentionally ignored

6 years agoremove dead tun
Christian Grothoff [Mon, 25 Jun 2018 17:52:38 +0000 (19:52 +0200)]
remove dead tun

6 years agomove dns ops again, 2nd try
Christian Grothoff [Mon, 25 Jun 2018 17:52:15 +0000 (19:52 +0200)]
move dns ops again, 2nd try

6 years agoRevert "integrate dnsparser and dnsstub and tun with libgnunetutil"
lurchi [Mon, 25 Jun 2018 16:38:13 +0000 (18:38 +0200)]
Revert "integrate dnsparser and dnsstub and tun with libgnunetutil"

This reverts commit 7da98cf076e9c5101244dfbbf8c3ddff045d298e.

6 years agointegrate dnsparser and dnsstub and tun with libgnunetutil
Christian Grothoff [Mon, 25 Jun 2018 16:07:22 +0000 (18:07 +0200)]
integrate dnsparser and dnsstub and tun with libgnunetutil

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Mon, 25 Jun 2018 14:53:01 +0000 (16:53 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agognunet.texi: translators note
Nils Gillmann [Mon, 25 Jun 2018 14:51:31 +0000 (14:51 +0000)]
gnunet.texi: translators note

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoadd some translations
xrs [Mon, 25 Jun 2018 14:50:55 +0000 (16:50 +0200)]
add some translations

6 years agofix 0002834: test_gnunet_daemon_topology.c now tests the connections of every peer
xrs [Mon, 25 Jun 2018 14:50:25 +0000 (16:50 +0200)]
fix 0002834: test_gnunet_daemon_topology.c now tests the connections of every peer

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Mon, 25 Jun 2018 14:22:49 +0000 (16:22 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years agofix test issues
Schanzenbach, Martin [Mon, 25 Jun 2018 14:22:44 +0000 (16:22 +0200)]
fix test issues

6 years agoMerge branch 'master' of gnunet.org:gnunet
Nils Gillmann [Mon, 25 Jun 2018 12:19:27 +0000 (12:19 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agocheck in guix packages for dvn
Nils Gillmann [Mon, 25 Jun 2018 12:18:39 +0000 (12:18 +0000)]
check in guix packages for dvn

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agocheck in guix packages for dvn
Nils Gillmann [Mon, 25 Jun 2018 12:18:03 +0000 (12:18 +0000)]
check in guix packages for dvn

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agoconfigure: Add initial upnpc code
Nils Gillmann [Mon, 25 Jun 2018 12:17:03 +0000 (12:17 +0000)]
configure: Add initial upnpc code

Signed-off-by: Nils Gillmann <ng0@n0.is>
6 years agouse more proper way to parse cli options
Julius Bünger [Mon, 25 Jun 2018 11:43:16 +0000 (13:43 +0200)]
use more proper way to parse cli options

6 years agotypo
Christian Grothoff [Mon, 25 Jun 2018 10:32:11 +0000 (12:32 +0200)]
typo

6 years agomake sure port is closed on shutdown
Christian Grothoff [Mon, 25 Jun 2018 10:18:14 +0000 (12:18 +0200)]
make sure port is closed on shutdown

6 years agofix type: using wrong type of bracket
Julius Bünger [Mon, 25 Jun 2018 09:52:53 +0000 (11:52 +0200)]
fix type: using wrong type of bracket

6 years agoNPE
Schanzenbach, Martin [Mon, 25 Jun 2018 08:31:23 +0000 (10:31 +0200)]
NPE

6 years agoFormat; typo
Hernani Marques [Sun, 24 Jun 2018 23:40:12 +0000 (01:40 +0200)]
Format; typo

6 years agoMake -k option usage more explicit
Hernani Marques [Sun, 24 Jun 2018 23:35:58 +0000 (01:35 +0200)]
Make -k option usage more explicit

6 years agotypo
Hernani Marques [Sun, 24 Jun 2018 23:12:57 +0000 (01:12 +0200)]
typo

6 years agorps: fixed bugs reported by coverity
Julius Bünger [Sun, 24 Jun 2018 23:03:38 +0000 (01:03 +0200)]
rps: fixed bugs reported by coverity

6 years agoInitialize dur_lp
Hernani Marques [Sun, 24 Jun 2018 22:27:48 +0000 (00:27 +0200)]
Initialize dur_lp

6 years agoUINT_MAX instead of -1
Hernani Marques [Sun, 24 Jun 2018 22:10:29 +0000 (00:10 +0200)]
UINT_MAX instead of -1

6 years agoindent
Hernani Marques [Sun, 24 Jun 2018 21:48:06 +0000 (23:48 +0200)]
indent

6 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
lurchi [Sun, 24 Jun 2018 21:34:16 +0000 (23:34 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

6 years agoAvoid dvision by zero
Hernani Marques [Sun, 24 Jun 2018 21:32:01 +0000 (23:32 +0200)]
Avoid dvision by zero

6 years agouse the asynchronous DNS resolution API (getaddrinfo_a) in the resolver module
lurchi [Sun, 24 Jun 2018 21:31:07 +0000 (23:31 +0200)]
use the asynchronous DNS resolution API (getaddrinfo_a) in the resolver module

6 years agoassert block length is valid
Schanzenbach, Martin [Sun, 24 Jun 2018 21:27:39 +0000 (23:27 +0200)]
assert block length is valid

6 years agofix
Schanzenbach, Martin [Sun, 24 Jun 2018 21:21:19 +0000 (23:21 +0200)]
fix

6 years agohandle corrupted names in cache
Schanzenbach, Martin [Sun, 24 Jun 2018 21:19:58 +0000 (23:19 +0200)]
handle corrupted names in cache

6 years agorevert unnecessary underrun fix
Schanzenbach, Martin [Sun, 24 Jun 2018 21:11:15 +0000 (23:11 +0200)]
revert unnecessary underrun fix

6 years agouninitialized variable
Schanzenbach, Martin [Sun, 24 Jun 2018 21:04:51 +0000 (23:04 +0200)]
uninitialized variable

6 years agofix possible buffer overrun
Schanzenbach, Martin [Sun, 24 Jun 2018 21:01:18 +0000 (23:01 +0200)]
fix possible buffer overrun

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Sun, 24 Jun 2018 20:47:32 +0000 (22:47 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years agominor
Schanzenbach, Martin [Sun, 24 Jun 2018 20:42:12 +0000 (22:42 +0200)]
minor