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

8 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

8 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

8 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

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

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

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

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

8 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

8 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

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

8 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.

8 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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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)

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 years agofinish (untested) new NAT client library
Christian Grothoff [Mon, 24 Oct 2016 21:32:22 +0000 (21:32 +0000)]
finish (untested) new NAT client library

8 years agotowards implementing autoconfig part of NAT lib
Christian Grothoff [Mon, 24 Oct 2016 21:14:02 +0000 (21:14 +0000)]
towards implementing autoconfig part of NAT lib

8 years agomore work on new nat library
Christian Grothoff [Mon, 24 Oct 2016 21:05:25 +0000 (21:05 +0000)]
more work on new nat library

8 years agomore work on new nat library
Christian Grothoff [Mon, 24 Oct 2016 21:04:38 +0000 (21:04 +0000)]
more work on new nat library

8 years agoworking towards new NAT client library implementation
Christian Grothoff [Mon, 24 Oct 2016 20:16:19 +0000 (20:16 +0000)]
working towards new NAT client library implementation

8 years agoput logging into place to diagnose #4737
Christian Grothoff [Mon, 24 Oct 2016 07:44:26 +0000 (07:44 +0000)]
put logging into place to diagnose #4737

8 years agonew NAT lib client api skeleton
Christian Grothoff [Sun, 23 Oct 2016 19:53:59 +0000 (19:53 +0000)]
new NAT lib client api skeleton

8 years agospecing out the NAT service IPC messages'
Christian Grothoff [Sun, 23 Oct 2016 19:16:26 +0000 (19:16 +0000)]
specing out the NAT service IPC messages'

8 years agostart defining IPC messages for NAT
Christian Grothoff [Sun, 23 Oct 2016 17:49:49 +0000 (17:49 +0000)]
start defining IPC messages for NAT

8 years agodefine message types for new NAT service
Christian Grothoff [Sun, 23 Oct 2016 17:35:48 +0000 (17:35 +0000)]
define message types for new NAT service

8 years agodesign for new NAT service API
Christian Grothoff [Sun, 23 Oct 2016 17:11:37 +0000 (17:11 +0000)]
design for new NAT service API

8 years agomove to new client API: remove old client API
Christian Grothoff [Sun, 23 Oct 2016 16:03:54 +0000 (16:03 +0000)]
move to new client API: remove old client API

8 years agoavoid use of CLIENT_service_test which is dying
Christian Grothoff [Sun, 23 Oct 2016 16:03:36 +0000 (16:03 +0000)]
avoid use of CLIENT_service_test which is dying

8 years agoavoid using dying type for function
Christian Grothoff [Sun, 23 Oct 2016 16:03:17 +0000 (16:03 +0000)]
avoid using dying type for function

8 years agosimplify gnunet-namestore / namestore_rest_plugin to avoid deprecated CLIENT_service_test
Christian Grothoff [Sun, 23 Oct 2016 15:58:23 +0000 (15:58 +0000)]
simplify gnunet-namestore / namestore_rest_plugin to avoid deprecated CLIENT_service_test

8 years agosimplify gnunet-nse to avoid deprecated CLIENT_service_test
Christian Grothoff [Sun, 23 Oct 2016 15:54:01 +0000 (15:54 +0000)]
simplify gnunet-nse to avoid deprecated CLIENT_service_test

8 years agocadet_api.c uses GNUNET_MQ_impl_current
David Barksdale [Sat, 22 Oct 2016 22:29:06 +0000 (22:29 +0000)]
cadet_api.c uses GNUNET_MQ_impl_current

8 years agonew service API will no longer export this function
Christian Grothoff [Fri, 21 Oct 2016 22:25:27 +0000 (22:25 +0000)]
new service API will no longer export this function

8 years agoeliminate last residue of old service api in transport
Christian Grothoff [Fri, 21 Oct 2016 22:24:53 +0000 (22:24 +0000)]
eliminate last residue of old service api in transport

8 years agoeliminate last residue of old service api in ARM
Christian Grothoff [Fri, 21 Oct 2016 22:24:47 +0000 (22:24 +0000)]
eliminate last residue of old service api in ARM

8 years agomigrate template to new service API
Christian Grothoff [Fri, 21 Oct 2016 22:00:26 +0000 (22:00 +0000)]
migrate template to new service API

8 years agoconvert namecache to new service ApI
Christian Grothoff [Fri, 21 Oct 2016 21:48:19 +0000 (21:48 +0000)]
convert namecache to new service ApI

8 years agotest needs larger timeout to pass
Christian Grothoff [Fri, 21 Oct 2016 20:39:49 +0000 (20:39 +0000)]
test needs larger timeout to pass

