oweals/gnunet.git
7 years agoignore util tests
Christian Grothoff [Sun, 8 Jan 2017 19:15:19 +0000 (20:15 +0100)]
ignore util tests

7 years agofix potential free-of-null
Christian Grothoff [Sun, 8 Jan 2017 19:12:23 +0000 (20:12 +0100)]
fix potential free-of-null

7 years agofix potential NPE
Christian Grothoff [Sun, 8 Jan 2017 19:09:59 +0000 (20:09 +0100)]
fix potential NPE

7 years agoremove unnecessary calls to gnunet-peerinfo that also caused the system to get stuck
Christian Grothoff [Sun, 8 Jan 2017 18:16:59 +0000 (19:16 +0100)]
remove unnecessary calls to gnunet-peerinfo that also caused the system to get stuck

7 years agoreserve protocol number range for TMCG
Christian Grothoff [Sat, 7 Jan 2017 21:50:07 +0000 (22:50 +0100)]
reserve protocol number range for TMCG

7 years agoupdate README, was ancient
Christian Grothoff [Sat, 7 Jan 2017 17:26:14 +0000 (18:26 +0100)]
update README, was ancient

7 years agofix calls to test_address, expects a struct sockaddr, not an in_addr
Christian Grothoff [Sat, 7 Jan 2017 16:58:36 +0000 (17:58 +0100)]
fix calls to test_address, expects a struct sockaddr, not an in_addr

7 years agoremove legacy NAT library logic, or preserve if it might still be useful
Christian Grothoff [Sat, 7 Jan 2017 15:47:07 +0000 (16:47 +0100)]
remove legacy NAT library logic, or preserve if it might still be useful

7 years agomigrate gnunet-nat-server to new NAT lib
Christian Grothoff [Sat, 7 Jan 2017 15:36:36 +0000 (16:36 +0100)]
migrate gnunet-nat-server to new NAT lib

7 years agoremove dependency on old NAT logic from gnunet-transport
Christian Grothoff [Sat, 7 Jan 2017 15:28:52 +0000 (16:28 +0100)]
remove dependency on old NAT logic from gnunet-transport

7 years agomake sure nat-auto code uses NAT_AUTO prefix
Christian Grothoff [Sat, 7 Jan 2017 15:03:59 +0000 (16:03 +0100)]
make sure nat-auto code uses NAT_AUTO prefix

7 years agomigrate HTTP plugin to new NAT logic
Christian Grothoff [Sat, 7 Jan 2017 14:54:38 +0000 (15:54 +0100)]
migrate HTTP plugin to new NAT logic

7 years agomigrate TCP plugin to new NAT logic
Christian Grothoff [Sat, 7 Jan 2017 14:46:30 +0000 (15:46 +0100)]
migrate TCP plugin to new NAT logic

7 years agomigrate UDP plugin to new NAT logic
Christian Grothoff [Sat, 7 Jan 2017 14:32:32 +0000 (15:32 +0100)]
migrate UDP plugin to new NAT logic

7 years agofixing uninit sin_addr; now successfully tested external hole punching support in...
Christian Grothoff [Sat, 7 Jan 2017 12:05:27 +0000 (13:05 +0100)]
fixing uninit sin_addr; now successfully tested external hole punching support in new NAT code; documenting options to be used in the future

7 years agofix free of statically allocated value
Christian Grothoff [Sat, 7 Jan 2017 11:50:50 +0000 (12:50 +0100)]
fix free of statically allocated value

7 years agowas tested
Christian Grothoff [Sat, 7 Jan 2017 00:09:01 +0000 (01:09 +0100)]
was tested

7 years agofix bad cast, add additional assertions that AF is set, avoid unaligned access to...
Christian Grothoff [Fri, 6 Jan 2017 23:19:44 +0000 (00:19 +0100)]
fix bad cast, add additional assertions that AF is set, avoid unaligned access to struct sockaddr_in

7 years agofix NPE if hole-external option is not set
Christian Grothoff [Fri, 6 Jan 2017 22:34:19 +0000 (23:34 +0100)]
fix NPE if hole-external option is not set

