oweals/gnunet.git
7 years agoMerge remote-tracking branch 'origin/master' into credentials
Schanzenbach, Martin [Thu, 1 Dec 2016 16:05:29 +0000 (17:05 +0100)]
Merge remote-tracking branch 'origin/master' into credentials

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 agoMerge remote-tracking branch 'origin/master' into credentials
Schanzenbach, Martin [Sun, 27 Nov 2016 17:43:43 +0000 (18:43 +0100)]
Merge remote-tracking branch 'origin/master' into credentials

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 agoMerge remote-tracking branch 'origin/master' into credentials
Schanzenbach, Martin [Mon, 21 Nov 2016 19:47:10 +0000 (20:47 +0100)]
Merge remote-tracking branch 'origin/master' into credentials

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 ago- add missing API; no impl
Schanzenbach, Martin [Sun, 20 Nov 2016 16:49:04 +0000 (17:49 +0100)]
- add missing API; no impl

7 years ago- move towards verification
Schanzenbach, Martin [Sat, 19 Nov 2016 23:23:49 +0000 (00:23 +0100)]
- move towards verification

7 years agoMerge branch 'master' into credentials
Schanzenbach, Martin [Sat, 19 Nov 2016 23:23:07 +0000 (00:23 +0100)]
Merge branch 'master' into credentials

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 agoadd credential
Martin Schanzenbach [Thu, 10 Nov 2016 19:35:04 +0000 (20:35 +0100)]
add credential

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

7 years ago- add subdirectory gitignore files
Bart Polot [Wed, 9 Nov 2016 19:25:49 +0000 (20:25 +0100)]
- add subdirectory gitignore files

7 years ago- fix handling of HELLO with 0 expiration time
Bart Polot [Wed, 9 Nov 2016 19:13:19 +0000 (20:13 +0100)]
- fix handling of HELLO with 0 expiration time

7 years ago- autoreconf fails without ChangeLog present
Bart Polot [Wed, 9 Nov 2016 19:11:49 +0000 (20:11 +0100)]
- autoreconf fails without ChangeLog present

7 years agoremove obsolete svn to change log script
Christian Grothoff [Tue, 8 Nov 2016 12:53:48 +0000 (13:53 +0100)]
remove obsolete svn to change log script

7 years agoget rid of ChangeLog generation from svn, start new ChangeLog for Git initial-import-from-subversion-38251
Christian Grothoff [Tue, 8 Nov 2016 12:47:13 +0000 (13:47 +0100)]
get rid of ChangeLog generation from svn, start new ChangeLog for Git

7 years ago- axolotl initialization takes > 1s under valgrind
Bart Polot [Fri, 4 Nov 2016 09:47:31 +0000 (09:47 +0000)]
- axolotl initialization takes > 1s under valgrind

7 years ago- avoid connection timeout in valgrind tests
Bart Polot [Fri, 4 Nov 2016 09:47:30 +0000 (09:47 +0000)]
- avoid connection timeout in valgrind tests

7 years ago- use timing macro instead of log
Bart Polot [Fri, 4 Nov 2016 09:47:28 +0000 (09:47 +0000)]
- use timing macro instead of log

7 years ago-remove dead code
Bart Polot [Fri, 4 Nov 2016 09:47:27 +0000 (09:47 +0000)]
-remove dead code

7 years ago- simplify logging
Bart Polot [Fri, 4 Nov 2016 09:47:26 +0000 (09:47 +0000)]
- simplify logging

7 years ago- refactor connection upkeep code, remove unneeded functions
Bart Polot [Fri, 4 Nov 2016 09:47:25 +0000 (09:47 +0000)]
- refactor connection upkeep code, remove unneeded functions

7 years ago- update doxygen / doc
Bart Polot [Fri, 4 Nov 2016 09:47:24 +0000 (09:47 +0000)]
- update doxygen / doc

7 years ago- refactor function timing code
Bart Polot [Fri, 4 Nov 2016 09:47:22 +0000 (09:47 +0000)]
- refactor function timing code

7 years ago- fix logging
Bart Polot [Fri, 4 Nov 2016 09:47:21 +0000 (09:47 +0000)]
- fix logging

7 years ago- simplify ack handling, die if trying to send conneciton-level ACK to clients
Bart Polot [Fri, 4 Nov 2016 09:47:19 +0000 (09:47 +0000)]
- simplify ack handling, die if trying to send conneciton-level ACK to clients