8 years agoactivating client_new implementation, seems to mostly work fine, or better than the...
Christian Grothoff [Fri, 21 Oct 2016 16:04:46 +0000 (16:04 +0000)]
activating client_new implementation, seems to mostly work fine, or better than the old one

8 years agoimprove test shutdown and indentation
Christian Grothoff [Fri, 21 Oct 2016 14:26:15 +0000 (14:26 +0000)]
improve test shutdown and indentation

8 years ago-fix misc minor bugs
Christian Grothoff [Fri, 21 Oct 2016 05:33:35 +0000 (05:33 +0000)]
-fix misc minor bugs

8 years agomisc fixes to new client impl
Christian Grothoff [Fri, 21 Oct 2016 05:23:21 +0000 (05:23 +0000)]
misc fixes to new client impl

8 years agouse new MQ in_flight API to support cancel in new service/client implementations
Christian Grothoff [Fri, 21 Oct 2016 05:13:17 +0000 (05:13 +0000)]
use new MQ in_flight API to support cancel in new service/client implementations

8 years agopsycstore: postgres: add LENGTH checks for signature and purpose
Daniel Golle [Tue, 18 Oct 2016 11:28:23 +0000 (11:28 +0000)]
psycstore: postgres: add LENGTH checks for signature and purpose

8 years agopsycstore: postgres: introduce LENGTH check for pub_key field
Daniel Golle [Tue, 18 Oct 2016 10:36:46 +0000 (10:36 +0000)]
psycstore: postgres: introduce LENGTH check for pub_key field

8 years agognunet-dev.nix: add jansson
Gabor X Toth [Mon, 17 Oct 2016 18:14:32 +0000 (18:14 +0000)]
gnunet-dev.nix: add jansson

8 years agognunet-dev.nix
Gabor X Toth [Mon, 17 Oct 2016 17:45:45 +0000 (17:45 +0000)]
gnunet-dev.nix

8 years agognunet-dev.nix
Gabor X Toth [Mon, 17 Oct 2016 15:47:14 +0000 (15:47 +0000)]
gnunet-dev.nix

8 years agognunet-dev.nix
Gabor X Toth [Mon, 17 Oct 2016 15:46:51 +0000 (15:46 +0000)]
gnunet-dev.nix

8 years agooops ... inverted logic
Florian Dold [Sun, 16 Oct 2016 22:16:12 +0000 (22:16 +0000)]
oops ... inverted logic

8 years agoturn if into assert
Florian Dold [Sun, 16 Oct 2016 22:15:51 +0000 (22:15 +0000)]
turn if into assert

8 years agofix comment
Florian Dold [Sun, 16 Oct 2016 22:13:46 +0000 (22:13 +0000)]
fix comment

8 years agoimplement impl_in_flight API for MQ, replacing evacuation
Florian Dold [Sun, 16 Oct 2016 22:07:40 +0000 (22:07 +0000)]
implement impl_in_flight API for MQ, replacing evacuation

8 years agofix comment about mq allocation
Florian Dold [Sun, 16 Oct 2016 20:12:00 +0000 (20:12 +0000)]
fix comment about mq allocation

8 years agoRename MQ_evict to MQ_evacuate and make API nicer
Florian Dold [Sun, 16 Oct 2016 20:08:07 +0000 (20:08 +0000)]
Rename MQ_evict to MQ_evacuate and make API nicer

8 years agoAdd evict functionalty to mq cancellation.
Florian Dold [Sun, 16 Oct 2016 19:13:45 +0000 (19:13 +0000)]
Add evict functionalty to mq cancellation.

Useful to avoid copying of buffers when canceling a
partially sent message.

8 years agofix build for Taler wallet
Christian Grothoff [Thu, 13 Oct 2016 07:44:31 +0000 (07:44 +0000)]
fix build for Taler wallet

8 years agofix configure.ac for emscripten
Florian Dold [Thu, 13 Oct 2016 02:05:37 +0000 (02:05 +0000)]
fix configure.ac for emscripten

8 years agoquoting, since test breaks (under emscripten) when variable is empty string
Florian Dold [Thu, 13 Oct 2016 01:55:08 +0000 (01:55 +0000)]
quoting, since test breaks (under emscripten) when variable is empty string

8 years agodon't even check for postgres when building for taler, since it breaks the build
Florian Dold [Thu, 13 Oct 2016 01:51:27 +0000 (01:51 +0000)]
don't even check for postgres when building for taler, since it breaks the build

8 years agodon't build contrib/ when compiling for GNU Taler
Florian Dold [Thu, 13 Oct 2016 01:22:24 +0000 (01:22 +0000)]
don't build contrib/ when compiling for GNU Taler