7 years agofix format string issue
Christian Grothoff [Fri, 6 Jan 2017 22:05:54 +0000 (23:05 +0100)]
fix format string issue

7 years agoseparate service for autoconfiguration from NAT traversal
Christian Grothoff [Fri, 6 Jan 2017 12:26:59 +0000 (13:26 +0100)]
separate service for autoconfiguration from NAT traversal

7 years agoseparate service for autoconfiguration from NAT traversal
Christian Grothoff [Fri, 6 Jan 2017 12:26:38 +0000 (13:26 +0100)]
separate service for autoconfiguration from NAT traversal

7 years agobuildbot: ssh config
tg(x) [Thu, 5 Jan 2017 21:22:51 +0000 (22:22 +0100)]
buildbot: ssh config

7 years agopass section name instead of specific option via IPC
Christian Grothoff [Thu, 5 Jan 2017 20:23:02 +0000 (21:23 +0100)]
pass section name instead of specific option via IPC

7 years agoinclude zonemaster in build
Christian Grothoff [Thu, 5 Jan 2017 19:41:38 +0000 (20:41 +0100)]
include zonemaster in build

7 years agofix uninit variable causing crash on 0 value
Christian Grothoff [Thu, 5 Jan 2017 19:40:16 +0000 (20:40 +0100)]
fix uninit variable causing crash on 0 value

7 years agoupdate comments
Christian Grothoff [Thu, 5 Jan 2017 19:28:34 +0000 (20:28 +0100)]
update comments

7 years agohandle 'AUTO' option in manual hole punching setup
Christian Grothoff [Thu, 5 Jan 2017 19:26:55 +0000 (20:26 +0100)]
handle 'AUTO' option in manual hole punching setup

7 years agomove external IP logic to separate file
Christian Grothoff [Thu, 5 Jan 2017 17:51:02 +0000 (18:51 +0100)]
move external IP logic to separate file

7 years agoproperly handle DynDNS lookup results
Christian Grothoff [Thu, 5 Jan 2017 14:03:41 +0000 (15:03 +0100)]
properly handle DynDNS lookup results

7 years agonotes
Christian Grothoff [Thu, 5 Jan 2017 13:43:35 +0000 (14:43 +0100)]
notes

7 years agosplitting off ant_api_auto.c from main nat_api.c
Christian Grothoff [Thu, 5 Jan 2017 13:39:22 +0000 (14:39 +0100)]
splitting off ant_api_auto.c from main nat_api.c

7 years agowork towards supporting manual hole punching in new NAT service
Christian Grothoff [Thu, 5 Jan 2017 12:50:07 +0000 (13:50 +0100)]
work towards supporting manual hole punching in new NAT service

7 years agowork towards supporting manual hole punching in new NAT service
Christian Grothoff [Thu, 5 Jan 2017 12:49:57 +0000 (13:49 +0100)]
work towards supporting manual hole punching in new NAT service

7 years agoAUTHORS: Remove myself from Gentoo.
ng0 [Thu, 5 Jan 2017 10:22:03 +0000 (10:22 +0000)]
AUTHORS: Remove myself from Gentoo.

While I'm still the name to blame on Gentoo side and I occasionally
add changes to the repository, I stopped doing work for Gentoo last
year.

7 years agoadded ssh key
t3sserakt [Wed, 4 Jan 2017 23:27:34 +0000 (00:27 +0100)]
added ssh key

7 years agoadd ignore file
Christian Grothoff [Wed, 4 Jan 2017 21:17:19 +0000 (22:17 +0100)]
add ignore file

7 years agomove functionality of publishing namestore zone in DHT from GNS service to new zonema...
Christian Grothoff [Wed, 4 Jan 2017 21:11:55 +0000 (22:11 +0100)]
move functionality of publishing namestore zone in DHT from GNS service to new zonemaster service

7 years agofixes for starting and stopping gnunet-helper-nat-server
Christian Grothoff [Mon, 2 Jan 2017 19:13:38 +0000 (20:13 +0100)]
fixes for starting and stopping gnunet-helper-nat-server