7 years ago- always return a queue handle
Bart Polot [Fri, 4 Nov 2016 09:47:18 +0000 (09:47 +0000)]
- always return a queue handle

7 years ago- don't complain about retransmitted connection_create/_ack messages
Bart Polot [Fri, 4 Nov 2016 09:47:17 +0000 (09:47 +0000)]
- don't complain about retransmitted connection_create/_ack messages

7 years ago- use proper type for N/A
Bart Polot [Fri, 4 Nov 2016 09:47:15 +0000 (09:47 +0000)]
- use proper type for N/A

7 years ago- sending KX on loopback is very wrong, die
Bart Polot [Fri, 4 Nov 2016 09:47:14 +0000 (09:47 +0000)]
- sending KX on loopback is very wrong, die

7 years ago- doc
Bart Polot [Fri, 4 Nov 2016 09:47:12 +0000 (09:47 +0000)]
- doc

7 years ago-more work towards NAT service
Christian Grothoff [Mon, 31 Oct 2016 21:02:30 +0000 (21:02 +0000)]
-more work towards NAT service

7 years agoadd template for NAT service
Christian Grothoff [Mon, 31 Oct 2016 10:30:38 +0000 (10:30 +0000)]
add template for NAT service

7 years agoRefactor encrypted traffic handling
Bart Polot [Sat, 29 Oct 2016 23:46:44 +0000 (23:46 +0000)]
Refactor encrypted traffic handling

- eliminate encapsulation for KX/DATA
- simplify cases
- remove dead code
- Organize message types

7 years agoUn-flag in_flight to avoid integer underflow in GNUNET_MQ_get_length
Bart Polot [Sat, 29 Oct 2016 14:56:53 +0000 (14:56 +0000)]
Un-flag in_flight to avoid integer underflow in GNUNET_MQ_get_length

7 years ago- Fix Coverity #153011, abort on NULL path instead of dereferencing later
Bart Polot [Sat, 29 Oct 2016 14:56:52 +0000 (14:56 +0000)]
- Fix Coverity #153011, abort on NULL path instead of dereferencing later

7 years agoupdate documentation
Sree Harsha Totakura [Thu, 27 Oct 2016 15:02:36 +0000 (15:02 +0000)]
update documentation

7 years agodisable more unnecessary services in testcases
Sree Harsha Totakura [Thu, 27 Oct 2016 15:02:18 +0000 (15:02 +0000)]
disable more unnecessary services in testcases

7 years agopropagate barrier status messages to sub controllers
Sree Harsha Totakura [Thu, 27 Oct 2016 15:01:52 +0000 (15:01 +0000)]
propagate barrier status messages to sub controllers

7 years agoFix #4718: Do not echo BARRIER_STATUS messages back to the main controller/test drive...
Sree Harsha Totakura [Thu, 27 Oct 2016 13:00:37 +0000 (13:00 +0000)]
Fix #4718: Do not echo BARRIER_STATUS messages back to the main controller/test driverAlso add a few FIXMEs to be fixed and fix testcase logic to accommodate new scheduler shutdown semantics

7 years agotestbed: do not start unnecessary services
Sree Harsha Totakura [Thu, 27 Oct 2016 09:35:00 +0000 (09:35 +0000)]
testbed: do not start unnecessary services

7 years agoBuild messages fully in tunnel code, avoid copying in connection layer
Bart Polot [Thu, 27 Oct 2016 06:18:17 +0000 (06:18 +0000)]
Build messages fully in tunnel code, avoid copying in connection layer

7 years ago- measure encryption performance
Bart Polot [Thu, 27 Oct 2016 06:18:16 +0000 (06:18 +0000)]
- measure encryption performance

7 years ago- doc
Bart Polot [Thu, 27 Oct 2016 06:18:15 +0000 (06:18 +0000)]
- doc

7 years ago- reduce log level
Bart Polot [Thu, 27 Oct 2016 06:18:14 +0000 (06:18 +0000)]
- reduce log level

7 years agoAvoid double const
David Barksdale [Wed, 26 Oct 2016 19:29:59 +0000 (19:29 +0000)]
Avoid double const

7 years agoUse GNUNET_NAT_StatusCode and GNUNET_NAT_status2string
David Barksdale [Wed, 26 Oct 2016 19:27:09 +0000 (19:27 +0000)]
Use GNUNET_NAT_StatusCode and GNUNET_NAT_status2string