8 years agodatastore: postgres: use IF NOT EXISTS to avoid error messages
Daniel Golle [Thu, 13 Oct 2016 00:29:45 +0000 (00:29 +0000)]
datastore: postgres: use IF NOT EXISTS to avoid error messages

8 years agodatacache: postgres: use IF NOT EXISTS to avoid error messages
Daniel Golle [Thu, 13 Oct 2016 00:29:43 +0000 (00:29 +0000)]
datacache: postgres: use IF NOT EXISTS to avoid error messages

8 years agonamestore: postgres: use IF NOT EXISTS to avoid error messages
Daniel Golle [Thu, 13 Oct 2016 00:29:39 +0000 (00:29 +0000)]
namestore: postgres: use IF NOT EXISTS to avoid error messages

8 years agopsycstore: postgres: remove size modifier from BYTEA fields
Daniel Golle [Wed, 12 Oct 2016 23:12:56 +0000 (23:12 +0000)]
psycstore: postgres: remove size modifier from BYTEA fields

ERROR:  type modifier is not allowed for type "bytea"

8 years agopsycstore
Gabor X Toth [Wed, 12 Oct 2016 22:07:34 +0000 (22:07 +0000)]
psycstore

8 years agopsycstore: fix postgres
Gabor X Toth [Wed, 12 Oct 2016 21:54:30 +0000 (21:54 +0000)]
psycstore: fix postgres

8 years agogns: fix format string
Daniel Golle [Wed, 12 Oct 2016 21:24:53 +0000 (21:24 +0000)]
gns: fix format string

r38079 introduced a debug message which breaks the build if
-Werror=format-security is set.

8 years agorevert to MHD_USE_SSL for now
Christian Grothoff [Wed, 12 Oct 2016 20:26:24 +0000 (20:26 +0000)]
revert to MHD_USE_SSL for now

8 years agopsycstore: postgres fixes
Gabor X Toth [Wed, 12 Oct 2016 19:58:23 +0000 (19:58 +0000)]
psycstore: postgres fixes

8 years agopq: fix crash in clean_varsize_blob() after extracting NULL value
Gabor X Toth [Wed, 12 Oct 2016 19:58:22 +0000 (19:58 +0000)]
pq: fix crash in clean_varsize_blob() after extracting NULL value

8 years agopsycstore: postgres fixes
Gabor X Toth [Wed, 12 Oct 2016 19:31:44 +0000 (19:31 +0000)]
psycstore: postgres fixes

8 years agopsycstore: fix mysql
Gabor X Toth [Wed, 12 Oct 2016 19:11:03 +0000 (19:11 +0000)]
psycstore: fix mysql

8 years agomy: fix extract_string
Gabor X Toth [Wed, 12 Oct 2016 19:11:01 +0000 (19:11 +0000)]
my: fix extract_string

8 years agonew simplified, but incomplete, client logic
Christian Grothoff [Wed, 12 Oct 2016 17:46:52 +0000 (17:46 +0000)]
new simplified, but incomplete, client logic

8 years agominor indentation issues
Christian Grothoff [Wed, 12 Oct 2016 17:46:39 +0000 (17:46 +0000)]
minor indentation issues

8 years agopsycstore: conf
Gabor X Toth [Wed, 12 Oct 2016 16:41:41 +0000 (16:41 +0000)]
psycstore: conf

8 years agopsycstore: fix limit
Gabor X Toth [Wed, 12 Oct 2016 16:41:40 +0000 (16:41 +0000)]
psycstore: fix limit

8 years agomysql: statement_prepare: log query on error
Gabor X Toth [Wed, 12 Oct 2016 16:41:39 +0000 (16:41 +0000)]
mysql: statement_prepare: log query on error

8 years agopsycstore: fix msg handlers
Gabor X Toth [Wed, 12 Oct 2016 16:41:37 +0000 (16:41 +0000)]
psycstore: fix msg handlers

8 years agopsycstore/postgres: fix return value checks, use template1 db for tests
Gabor X Toth [Wed, 12 Oct 2016 16:41:36 +0000 (16:41 +0000)]
psycstore/postgres: fix return value checks, use template1 db for tests

8 years agolog: add \n
Gabor X Toth [Wed, 12 Oct 2016 16:41:34 +0000 (16:41 +0000)]
log: add \n

8 years ago-work around MHD_USE_TLS not being in old MHD versions
Christian Grothoff [Wed, 12 Oct 2016 15:34:23 +0000 (15:34 +0000)]
-work around MHD_USE_TLS not being in old MHD versions