Bart Polot [Wed, 21 Sep 2011 19:51:37 +0000 (19:51 +0000)]
Fixed memory leaks
David Brodski [Wed, 21 Sep 2011 19:38:19 +0000 (19:38 +0000)]
Some asserts
David Brodski [Wed, 21 Sep 2011 19:27:22 +0000 (19:27 +0000)]
Bugfixes and statistics added
David Brodski [Wed, 21 Sep 2011 18:02:39 +0000 (18:02 +0000)]
Cleanup, fixed pretty_printer, fixed session not created when beacon received
Christian Grothoff [Wed, 21 Sep 2011 16:47:30 +0000 (16:47 +0000)]
stuff
Christian Grothoff [Wed, 21 Sep 2011 16:47:21 +0000 (16:47 +0000)]
stuff
Bart Polot [Wed, 21 Sep 2011 15:42:32 +0000 (15:42 +0000)]
Fixed use of uninitialized memory from realloc leading to segfaults and bus errors
Christian Grothoff [Wed, 21 Sep 2011 13:09:07 +0000 (13:09 +0000)]
finishing new API
Bart Polot [Wed, 21 Sep 2011 12:59:59 +0000 (12:59 +0000)]
Renamed functions, make valgrind stop complaining about memory leaks by explicitly freeing stuff before exit
Bart Polot [Wed, 21 Sep 2011 11:39:40 +0000 (11:39 +0000)]
Updated testcase
David Brodski [Wed, 21 Sep 2011 08:42:11 +0000 (08:42 +0000)]
Some Fixes
Philipp Tölke [Wed, 21 Sep 2011 08:06:55 +0000 (08:06 +0000)]
do not notify more than one transmit at a time
Philipp Tölke [Wed, 21 Sep 2011 07:44:10 +0000 (07:44 +0000)]
we do not want to crash if somebody leaves the net
Christian Grothoff [Wed, 21 Sep 2011 05:51:54 +0000 (05:51 +0000)]
extend
Christian Grothoff [Wed, 21 Sep 2011 05:51:49 +0000 (05:51 +0000)]
extend
Christian Grothoff [Wed, 21 Sep 2011 05:51:38 +0000 (05:51 +0000)]
add
Bart Polot [Wed, 21 Sep 2011 01:35:02 +0000 (01:35 +0000)]
Added testcase code, fixed minor bugs
David Brodski [Tue, 20 Sep 2011 17:36:24 +0000 (17:36 +0000)]
Test comments
Bart Polot [Tue, 20 Sep 2011 17:22:58 +0000 (17:22 +0000)]
Cleaned and fixed refactoring to improve separation, only 3 structs are now shared
Bart Polot [Tue, 20 Sep 2011 12:09:08 +0000 (12:09 +0000)]
Added path testcase
Bart Polot [Tue, 20 Sep 2011 00:01:43 +0000 (00:01 +0000)]
Refactored MeshTunnel Trees and Paths in a separate file to allow testing, since it's non-trivial code by itself and to allow future separation in a different service.
Bart Polot [Mon, 19 Sep 2011 22:09:18 +0000 (22:09 +0000)]
Fixed memory leak
Bart Polot [Mon, 19 Sep 2011 22:04:34 +0000 (22:04 +0000)]
Fixed many bugs, test local 2 now passes, but with memory leaks
Christian Grothoff [Mon, 19 Sep 2011 20:49:42 +0000 (20:49 +0000)]
stuff
Christian Grothoff [Mon, 19 Sep 2011 20:25:37 +0000 (20:25 +0000)]
cleanup
Christian Grothoff [Mon, 19 Sep 2011 20:19:45 +0000 (20:19 +0000)]
fix emsg
Christian Grothoff [Mon, 19 Sep 2011 20:19:17 +0000 (20:19 +0000)]
fix emsg
Christian Grothoff [Mon, 19 Sep 2011 20:07:17 +0000 (20:07 +0000)]
print emsg
Christian Grothoff [Mon, 19 Sep 2011 20:05:27 +0000 (20:05 +0000)]
print emsg
Christian Grothoff [Mon, 19 Sep 2011 20:01:22 +0000 (20:01 +0000)]
print emsg
Bart Polot [Mon, 19 Sep 2011 19:37:00 +0000 (19:37 +0000)]
Fixed use before initialization
Christian Grothoff [Mon, 19 Sep 2011 19:36:18 +0000 (19:36 +0000)]
keep problem size
Christian Grothoff [Mon, 19 Sep 2011 19:34:26 +0000 (19:34 +0000)]
adding missing index
Bart Polot [Mon, 19 Sep 2011 19:25:44 +0000 (19:25 +0000)]
Changed own id handling
Bart Polot [Mon, 19 Sep 2011 12:57:54 +0000 (12:57 +0000)]
Added debug code, fixed minor bug
Christian Grothoff [Mon, 19 Sep 2011 11:28:23 +0000 (11:28 +0000)]
fixconfig
Christian Grothoff [Mon, 19 Sep 2011 10:39:05 +0000 (10:39 +0000)]
fix
Christian Grothoff [Mon, 19 Sep 2011 09:51:38 +0000 (09:51 +0000)]
done
Christian Grothoff [Mon, 19 Sep 2011 09:45:43 +0000 (09:45 +0000)]
disable debug options
Christian Grothoff [Mon, 19 Sep 2011 09:44:20 +0000 (09:44 +0000)]
limit mesh tests -- mark as experimental
Christian Grothoff [Mon, 19 Sep 2011 09:39:28 +0000 (09:39 +0000)]
do latency computation - #1768
Christian Grothoff [Mon, 19 Sep 2011 09:38:36 +0000 (09:38 +0000)]
no latency can happen, should be rare
Christian Grothoff [Mon, 19 Sep 2011 09:38:28 +0000 (09:38 +0000)]
indentation
Christian Grothoff [Mon, 19 Sep 2011 08:57:17 +0000 (08:57 +0000)]
done
Christian Grothoff [Mon, 19 Sep 2011 08:55:11 +0000 (08:55 +0000)]
generate valid disconnect message -- Mantis #1789
Christian Grothoff [Mon, 19 Sep 2011 08:29:44 +0000 (08:29 +0000)]
update
Christian Grothoff [Mon, 19 Sep 2011 08:03:47 +0000 (08:03 +0000)]
marking HTTP as experimental
Christian Grothoff [Sun, 18 Sep 2011 21:34:08 +0000 (21:34 +0000)]
fixing #1781
Philipp Tölke [Sun, 18 Sep 2011 12:53:55 +0000 (12:53 +0000)]
no more hijacker-zombies
Philipp Tölke [Sun, 18 Sep 2011 12:53:53 +0000 (12:53 +0000)]
cleanup doxygen-errors
Philipp Tölke [Sun, 18 Sep 2011 12:10:22 +0000 (12:10 +0000)]
make the dns-resolver used for dns-exit configurable
Philipp Tölke [Sun, 18 Sep 2011 12:10:19 +0000 (12:10 +0000)]
compile before commiting
Philipp Tölke [Sun, 18 Sep 2011 11:59:15 +0000 (11:59 +0000)]
bug
Philipp Tölke [Sun, 18 Sep 2011 11:59:13 +0000 (11:59 +0000)]
fix bug in -vpn
Philipp Tölke [Sun, 18 Sep 2011 11:59:11 +0000 (11:59 +0000)]
do a dns-lookup to find the address of services other than localhost{4,6}
Christian Grothoff [Sun, 18 Sep 2011 11:17:56 +0000 (11:17 +0000)]
longer timeout
Christian Grothoff [Sun, 18 Sep 2011 11:14:21 +0000 (11:14 +0000)]
linux-only
Christian Grothoff [Sun, 18 Sep 2011 10:51:13 +0000 (10:51 +0000)]
fixwarning
Christian Grothoff [Sun, 18 Sep 2011 10:42:00 +0000 (10:42 +0000)]
more efficient implementation, maybe helping with 1777
Christian Grothoff [Sun, 18 Sep 2011 09:47:16 +0000 (09:47 +0000)]
SO_SNDBUF/SO_RECVBUF do not work on FreeBSD
Christian Grothoff [Sun, 18 Sep 2011 08:15:49 +0000 (08:15 +0000)]
better error handling
Christian Grothoff [Sun, 18 Sep 2011 07:19:47 +0000 (07:19 +0000)]
fixing 1767:
Christian Grothoff [Sat, 17 Sep 2011 21:36:49 +0000 (21:36 +0000)]
fixing 1776 --- do not check uid in client and don't put it into recent
Christian Grothoff [Sat, 17 Sep 2011 20:46:31 +0000 (20:46 +0000)]
removing reply bf entirely, problem was with UID removal
Christian Grothoff [Sat, 17 Sep 2011 20:03:20 +0000 (20:03 +0000)]
fix
Christian Grothoff [Sat, 17 Sep 2011 17:55:29 +0000 (17:55 +0000)]
fixes
Matthias Wachs [Fri, 16 Sep 2011 22:34:49 +0000 (22:34 +0000)]
update buildbots first...
Matthias Wachs [Fri, 16 Sep 2011 22:08:45 +0000 (22:08 +0000)]
fixes
Bart Polot [Fri, 16 Sep 2011 21:22:48 +0000 (21:22 +0000)]
Fixed creation and destrucion of trees with parent tunnel
Bart Polot [Fri, 16 Sep 2011 21:05:51 +0000 (21:05 +0000)]
Fixed reconnect
Refactored connect packet sending
Bart Polot [Fri, 16 Sep 2011 20:44:43 +0000 (20:44 +0000)]
Added code to create siglne paths from trees
Fixed create path packet creation
Fixed memory leakage on tunnel destroy
Added more debugging output to help locate problems
Tried to change comments so gnu indent doesn't break the code SO badly
Bart Polot [Fri, 16 Sep 2011 20:39:21 +0000 (20:39 +0000)]
Delayed end of test to expose problems on slow machines (like a Core 2 Duo 9400 @ 1.86GHz...)
Matthias Wachs [Fri, 16 Sep 2011 19:44:24 +0000 (19:44 +0000)]
sending and receiving implemented
Bart Polot [Fri, 16 Sep 2011 19:29:35 +0000 (19:29 +0000)]
Fixed a use after free that occured when doing DHT_Disconnect while the client was trying to reconnect to the service.
==12088== Invalid read of size 8
==12088== at 0x5245EB4: GNUNET_CLIENT_notify_transmit_ready_cancel (client.c:1118)
==12088== by 0x5033F10: GNUNET_DHT_disconnect (dht_api.c:571)
==12088== by 0x403211: shutdown_task (gnunet-service-mesh.c:3366)
==12088== by 0x5260292: GNUNET_SCHEDULER_run (scheduler.c:682)
==12088== by 0x526634B: GNUNET_SERVICE_run (service.c:1590)
==12088== by 0x401885: main (gnunet-service-mesh.c:3460)
==12088== Address 0x651fb90 is 32 bytes inside a block of size 64 free'd
==12088== at 0x4C2556E: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12088== by 0x5245F85: GNUNET_CLIENT_disconnect (client.c:422)
==12088== by 0x503360A: do_disconnect (dht_api.c:323)
==12088== by 0x5260292: GNUNET_SCHEDULER_run (scheduler.c:682)
==12088== by 0x526634B: GNUNET_SERVICE_run (service.c:1590)
==12088== by 0x401885: main (gnunet-service-mesh.c:3460)
Bart Polot [Fri, 16 Sep 2011 18:29:11 +0000 (18:29 +0000)]
Trying to make gnu indent's braindead indentation of comments *somehow* readable
Christian Grothoff [Fri, 16 Sep 2011 18:26:17 +0000 (18:26 +0000)]
fixing 1770, towards fixing 1769
Bart Polot [Fri, 16 Sep 2011 18:14:09 +0000 (18:14 +0000)]
Ran indent script
Christian Grothoff [Fri, 16 Sep 2011 18:12:44 +0000 (18:12 +0000)]
ign
Bart Polot [Fri, 16 Sep 2011 18:10:24 +0000 (18:10 +0000)]
Fixed send data to origin to work with the new data structures
Christian Grothoff [Fri, 16 Sep 2011 18:08:53 +0000 (18:08 +0000)]
no useless printfs
Christian Grothoff [Fri, 16 Sep 2011 18:08:35 +0000 (18:08 +0000)]
make 'obsolete' data structures conditionally compiled
Christian Grothoff [Fri, 16 Sep 2011 18:08:00 +0000 (18:08 +0000)]
static
Bart Polot [Fri, 16 Sep 2011 17:53:31 +0000 (17:53 +0000)]
Added notification of client that peers disconnected from tunnel
Bart Polot [Fri, 16 Sep 2011 17:32:45 +0000 (17:32 +0000)]
Fixed adding path to tunnel, deleting old path and replugging node under new one
Bart Polot [Fri, 16 Sep 2011 17:13:13 +0000 (17:13 +0000)]
Fixed a use after free
Christian Grothoff [Fri, 16 Sep 2011 17:00:29 +0000 (17:00 +0000)]
c3238
Christian Grothoff [Fri, 16 Sep 2011 16:59:12 +0000 (16:59 +0000)]
c3267
Christian Grothoff [Fri, 16 Sep 2011 16:58:50 +0000 (16:58 +0000)]
c3310
Christian Grothoff [Fri, 16 Sep 2011 16:36:35 +0000 (16:36 +0000)]
longer exp, cleaner code
Bart Polot [Fri, 16 Sep 2011 16:36:02 +0000 (16:36 +0000)]
Deleted old path to peer in tunnel tree before adding new one, conserving the peer node
Matthias Wachs [Fri, 16 Sep 2011 16:15:52 +0000 (16:15 +0000)]
transmitting data
Christian Grothoff [Fri, 16 Sep 2011 15:36:17 +0000 (15:36 +0000)]
unsigned
Christian Grothoff [Fri, 16 Sep 2011 15:29:59 +0000 (15:29 +0000)]
use named constants
Christian Grothoff [Fri, 16 Sep 2011 15:24:21 +0000 (15:24 +0000)]
c3133
Bart Polot [Fri, 16 Sep 2011 15:23:32 +0000 (15:23 +0000)]
Changed path management
- Peers now have a set of individual paths to reach them
- Tunnels have a tree of the paths in the tunnel to reach all peers in the tunnel in an efficent way, allowing to add peers efficiently taking in account existing paths and having each tunnel reach a peer on a different path.
- Adapted helper functions, periodic announcements, etc to new structure
Added initial support for link disconnection notification and readjustment
Christian Grothoff [Fri, 16 Sep 2011 15:21:40 +0000 (15:21 +0000)]
fixing FIXME, major bug with dangling pointer, c3142
Christian Grothoff [Fri, 16 Sep 2011 14:45:05 +0000 (14:45 +0000)]
fix
Matthias Wachs [Fri, 16 Sep 2011 14:24:29 +0000 (14:24 +0000)]
client sending & receiving
Christian Grothoff [Fri, 16 Sep 2011 14:02:53 +0000 (14:02 +0000)]
statics are zero, so this is actually not even needed
Christian Grothoff [Fri, 16 Sep 2011 14:02:03 +0000 (14:02 +0000)]
out of bounds, constant not named, c3042