oweals/gnunet.git
9 years agoREST Service
Martin Schanzenbach [Wed, 11 Mar 2015 12:54:22 +0000 (12:54 +0000)]
REST Service

9 years ago- added malicous round execution primitive
Julius Bünger [Tue, 10 Mar 2015 12:20:31 +0000 (12:20 +0000)]
- added malicous round execution primitive

9 years ago- renaming
Julius Bünger [Tue, 10 Mar 2015 12:20:29 +0000 (12:20 +0000)]
- renaming

9 years ago- get rid of unnecessary code execution
Julius Bünger [Tue, 10 Mar 2015 12:20:27 +0000 (12:20 +0000)]
- get rid of unnecessary code execution

9 years ago- several minor fixes
Julius Bünger [Tue, 10 Mar 2015 12:20:25 +0000 (12:20 +0000)]
- several minor fixes

9 years agoadd GNUNET_CRYPTO_rsa_public_key_hash
Christian Grothoff [Mon, 9 Mar 2015 11:59:33 +0000 (11:59 +0000)]
add GNUNET_CRYPTO_rsa_public_key_hash

9 years ago-doxygen and stylistic fixes
Christian Grothoff [Mon, 9 Mar 2015 08:24:58 +0000 (08:24 +0000)]
-doxygen and stylistic fixes

9 years agodo not do cryptographic verification for results from datacache
Christian Grothoff [Sun, 8 Mar 2015 19:11:46 +0000 (19:11 +0000)]
do not do cryptographic verification for results from datacache

9 years agofinishing implementation of #3652
Christian Grothoff [Sun, 8 Mar 2015 15:56:44 +0000 (15:56 +0000)]
finishing implementation of #3652

9 years agoupdated DE translation from Mario Blättermann <mario.blaettermann@gmail.com>
Christian Grothoff [Sun, 8 Mar 2015 15:53:05 +0000 (15:53 +0000)]
updated DE translation from  Mario Blättermann <mario.blaettermann@gmail.com>

9 years ago-proper log message
Christian Grothoff [Sun, 8 Mar 2015 15:42:20 +0000 (15:42 +0000)]
-proper log message

9 years ago-always assume at least MIN bandwidth, even if we got no quota or a quota lower than min
Christian Grothoff [Sun, 8 Mar 2015 14:33:42 +0000 (14:33 +0000)]
-always assume at least MIN bandwidth, even if we got no quota or a quota lower than min

9 years ago-try to avoid being stuck with key sent/received if PING/PONGs are lost
Christian Grothoff [Sun, 8 Mar 2015 13:11:48 +0000 (13:11 +0000)]
-try to avoid being stuck with key sent/received if PING/PONGs are lost

9 years agoact on received SessionQuotaMessages
Christian Grothoff [Sat, 7 Mar 2015 20:41:48 +0000 (20:41 +0000)]
act on received SessionQuotaMessages

9 years agosimplify test, log failure cause
Christian Grothoff [Sat, 7 Mar 2015 20:18:54 +0000 (20:18 +0000)]
simplify test, log failure cause

9 years agofurther delay ACKs if we get duplicates
Christian Grothoff [Sat, 7 Mar 2015 19:59:02 +0000 (19:59 +0000)]
further delay ACKs if we get duplicates

9 years agothis can be very harmless, reduce logging
Christian Grothoff [Sat, 7 Mar 2015 19:54:28 +0000 (19:54 +0000)]
this can be very harmless, reduce logging

9 years agotrying to fix #3694: reduce duplicate ACKing
Christian Grothoff [Sat, 7 Mar 2015 19:35:26 +0000 (19:35 +0000)]
trying to fix #3694: reduce duplicate ACKing

9 years ago-indentation and comment fixes
Christian Grothoff [Sat, 7 Mar 2015 19:10:51 +0000 (19:10 +0000)]
-indentation and comment fixes

9 years agoimprove test to check set union operation and to test with empty sets
Christian Grothoff [Sat, 7 Mar 2015 18:52:04 +0000 (18:52 +0000)]
improve test to check set union operation and to test with empty sets

9 years agofix #3704
Christian Grothoff [Sat, 7 Mar 2015 18:29:42 +0000 (18:29 +0000)]
fix #3704

9 years ago-ignore
Christian Grothoff [Sat, 7 Mar 2015 11:26:16 +0000 (11:26 +0000)]
-ignore