7 years agopreparations for proper manual hole punching support in new NAT API
Christian Grothoff [Mon, 2 Jan 2017 18:15:51 +0000 (19:15 +0100)]
preparations for proper manual hole punching support in new NAT API

7 years agoimprove/fix handling of NAT server logic for ICMP-based autonomous NAT traversal
Christian Grothoff [Mon, 2 Jan 2017 08:47:37 +0000 (09:47 +0100)]
improve/fix handling of NAT server logic for ICMP-based autonomous NAT traversal

7 years agofix compiler warning for format string
Christian Grothoff [Mon, 2 Jan 2017 08:46:48 +0000 (09:46 +0100)]
fix compiler warning for format string

7 years agonotes for next steps with NAT
Christian Grothoff [Sun, 25 Dec 2016 18:20:16 +0000 (19:20 +0100)]
notes for next steps with NAT

7 years agoensure nat clients get notifications on disconnect about 'lost' addresses
Christian Grothoff [Sun, 25 Dec 2016 17:35:15 +0000 (18:35 +0100)]
ensure nat clients get notifications on disconnect about 'lost' addresses

7 years agoworking on proper IP address filtering logic
Christian Grothoff [Sun, 25 Dec 2016 15:12:47 +0000 (16:12 +0100)]
working on proper IP address filtering logic

7 years agostart to list relevant cases in man page, document current limitations
Christian Grothoff [Sat, 24 Dec 2016 23:45:42 +0000 (00:45 +0100)]
start to list relevant cases in man page, document current limitations

7 years agofix upnpc invocation for port mapping with upnpc
Christian Grothoff [Sat, 24 Dec 2016 23:35:59 +0000 (00:35 +0100)]
fix upnpc invocation for port mapping with upnpc

7 years agoimprove types, eliminate compiler warning for unused function
Christian Grothoff [Fri, 23 Dec 2016 21:37:31 +0000 (22:37 +0100)]
improve types, eliminate compiler warning for unused function

7 years agodisambiguate -L option to gnunet-nat
Christian Grothoff [Sun, 18 Dec 2016 07:18:16 +0000 (08:18 +0100)]
disambiguate -L option to gnunet-nat

7 years agoupdate todos
Christian Grothoff [Sun, 18 Dec 2016 06:36:31 +0000 (07:36 +0100)]
update todos

7 years agoproperly process external IP addresses from upnpc-based hole punching
Christian Grothoff [Sun, 18 Dec 2016 06:35:34 +0000 (07:35 +0100)]
properly process external IP addresses from upnpc-based hole punching

7 years agoimplement writing of configuration file in autoconfiguration
Christian Grothoff [Sun, 18 Dec 2016 06:06:20 +0000 (07:06 +0100)]
implement writing of configuration file in autoconfiguration

7 years agofinish external-ip client notification, but not yet tested
Christian Grothoff [Sat, 17 Dec 2016 08:08:53 +0000 (09:08 +0100)]
finish external-ip client notification, but not yet tested

7 years agotowards notifying clients about external-ip results
Christian Grothoff [Sat, 17 Dec 2016 08:00:48 +0000 (09:00 +0100)]
towards notifying clients about external-ip results

7 years agoenable sending only differences for autoconfiguration
Christian Grothoff [Sat, 17 Dec 2016 07:10:33 +0000 (08:10 +0100)]
enable sending only differences for autoconfiguration

7 years agoneed to strdup as this will be freed
Christian Grothoff [Sat, 17 Dec 2016 07:06:25 +0000 (08:06 +0100)]
need to strdup as this will be freed

7 years agoinit 'ch' field
Christian Grothoff [Sat, 17 Dec 2016 07:05:01 +0000 (08:05 +0100)]
init 'ch' field

7 years agomisc. improvements to new NAT service, starting with autoconfiguration logic
Christian Grothoff [Sat, 17 Dec 2016 07:00:29 +0000 (08:00 +0100)]
misc. improvements to new NAT service, starting with autoconfiguration logic

7 years agodisambiguate option flag -l
Christian Grothoff [Fri, 16 Dec 2016 11:30:12 +0000 (12:30 +0100)]
disambiguate option flag -l

