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
Christian Grothoff [Sat, 28 Feb 2015 19:52:54 +0000 (19:52 +0000)]
-improved FD issue debug support
Christian Grothoff [Sat, 28 Feb 2015 19:17:44 +0000 (19:17 +0000)]
-fix ftbfs with debug option
Christian Grothoff [Sat, 28 Feb 2015 18:58:49 +0000 (18:58 +0000)]
-indentation, comments
Christian Grothoff [Sat, 28 Feb 2015 18:49:25 +0000 (18:49 +0000)]
call GNUNET_SERVER_receive_done() also on internal error paths
Christian Grothoff [Sat, 28 Feb 2015 18:44:18 +0000 (18:44 +0000)]
notify monitor about existing connections
Christian Grothoff [Sat, 28 Feb 2015 16:27:05 +0000 (16:27 +0000)]
-count total TCP handshakes
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
Christian Grothoff [Sat, 28 Feb 2015 16:21:01 +0000 (16:21 +0000)]
-no longer needed
Christian Grothoff [Sat, 28 Feb 2015 16:13:05 +0000 (16:13 +0000)]
-updating report.sh
Christian Grothoff [Sat, 28 Feb 2015 16:06:25 +0000 (16:06 +0000)]
-dead
Christian Grothoff [Sat, 28 Feb 2015 16:05:59 +0000 (16:05 +0000)]
-dead
Christian Grothoff [Sat, 28 Feb 2015 16:04:01 +0000 (16:04 +0000)]
-shorten stats labels
Christian Grothoff [Sat, 28 Feb 2015 16:00:44 +0000 (16:00 +0000)]
-check on cur_connections
Christian Grothoff [Sat, 28 Feb 2015 15:56:19 +0000 (15:56 +0000)]
ignore EAGAIN from accept()
Christian Grothoff [Sat, 28 Feb 2015 14:35:13 +0000 (14:35 +0000)]
-fix indentation, logging, i18n, doxygen
Christian Grothoff [Sat, 28 Feb 2015 14:12:31 +0000 (14:12 +0000)]
-doxygen, i18n and indentation
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)
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
Christian Grothoff [Sat, 28 Feb 2015 13:38:43 +0000 (13:38 +0000)]
fix #3688
Christian Grothoff [Sat, 28 Feb 2015 13:26:30 +0000 (13:26 +0000)]
disable solver during aging, ensure there is only one aging task
Christian Grothoff [Sat, 28 Feb 2015 13:21:05 +0000 (13:21 +0000)]
adding additional checks for invariants to help find #3690
Julius Bünger [Mon, 23 Feb 2015 23:48:36 +0000 (23:48 +0000)]
- sending act malicious message
Julius Bünger [Mon, 23 Feb 2015 14:35:02 +0000 (14:35 +0000)]
- sending act malicious message
David Barksdale [Mon, 23 Feb 2015 00:39:06 +0000 (00:39 +0000)]
Don't timeout XHR clients so quickly.
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
Christian Grothoff [Sun, 22 Feb 2015 22:08:35 +0000 (22:08 +0000)]
-stylistic fixes
Julius Bünger [Sun, 22 Feb 2015 18:47:59 +0000 (18:47 +0000)]
baseline for test with malicious peers
Christian Grothoff [Sat, 21 Feb 2015 20:43:27 +0000 (20:43 +0000)]
fix TCP plugin RC issue (#3687) by changing util API (!)
Christian Grothoff [Sat, 21 Feb 2015 20:22:05 +0000 (20:22 +0000)]
-indenting...
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
Christian Grothoff [Sat, 21 Feb 2015 12:45:28 +0000 (12:45 +0000)]
fix use-after-free on exit
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
Christian Grothoff [Sat, 21 Feb 2015 12:38:19 +0000 (12:38 +0000)]
-fix scope assignment
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
Matthias Wachs [Fri, 20 Feb 2015 12:46:17 +0000 (12:46 +0000)]
implement linear back off for restart attempts
Matthias Wachs [Fri, 20 Feb 2015 08:48:19 +0000 (08:48 +0000)]
RIP fulcrum: machine does not exist anymore
Matthias Wachs [Thu, 19 Feb 2015 20:30:05 +0000 (20:30 +0000)]
fix crash: check if problem is already created before updating
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
Christian Grothoff [Wed, 18 Feb 2015 14:06:53 +0000 (14:06 +0000)]
fixing #3683: proper counting of TCP connections
Christian Grothoff [Wed, 18 Feb 2015 14:05:44 +0000 (14:05 +0000)]
-doxygen
Christian Grothoff [Wed, 18 Feb 2015 14:05:32 +0000 (14:05 +0000)]
-tolerate NULL
Julius Bünger [Tue, 17 Feb 2015 14:06:11 +0000 (14:06 +0000)]
- fixed conflicting int type
Julius Bünger [Tue, 17 Feb 2015 14:04:56 +0000 (14:04 +0000)]
- fixed rounding
Julius Bünger [Tue, 17 Feb 2015 14:04:50 +0000 (14:04 +0000)]
- fixed conflicting int sizes
Julius Bünger [Tue, 17 Feb 2015 14:04:44 +0000 (14:04 +0000)]
- fixed memory and coding issues
Julius Bünger [Tue, 17 Feb 2015 03:38:42 +0000 (03:38 +0000)]
- cleaned test code
Julius Bünger [Tue, 17 Feb 2015 03:38:40 +0000 (03:38 +0000)]
- fixed logic
Julius Bünger [Tue, 17 Feb 2015 03:38:37 +0000 (03:38 +0000)]
- fixed uninitialised memory, logic
Julius Bünger [Mon, 16 Feb 2015 18:56:22 +0000 (18:56 +0000)]
- fixed slow startup of service
Julius Bünger [Sun, 15 Feb 2015 17:20:19 +0000 (17:20 +0000)]
- fixed confusion of push and pull
Julius Bünger [Sun, 15 Feb 2015 17:20:16 +0000 (17:20 +0000)]
- check for validity of peers
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
Julius Bünger [Sun, 15 Feb 2015 17:20:10 +0000 (17:20 +0000)]
- fix wrong check
Julius Bünger [Sun, 15 Feb 2015 17:20:07 +0000 (17:20 +0000)]
- cancle own connection when peer is not in gossip list
Julius Bünger [Sun, 15 Feb 2015 17:20:04 +0000 (17:20 +0000)]
- got rid of unneeded code
Julius Bünger [Sun, 15 Feb 2015 17:20:00 +0000 (17:20 +0000)]
- renamed flag
Julius Bünger [Sun, 15 Feb 2015 17:19:57 +0000 (17:19 +0000)]
- don't add own id to pull_list
Julius Bünger [Sun, 15 Feb 2015 17:19:54 +0000 (17:19 +0000)]
- fixed behaviour of init_peer_cb()
Julius Bünger [Sun, 15 Feb 2015 17:19:51 +0000 (17:19 +0000)]
- changed behaviour on peer disconnect
Julius Bünger [Sun, 15 Feb 2015 17:19:48 +0000 (17:19 +0000)]
- leave peer in sampler on peer disconnect
Julius Bünger [Sun, 15 Feb 2015 17:19:45 +0000 (17:19 +0000)]
- add additional check before peer removal
Julius Bünger [Sun, 15 Feb 2015 17:19:42 +0000 (17:19 +0000)]
- don't put our own id in the algorithm
Julius Bünger [Sun, 15 Feb 2015 17:19:39 +0000 (17:19 +0000)]
- restructured peer removal
Julius Bünger [Sun, 15 Feb 2015 17:19:36 +0000 (17:19 +0000)]
- changed criteria for putting peer in pull list
Julius Bünger [Sun, 15 Feb 2015 17:19:33 +0000 (17:19 +0000)]
- restructured check whether peer is live
Julius Bünger [Sun, 15 Feb 2015 17:19:30 +0000 (17:19 +0000)]
- restructured in_arr() and rem_from_list()
Julius Bünger [Sun, 15 Feb 2015 17:19:27 +0000 (17:19 +0000)]
- macro for getting/setting peer flags
Christian Grothoff [Fri, 13 Feb 2015 00:12:35 +0000 (00:12 +0000)]
-fix
Christian Grothoff [Fri, 13 Feb 2015 00:11:53 +0000 (00:11 +0000)]
-fixing misc minor bugs and style issues (unchecked return values, memory leaks, dead code
Christian Grothoff [Fri, 13 Feb 2015 00:01:39 +0000 (00:01 +0000)]
simplify logic, avoid using uninit variable
Christian Grothoff [Thu, 12 Feb 2015 20:35:50 +0000 (20:35 +0000)]
-fix callback after cancellation issue
Christian Grothoff [Thu, 12 Feb 2015 20:17:54 +0000 (20:17 +0000)]
-reduce loglevel (#3682)
Christian Grothoff [Thu, 12 Feb 2015 20:12:42 +0000 (20:12 +0000)]
-fix memory leak of address on shutdown
Christian Grothoff [Thu, 12 Feb 2015 20:12:28 +0000 (20:12 +0000)]
-fix leak on transmission error in combination with disconnect
Christian Grothoff [Thu, 12 Feb 2015 19:52:47 +0000 (19:52 +0000)]
log TCP server suspends
Christian Grothoff [Thu, 12 Feb 2015 19:37:14 +0000 (19:37 +0000)]
-nicer logging
Christian Grothoff [Thu, 12 Feb 2015 19:19:11 +0000 (19:19 +0000)]
-fix shutdown issue
Christian Grothoff [Thu, 12 Feb 2015 19:13:46 +0000 (19:13 +0000)]
generate our own HELLO before starting validations
Christian Grothoff [Thu, 12 Feb 2015 15:24:57 +0000 (15:24 +0000)]
-fix typo
Christian Grothoff [Thu, 12 Feb 2015 15:24:37 +0000 (15:24 +0000)]
-better stats for KEEPALIVEs
Christian Grothoff [Thu, 12 Feb 2015 15:18:37 +0000 (15:18 +0000)]
-better stats for KEEPALIVEs
Christian Grothoff [Thu, 12 Feb 2015 14:25:33 +0000 (14:25 +0000)]
reset blocking time for addresses upon successful connection
Christian Grothoff [Thu, 12 Feb 2015 14:22:43 +0000 (14:22 +0000)]
keep track of number of temporarily blocked addresses
Christian Grothoff [Wed, 11 Feb 2015 21:02:02 +0000 (21:02 +0000)]
-improve logging
Christian Grothoff [Wed, 11 Feb 2015 19:27:54 +0000 (19:27 +0000)]
-style
Christian Grothoff [Wed, 11 Feb 2015 19:24:38 +0000 (19:24 +0000)]
-allow UINT64_MAX without crashing
Christian Grothoff [Wed, 11 Feb 2015 19:23:57 +0000 (19:23 +0000)]
-allow UINT64_MAX without crashing
Christian Grothoff [Wed, 11 Feb 2015 18:44:19 +0000 (18:44 +0000)]
finish implementing reservation test, and fix bandwidth reservation logic
Christian Grothoff [Wed, 11 Feb 2015 18:29:54 +0000 (18:29 +0000)]
-remove unused exported symbol
Christian Grothoff [Wed, 11 Feb 2015 17:10:31 +0000 (17:10 +0000)]
add proper test for bandwidth reservation
Christian Grothoff [Wed, 11 Feb 2015 17:00:40 +0000 (17:00 +0000)]
add command to test reservations
Christian Grothoff [Wed, 11 Feb 2015 16:45:35 +0000 (16:45 +0000)]
-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:45:01 +0000 (16:45 +0000)]
-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:43:25 +0000 (16:43 +0000)]
-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:43:13 +0000 (16:43 +0000)]
-fix badness
Christian Grothoff [Wed, 11 Feb 2015 16:19:56 +0000 (16:19 +0000)]
-ignore
Christian Grothoff [Wed, 11 Feb 2015 16:19:16 +0000 (16:19 +0000)]
-also obsolete
Christian Grothoff [Wed, 11 Feb 2015 16:17:20 +0000 (16:17 +0000)]
new testsuite, obsoleting (most of) the old one
Christian Grothoff [Wed, 11 Feb 2015 16:16:14 +0000 (16:16 +0000)]
-check for in_destroy when looking up session IDs