9 years ago-fix dist issues
Christian Grothoff [Sat, 7 Mar 2015 11:16:41 +0000 (11:16 +0000)]
-fix dist issues

9 years agoadd --enable-wachs option
Christian Grothoff [Sat, 7 Mar 2015 11:13:29 +0000 (11:13 +0000)]
add --enable-wachs option

9 years agoadd --enable-wachs option
Christian Grothoff [Sat, 7 Mar 2015 11:13:19 +0000 (11:13 +0000)]
add --enable-wachs option

9 years ago-fix misc disting issues
Christian Grothoff [Sat, 7 Mar 2015 11:06:36 +0000 (11:06 +0000)]
-fix misc disting issues

9 years ago-fix segv
Christian Grothoff [Sat, 7 Mar 2015 10:57:14 +0000 (10:57 +0000)]
-fix segv

9 years agofix #3701
Christian Grothoff [Sat, 7 Mar 2015 10:36:04 +0000 (10:36 +0000)]
fix #3701

9 years agotrying to fix #3702 by removing session from session map earlier -- and adding additi...
Christian Grothoff [Sat, 7 Mar 2015 10:33:47 +0000 (10:33 +0000)]
trying to fix #3702 by removing session from session map earlier -- and adding additional check for messages being enqueued for destroyed sessions

9 years agopossible fix for #3690
Christian Grothoff [Tue, 3 Mar 2015 21:59:04 +0000 (21:59 +0000)]
possible fix for #3690

9 years agofix #3649/#3591
Christian Grothoff [Mon, 2 Mar 2015 20:38:01 +0000 (20:38 +0000)]
fix #3649/#3591

9 years agofinally fix #3698
Christian Grothoff [Mon, 2 Mar 2015 20:04:56 +0000 (20:04 +0000)]
finally fix #3698

9 years ago- fix segv when remote closes connection
Martin Schanzenbach [Mon, 2 Mar 2015 18:32:11 +0000 (18:32 +0000)]
- fix segv when remote closes connection