7 years agoMove type check after initialization to make compiler happy
David Barksdale [Wed, 26 Oct 2016 18:55:25 +0000 (18:55 +0000)]
Move type check after initialization to make compiler happy

7 years agoThis can't be NULL
David Barksdale [Wed, 26 Oct 2016 18:16:44 +0000 (18:16 +0000)]
This can't be NULL

7 years agoRemove ?: operator to avoid confusion
David Barksdale [Wed, 26 Oct 2016 18:11:27 +0000 (18:11 +0000)]
Remove ?: operator to avoid confusion

It has lower prescedence than - so the - was being evaluated first.
Instead of adding more parens I'm just removing it to make it more readable.

7 years agoDon't mind me, I'm just going to put this function back together
David Barksdale [Wed, 26 Oct 2016 15:56:48 +0000 (15:56 +0000)]
Don't mind me, I'm just going to put this function back together

7 years agoUpdate po files
David Barksdale [Wed, 26 Oct 2016 14:25:30 +0000 (14:25 +0000)]
Update po files

7 years ago- add connection info to timing log
Bart Polot [Wed, 26 Oct 2016 04:21:00 +0000 (04:21 +0000)]
- add connection info to timing log

7 years ago- reset timeout for early keepalive on CONN_ACK
Bart Polot [Wed, 26 Oct 2016 04:20:59 +0000 (04:20 +0000)]
- reset timeout for early keepalive on CONN_ACK

7 years ago- improve logging of CONN_ACK
Bart Polot [Wed, 26 Oct 2016 04:20:57 +0000 (04:20 +0000)]
- improve logging of CONN_ACK

7 years ago- remove dead code
Bart Polot [Wed, 26 Oct 2016 04:20:56 +0000 (04:20 +0000)]
- remove dead code

7 years ago- don't send ACK con CREATE if one is queued
Bart Polot [Wed, 26 Oct 2016 04:20:55 +0000 (04:20 +0000)]
- don't send ACK con CREATE if one is queued

7 years ago- don't complain about AX messages pre-KX
Bart Polot [Wed, 26 Oct 2016 04:20:54 +0000 (04:20 +0000)]
- don't complain about AX messages pre-KX

7 years ago- fix AX/KX CID initialization
Bart Polot [Wed, 26 Oct 2016 04:20:53 +0000 (04:20 +0000)]
- fix AX/KX CID initialization

7 years ago- simplify KX code
Bart Polot [Wed, 26 Oct 2016 04:20:52 +0000 (04:20 +0000)]
- simplify KX code

7 years agoMake a copy of the message on connection level only if it needs to be modified (gener...
Bart Polot [Wed, 26 Oct 2016 04:20:51 +0000 (04:20 +0000)]
Make a copy of the message on connection level only if it needs to be modified (generated by the Tunnel)

7 years ago- simplify connection-level processing of messages to be sent
Bart Polot [Wed, 26 Oct 2016 04:20:49 +0000 (04:20 +0000)]
- simplify connection-level processing of messages to be sent

7 years ago- don't allocate message copies on the heap
Bart Polot [Wed, 26 Oct 2016 04:20:48 +0000 (04:20 +0000)]
- don't allocate message copies on the heap

7 years ago- send connection keepalive if tunnel is unable to send traffic yet
Bart Polot [Wed, 26 Oct 2016 04:20:47 +0000 (04:20 +0000)]
- send connection keepalive if tunnel is unable to send traffic yet

7 years ago- cancel maintenance message if connection is confirmed while a maintenance message...
Bart Polot [Wed, 26 Oct 2016 04:20:46 +0000 (04:20 +0000)]
- cancel maintenance message if connection is confirmed while a maintenance message is queued

7 years ago- minor changes, TODO, debug message
Bart Polot [Wed, 26 Oct 2016 04:20:45 +0000 (04:20 +0000)]
- minor changes, TODO, debug message

7 years ago- add queue control in peer and connection to cancel MQ_env when those are destroyed...
Bart Polot [Wed, 26 Oct 2016 04:20:44 +0000 (04:20 +0000)]
- add queue control in peer and connection to cancel MQ_env when those are destroyed, since callbacks could dereference freed memory

7 years ago- initialize reserved to 0 to avoid valgrind complaints
Bart Polot [Wed, 26 Oct 2016 04:20:42 +0000 (04:20 +0000)]
- initialize reserved to 0 to avoid valgrind complaints

7 years ago-missing commit
Christian Grothoff [Tue, 25 Oct 2016 14:30:22 +0000 (14:30 +0000)]
-missing commit