7 years agofix shutdown, fix size calculation
Christian Grothoff [Fri, 16 Dec 2016 11:10:19 +0000 (12:10 +0100)]
fix shutdown, fix size calculation

7 years agofix minor bugs
Christian Grothoff [Fri, 16 Dec 2016 11:07:11 +0000 (12:07 +0100)]
fix minor bugs

7 years agoupdates to potfiles
Christian Grothoff [Fri, 16 Dec 2016 09:59:05 +0000 (10:59 +0100)]
updates to potfiles

7 years agoadd PORT to NAT configuration, generate nat.conf from nat.conf.in, implement more...
Christian Grothoff [Fri, 16 Dec 2016 09:53:58 +0000 (10:53 +0100)]
add PORT to NAT configuration, generate nat.conf from nat.conf.in, implement more of new NAT service

7 years ago-fix memcpy
Schanzenbach, Martin [Fri, 2 Dec 2016 14:13:38 +0000 (15:13 +0100)]
-fix memcpy

7 years agolibgnunetutil: add GNUNET_assert_from()
Markus Teich [Fri, 2 Dec 2016 09:41:46 +0000 (10:41 +0100)]
libgnunetutil: add GNUNET_assert_from()

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Wed, 30 Nov 2016 20:13:13 +0000 (21:13 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years agoconfigure: -fsanitize-recovery is on by default, removing it for compatibility
tg(x) [Wed, 30 Nov 2016 19:18:34 +0000 (20:18 +0100)]
configure: -fsanitize-recovery is on by default, removing it for compatibility

7 years agoguix: configure flags
tg(x) [Wed, 30 Nov 2016 16:43:01 +0000 (17:43 +0100)]
guix: configure flags

7 years agoimplement keeping and timeout of NAT STUN data
Christian Grothoff [Wed, 30 Nov 2016 11:17:19 +0000 (12:17 +0100)]
implement keeping and timeout of NAT STUN data

7 years agothis is now done
Christian Grothoff [Wed, 30 Nov 2016 10:41:48 +0000 (11:41 +0100)]
this is now done

7 years agodecided to keep NAT test logic in client library
Christian Grothoff [Wed, 30 Nov 2016 08:51:25 +0000 (09:51 +0100)]
decided to keep NAT test logic in client library

7 years agomoving basic logic for launching nat-client helper to new NAT service
Christian Grothoff [Wed, 30 Nov 2016 07:22:59 +0000 (08:22 +0100)]
moving basic logic for launching nat-client helper to new NAT service

7 years agomoving basic logic for launching nat-server helper to new NAT service
Christian Grothoff [Wed, 30 Nov 2016 07:17:33 +0000 (08:17 +0100)]
moving basic logic for launching nat-server helper to new NAT service

7 years agotowards moving STUN logic into new NAT service
Christian Grothoff [Wed, 30 Nov 2016 06:31:09 +0000 (07:31 +0100)]
towards moving STUN logic into new NAT service

7 years agohandle ports for interface scan data properly
Christian Grothoff [Wed, 30 Nov 2016 05:26:53 +0000 (06:26 +0100)]
handle ports for interface scan data properly

7 years agonote that port is not patched
Christian Grothoff [Sun, 27 Nov 2016 22:51:59 +0000 (23:51 +0100)]
note that port is not patched

7 years agofix proper setting of scope information for IPv6
Christian Grothoff [Sun, 27 Nov 2016 22:50:04 +0000 (23:50 +0100)]
fix proper setting of scope information for IPv6

7 years agoexpand logic for address class detection, including private and sensitive IP classifi...
Christian Grothoff [Sun, 27 Nov 2016 22:43:46 +0000 (23:43 +0100)]
expand logic for address class detection, including private and sensitive IP classification

7 years agotowards implementing notification for peer addresses
Christian Grothoff [Sun, 27 Nov 2016 21:02:05 +0000 (22:02 +0100)]
towards implementing notification for peer addresses

7 years agoremove FIXME that has been addressed
Christian Grothoff [Sun, 27 Nov 2016 19:12:43 +0000 (20:12 +0100)]
remove FIXME that has been addressed

7 years agoclarify gnunet-nat man page
Christian Grothoff [Sun, 27 Nov 2016 19:12:09 +0000 (20:12 +0100)]
clarify gnunet-nat man page

7 years agoimplement reading STUN data from interface in gnunet-nat: update doc
Christian Grothoff [Sun, 27 Nov 2016 19:09:31 +0000 (20:09 +0100)]
implement reading STUN data from interface in gnunet-nat: update doc

7 years agoimplement reading STUN data from interface in gnunet-nat
Christian Grothoff [Sun, 27 Nov 2016 19:09:07 +0000 (20:09 +0100)]
implement reading STUN data from interface in gnunet-nat

7 years agochange return value to use -1 on error, as 0 is a legal packet size
Christian Grothoff [Sun, 27 Nov 2016 19:08:48 +0000 (20:08 +0100)]
change return value to use -1 on error, as 0 is a legal packet size

7 years agoadd output
Christian Grothoff [Sun, 27 Nov 2016 16:52:18 +0000 (17:52 +0100)]
add output

7 years agoadd draft man page for gnunet-nat
Christian Grothoff [Sun, 27 Nov 2016 13:52:10 +0000 (14:52 +0100)]
add draft man page for gnunet-nat

7 years agolargely completing gnunet-nat tool, using new service API (but untested)
Christian Grothoff [Sun, 27 Nov 2016 13:43:02 +0000 (14:43 +0100)]
largely completing gnunet-nat tool, using new service API (but untested)

7 years agowork on new gnunet-nat tool, towards new NAT API
Christian Grothoff [Sun, 27 Nov 2016 11:07:07 +0000 (12:07 +0100)]
work on new gnunet-nat tool, towards new NAT API

7 years agoservice_new: ready_confirm_fd
tg(x) [Fri, 25 Nov 2016 21:27:18 +0000 (22:27 +0100)]
service_new: ready_confirm_fd

7 years agoconfigure: -fsanitize
tg(x) [Fri, 25 Nov 2016 21:26:40 +0000 (22:26 +0100)]
configure: -fsanitize

7 years agofix creation of PHONE records with gnunet-namestore
lurchi [Tue, 22 Nov 2016 14:36:35 +0000 (15:36 +0100)]
fix creation of PHONE records with gnunet-namestore

The string size of the line/port part of a phone record value is 103 (base32-encoded GNUNET_HashCode). Until now it was assumed to be 128 bytes long

7 years agoinclude postgres db url in error message
Florian Dold [Mon, 21 Nov 2016 17:10:05 +0000 (18:10 +0100)]
include postgres db url in error message

7 years agoguix-env.scm: build gnunet with hardening. taler-0.2.0
ng0 [Sat, 19 Nov 2016 14:46:14 +0000 (14:46 +0000)]
guix-env.scm: build gnunet with hardening.

7 years agoSometimes it's OK if multiplication overflows
David Barksdale [Fri, 18 Nov 2016 05:24:43 +0000 (23:24 -0600)]
Sometimes it's OK if multiplication overflows

7 years agoAvoid undefined left-shift
David Barksdale [Fri, 18 Nov 2016 02:22:22 +0000 (20:22 -0600)]
Avoid undefined left-shift

7 years agoCheck return value of GNUNET_NETWORK_socket_create
David Barksdale [Wed, 16 Nov 2016 06:21:31 +0000 (15:21 +0900)]
Check return value of GNUNET_NETWORK_socket_create

7 years agofix out-of-tree build of GNUnet
Christian Grothoff [Fri, 11 Nov 2016 15:01:24 +0000 (16:01 +0100)]
fix out-of-tree build of GNUnet

7 years agofix out-of-tree build of GNUnet
Christian Grothoff [Fri, 11 Nov 2016 15:01:13 +0000 (16:01 +0100)]
fix out-of-tree build of GNUnet

7 years agoconfigure: --enable-sanitizer
tg(x) [Thu, 10 Nov 2016 16:27:10 +0000 (17:27 +0100)]
configure: --enable-sanitizer

7 years ago- ignore test files
Bart Polot [Wed, 9 Nov 2016 21:48:44 +0000 (22:48 +0100)]
- ignore test files