9 years agomake output of gnunet-transport -P more readable (#3662), and in particular support...
Christian Grothoff [Mon, 2 Mar 2015 09:13:09 +0000 (09:13 +0000)]
make output of gnunet-transport -P more readable (#3662), and in particular support -n and defer printing until address resolution is complete

9 years agodefine quota message to transmit quota requests, towards addressing #3652
Christian Grothoff [Mon, 2 Mar 2015 00:05:42 +0000 (00:05 +0000)]
define quota message to transmit quota requests, towards addressing #3652

9 years ago-doxygen, comments, indentation
Christian Grothoff [Sun, 1 Mar 2015 23:53:16 +0000 (23:53 +0000)]
-doxygen, comments, indentation

9 years ago-reimport from 0.8
Christian Grothoff [Sun, 1 Mar 2015 23:41:01 +0000 (23:41 +0000)]
-reimport from 0.8

9 years agoFix curl SNI handling with LEHO.
Christian Grothoff [Sun, 1 Mar 2015 23:38:48 +0000 (23:38 +0000)]
Fix curl SNI handling with LEHO.
(by Martin Schanzenbach)

9 years agomajor code cleanup in UDP plugin, seems to also fix bugs; specifically, I think I...
Christian Grothoff [Sun, 1 Mar 2015 22:54:42 +0000 (22:54 +0000)]
major code cleanup in UDP plugin, seems to also fix bugs; specifically, I think I fixed a leak

9 years ago-simplifying event loop for UDP, separting v4/v6 for better performance (in theory...
Christian Grothoff [Sun, 1 Mar 2015 14:32:34 +0000 (14:32 +0000)]
-simplifying event loop for UDP, separting v4/v6 for better performance (in theory at least)

9 years ago-simplify logic
Christian Grothoff [Sun, 1 Mar 2015 13:55:15 +0000 (13:55 +0000)]
-simplify logic

9 years agocount number of pending replies and refuse to process queries if queue gets too big
Christian Grothoff [Sun, 1 Mar 2015 01:12:22 +0000 (01:12 +0000)]
count number of pending replies and refuse to process queries if queue gets too big

9 years ago-extend block API to allow specifying flags, use this to allow reducing checks for...
Christian Grothoff [Sat, 28 Feb 2015 21:12:03 +0000 (21:12 +0000)]
-extend block API to allow specifying flags, use this to allow reducing checks for replies from local DB

9 years ago-improved FD issue debug support
Christian Grothoff [Sat, 28 Feb 2015 19:52:54 +0000 (19:52 +0000)]
-improved FD issue debug support

9 years ago-fix ftbfs with debug option
Christian Grothoff [Sat, 28 Feb 2015 19:17:44 +0000 (19:17 +0000)]
-fix ftbfs with debug option

9 years ago-indentation, comments
Christian Grothoff [Sat, 28 Feb 2015 18:58:49 +0000 (18:58 +0000)]
-indentation, comments

9 years agocall GNUNET_SERVER_receive_done() also on internal error paths
Christian Grothoff [Sat, 28 Feb 2015 18:49:25 +0000 (18:49 +0000)]
call GNUNET_SERVER_receive_done() also on internal error paths

9 years agonotify monitor about existing connections
Christian Grothoff [Sat, 28 Feb 2015 18:44:18 +0000 (18:44 +0000)]
notify monitor about existing connections

9 years ago-count total TCP handshakes
Christian Grothoff [Sat, 28 Feb 2015 16:27:05 +0000 (16:27 +0000)]
-count total TCP handshakes

9 years agogenerally use GNUNET_assert() instead of GNUNET_abort() to also log the error
Christian Grothoff [Sat, 28 Feb 2015 16:21:34 +0000 (16:21 +0000)]
generally use GNUNET_assert() instead of GNUNET_abort() to also log the error

9 years ago-no longer needed
Christian Grothoff [Sat, 28 Feb 2015 16:21:01 +0000 (16:21 +0000)]
-no longer needed

9 years ago-updating report.sh
Christian Grothoff [Sat, 28 Feb 2015 16:13:05 +0000 (16:13 +0000)]
-updating report.sh

9 years ago-dead
Christian Grothoff [Sat, 28 Feb 2015 16:06:25 +0000 (16:06 +0000)]
-dead

9 years ago-dead
Christian Grothoff [Sat, 28 Feb 2015 16:05:59 +0000 (16:05 +0000)]
-dead

9 years ago-shorten stats labels
Christian Grothoff [Sat, 28 Feb 2015 16:04:01 +0000 (16:04 +0000)]
-shorten stats labels

9 years ago-check on cur_connections
Christian Grothoff [Sat, 28 Feb 2015 16:00:44 +0000 (16:00 +0000)]
-check on cur_connections

9 years agoignore EAGAIN from accept()
Christian Grothoff [Sat, 28 Feb 2015 15:56:19 +0000 (15:56 +0000)]
ignore EAGAIN from accept()

9 years ago-fix indentation, logging, i18n, doxygen
Christian Grothoff [Sat, 28 Feb 2015 14:35:13 +0000 (14:35 +0000)]
-fix indentation, logging, i18n, doxygen

9 years ago-doxygen, i18n and indentation
Christian Grothoff [Sat, 28 Feb 2015 14:12:31 +0000 (14:12 +0000)]
-doxygen, i18n and indentation

9 years agoFix use after free:
Christian Grothoff [Sat, 28 Feb 2015 14:05:47 +0000 (14:05 +0000)]
Fix use after free:

==14602== Invalid write of size 4
==14602==    at 0x5A82CA7: receive_helper (client.c:542)
==14602==    by 0x5A8E146: signal_receive_timeout (connection.c:508)
==14602==    by 0x5A91236: receive_ready (connection.c:1091)
==14602==    by 0x5AC1091: run_ready (scheduler.c:587)
==14602==    by 0x5AC1915: GNUNET_SCHEDULER_run (scheduler.c:816)
==14602==    by 0x5AD00F5: GNUNET_SERVICE_run (service.c:1503)
==14602==    by 0x406218: main (gnunet-service-transport.c:925)
==14602==  Address 0xa4d42f8 is 104 bytes inside a block of size 120 free'd
==14602==    at 0x4C29E90: free (vg_replace_malloc.c:473)
==14602==    by 0x5A872C3: GNUNET_xfree_ (common_allocation.c:239)
==14602==    by 0x5A829C5: GNUNET_CLIENT_disconnect (client.c:475)
==14602==    by 0x5ABD9E5: handle_response (resolver_api.c:388)
==14602==    by 0x5A82CA2: receive_helper (client.c:538)
==14602==    by 0x5A8E146: signal_receive_timeout (connection.c:508)
==14602==    by 0x5A91236: receive_ready (connection.c:1091)
==14602==    by 0x5AC1091: run_ready (scheduler.c:587)
==14602==    by 0x5AC1915: GNUNET_SCHEDULER_run (scheduler.c:816)
==14602==    by 0x5AD00F5: GNUNET_SERVICE_run (service.c:1503)
==14602==    by 0x406218: main (gnunet-service-transport.c:925)

9 years agoinitialize 'client', so that disconnect can remove entry from DLL, may fix #3689
Christian Grothoff [Sat, 28 Feb 2015 13:52:37 +0000 (13:52 +0000)]
initialize 'client', so that disconnect can remove entry from DLL, may fix #3689

9 years agofix #3688
Christian Grothoff [Sat, 28 Feb 2015 13:38:43 +0000 (13:38 +0000)]
fix #3688

9 years agodisable solver during aging, ensure there is only one aging task
Christian Grothoff [Sat, 28 Feb 2015 13:26:30 +0000 (13:26 +0000)]
disable solver during aging, ensure there is only one aging task

9 years agoadding additional checks for invariants to help find #3690
Christian Grothoff [Sat, 28 Feb 2015 13:21:05 +0000 (13:21 +0000)]
adding additional checks for invariants to help find #3690

9 years ago- sending act malicious message
Julius Bünger [Mon, 23 Feb 2015 23:48:36 +0000 (23:48 +0000)]
- sending act malicious message

9 years ago- sending act malicious message
Julius Bünger [Mon, 23 Feb 2015 14:35:02 +0000 (14:35 +0000)]
- sending act malicious message

9 years agoDon't timeout XHR clients so quickly.
David Barksdale [Mon, 23 Feb 2015 00:39:06 +0000 (00:39 +0000)]
Don't timeout XHR clients so quickly.

9 years agosimplify logic, do not report monitoring events for sessions in destroy, indentation...
Christian Grothoff [Sun, 22 Feb 2015 22:10:15 +0000 (22:10 +0000)]
simplify logic, do not report monitoring events for sessions in destroy, indentation, doxygen -- may help/fix #3591

9 years ago-stylistic fixes
Christian Grothoff [Sun, 22 Feb 2015 22:08:35 +0000 (22:08 +0000)]
-stylistic fixes

9 years agobaseline for test with malicious peers
Julius Bünger [Sun, 22 Feb 2015 18:47:59 +0000 (18:47 +0000)]
baseline for test with malicious peers

9 years agofix TCP plugin RC issue (#3687) by changing util API (!)
Christian Grothoff [Sat, 21 Feb 2015 20:43:27 +0000 (20:43 +0000)]
fix TCP plugin RC issue (#3687) by changing util API (!)

9 years ago-indenting...
Christian Grothoff [Sat, 21 Feb 2015 20:22:05 +0000 (20:22 +0000)]
-indenting...

9 years ago-signal connection failure to receive even if receive is triggered after failure...
Christian Grothoff [Sat, 21 Feb 2015 20:21:40 +0000 (20:21 +0000)]
-signal connection failure to receive even if receive is triggered after failure is observed

9 years agofix use-after-free on exit
Christian Grothoff [Sat, 21 Feb 2015 12:45:28 +0000 (12:45 +0000)]
fix use-after-free on exit

9 years agobe more careful with errno, so we can be sure it is not overwritten by 'free()' and...
Christian Grothoff [Sat, 21 Feb 2015 12:41:11 +0000 (12:41 +0000)]
be more careful with errno, so we can be sure it is not overwritten by 'free()' and the like

9 years ago-fix scope assignment
Christian Grothoff [Sat, 21 Feb 2015 12:38:19 +0000 (12:38 +0000)]
-fix scope assignment

9 years agotrying to fix #3687/3683/3684 by avoiding server's client reference counting (GNUNET_...
Christian Grothoff [Fri, 20 Feb 2015 23:01:47 +0000 (23:01 +0000)]
trying to fix #3687/3683/3684 by avoiding server's client reference counting (GNUNET_SERVER_client_keep) which should not be needed in the first place

9 years agoimplement linear back off for restart attempts
Matthias Wachs [Fri, 20 Feb 2015 12:46:17 +0000 (12:46 +0000)]
implement linear back off for restart attempts

9 years agoRIP fulcrum: machine does not exist anymore
Matthias Wachs [Fri, 20 Feb 2015 08:48:19 +0000 (08:48 +0000)]
RIP fulcrum: machine does not exist anymore

9 years agofix crash: check if problem is already created before updating
Matthias Wachs [Thu, 19 Feb 2015 20:30:05 +0000 (20:30 +0000)]
fix crash: check if problem is already created before updating

9 years agofix blacklist checking logic, integrating tracking of sessions with blacklist module...
Christian Grothoff [Wed, 18 Feb 2015 14:08:39 +0000 (14:08 +0000)]
fix blacklist checking logic, integrating tracking of sessions with blacklist module and fixing dangling session issue which caused misc. problems when blacklists were in use

9 years agofixing #3683: proper counting of TCP connections
Christian Grothoff [Wed, 18 Feb 2015 14:06:53 +0000 (14:06 +0000)]
fixing #3683: proper counting of TCP connections

9 years ago-doxygen
Christian Grothoff [Wed, 18 Feb 2015 14:05:44 +0000 (14:05 +0000)]
-doxygen

9 years ago-tolerate NULL
Christian Grothoff [Wed, 18 Feb 2015 14:05:32 +0000 (14:05 +0000)]
-tolerate NULL

9 years ago- fixed conflicting int type
Julius Bünger [Tue, 17 Feb 2015 14:06:11 +0000 (14:06 +0000)]
- fixed conflicting int type

9 years ago- fixed rounding
Julius Bünger [Tue, 17 Feb 2015 14:04:56 +0000 (14:04 +0000)]
- fixed rounding

9 years ago- fixed conflicting int sizes
Julius Bünger [Tue, 17 Feb 2015 14:04:50 +0000 (14:04 +0000)]
- fixed conflicting int sizes

9 years ago- fixed memory and coding issues
Julius Bünger [Tue, 17 Feb 2015 14:04:44 +0000 (14:04 +0000)]
- fixed memory and coding issues

9 years ago- cleaned test code
Julius Bünger [Tue, 17 Feb 2015 03:38:42 +0000 (03:38 +0000)]
- cleaned test code

9 years ago- fixed logic
Julius Bünger [Tue, 17 Feb 2015 03:38:40 +0000 (03:38 +0000)]
- fixed logic

9 years ago- fixed uninitialised memory, logic
Julius Bünger [Tue, 17 Feb 2015 03:38:37 +0000 (03:38 +0000)]
- fixed uninitialised memory, logic

9 years ago- fixed slow startup of service
Julius Bünger [Mon, 16 Feb 2015 18:56:22 +0000 (18:56 +0000)]
- fixed slow startup of service

9 years ago- fixed confusion of push and pull
Julius Bünger [Sun, 15 Feb 2015 17:20:19 +0000 (17:20 +0000)]
- fixed confusion of push and pull

9 years ago- check for validity of peers
Julius Bünger [Sun, 15 Feb 2015 17:20:16 +0000 (17:20 +0000)]
- check for validity of peers

9 years ago- make sure there is an established channel for each peer in gossip list
Julius Bünger [Sun, 15 Feb 2015 17:20:13 +0000 (17:20 +0000)]
- make sure there is an established channel for each peer in gossip list

9 years ago- fix wrong check
Julius Bünger [Sun, 15 Feb 2015 17:20:10 +0000 (17:20 +0000)]
- fix wrong check

9 years ago- cancle own connection when peer is not in gossip list
Julius Bünger [Sun, 15 Feb 2015 17:20:07 +0000 (17:20 +0000)]
- cancle own connection when peer is not in gossip list

9 years ago- got rid of unneeded code
Julius Bünger [Sun, 15 Feb 2015 17:20:04 +0000 (17:20 +0000)]
- got rid of unneeded code

9 years ago- renamed flag
Julius Bünger [Sun, 15 Feb 2015 17:20:00 +0000 (17:20 +0000)]
- renamed flag

9 years ago- don't add own id to pull_list
Julius Bünger [Sun, 15 Feb 2015 17:19:57 +0000 (17:19 +0000)]
- don't add own id to pull_list