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
Christian Grothoff [Fri, 16 Sep 2011 13:59:48 +0000 (13:59 +0000)]
leak, c3045
Christian Grothoff [Fri, 16 Sep 2011 13:54:56 +0000 (13:54 +0000)]
leak, c3053
Christian Grothoff [Fri, 16 Sep 2011 13:53:27 +0000 (13:53 +0000)]
c3054, also do not memset after GNUNET_malloc, malloc already memsets to 0
Christian Grothoff [Fri, 16 Sep 2011 13:51:02 +0000 (13:51 +0000)]
c3015
Christian Grothoff [Fri, 16 Sep 2011 13:47:05 +0000 (13:47 +0000)]
c3018
Matthias Wachs [Fri, 16 Sep 2011 13:22:46 +0000 (13:22 +0000)]
Christian Grothoff [Fri, 16 Sep 2011 12:55:01 +0000 (12:55 +0000)]
do use reuseaddr on non-W32 systems
Matthias Wachs [Fri, 16 Sep 2011 12:38:26 +0000 (12:38 +0000)]
Matthias Wachs [Fri, 16 Sep 2011 09:19:25 +0000 (09:19 +0000)]
error msg
Christian Grothoff [Fri, 16 Sep 2011 08:53:47 +0000 (08:53 +0000)]
towards fixing 1773
Matthias Wachs [Thu, 15 Sep 2011 15:55:16 +0000 (15:55 +0000)]
fix
Matthias Wachs [Thu, 15 Sep 2011 15:54:05 +0000 (15:54 +0000)]
server side connection accepting and merging
Christian Grothoff [Thu, 15 Sep 2011 14:48:04 +0000 (14:48 +0000)]
fix
Christian Grothoff [Thu, 15 Sep 2011 12:54:56 +0000 (12:54 +0000)]
check for external-ip before forking
Christian Grothoff [Thu, 15 Sep 2011 12:47:43 +0000 (12:47 +0000)]
dbg support:
Matthias Wachs [Thu, 15 Sep 2011 12:31:32 +0000 (12:31 +0000)]
implemented disconnect notifications for outbound connections
Christian Grothoff [Thu, 15 Sep 2011 12:30:50 +0000 (12:30 +0000)]
actually use external resolution code; fix SUID check
Matthias Wachs [Thu, 15 Sep 2011 10:04:40 +0000 (10:04 +0000)]
pre-launch commit
Matthias Wachs [Thu, 15 Sep 2011 09:31:18 +0000 (09:31 +0000)]
more functionality
Christian Grothoff [Thu, 15 Sep 2011 08:26:37 +0000 (08:26 +0000)]
reduce problem size
Matthias Wachs [Thu, 15 Sep 2011 07:38:02 +0000 (07:38 +0000)]
fixing coverity bugs
Bart Polot [Wed, 14 Sep 2011 22:24:40 +0000 (22:24 +0000)]
WiP
Bart Polot [Wed, 14 Sep 2011 18:25:10 +0000 (18:25 +0000)]
Fixed data size given to dht_get_iterator
Matthias Wachs [Wed, 14 Sep 2011 16:46:38 +0000 (16:46 +0000)]
http plugin revisited
Bart Polot [Wed, 14 Sep 2011 15:56:39 +0000 (15:56 +0000)]
Added check of size of results
Bart Polot [Wed, 14 Sep 2011 15:55:43 +0000 (15:55 +0000)]
Change datacache_get_iterator to use stack instead of heap
Christian Grothoff [Wed, 14 Sep 2011 15:48:10 +0000 (15:48 +0000)]
check return values
Christian Grothoff [Wed, 14 Sep 2011 15:45:21 +0000 (15:45 +0000)]
dce
Bart Polot [Wed, 14 Sep 2011 15:27:34 +0000 (15:27 +0000)]
Fixed compiler warning in tests
David Brodski [Wed, 14 Sep 2011 15:17:22 +0000 (15:17 +0000)]
Fixed wlan beacon, added llc protocol for better compatibility.
Christian Grothoff [Wed, 14 Sep 2011 14:31:29 +0000 (14:31 +0000)]
stuff
Christian Grothoff [Wed, 14 Sep 2011 14:18:01 +0000 (14:18 +0000)]
clean up
Christian Grothoff [Wed, 14 Sep 2011 14:16:08 +0000 (14:16 +0000)]
clean up
Christian Grothoff [Wed, 14 Sep 2011 13:57:57 +0000 (13:57 +0000)]
fine
Bart Polot [Wed, 14 Sep 2011 13:54:46 +0000 (13:54 +0000)]
Added code for handling a case when a PUT is received with a key for which there is an active GET query.
Bart Polot [Wed, 14 Sep 2011 13:26:00 +0000 (13:26 +0000)]
Fixed typo
Christian Grothoff [Wed, 14 Sep 2011 12:42:28 +0000 (12:42 +0000)]
better reporting
Christian Grothoff [Wed, 14 Sep 2011 12:40:08 +0000 (12:40 +0000)]
simplifying configs
Christian Grothoff [Wed, 14 Sep 2011 12:33:00 +0000 (12:33 +0000)]
do not start mesh
Christian Grothoff [Wed, 14 Sep 2011 12:29:57 +0000 (12:29 +0000)]
use INDEXED BY only for sqlite >= 3.7
Christian Grothoff [Wed, 14 Sep 2011 12:20:29 +0000 (12:20 +0000)]
fix: ipv6 IPs should be in []. strlen bad parens
Christian Grothoff [Wed, 14 Sep 2011 11:59:46 +0000 (11:59 +0000)]
indentation
Christian Grothoff [Wed, 14 Sep 2011 11:58:34 +0000 (11:58 +0000)]
indenting
Christian Grothoff [Wed, 14 Sep 2011 11:55:02 +0000 (11:55 +0000)]
fix
David Brodski [Wed, 14 Sep 2011 08:53:52 +0000 (08:53 +0000)]
Error in test for filename
Christian Grothoff [Wed, 14 Sep 2011 08:47:49 +0000 (08:47 +0000)]
die
David Brodski [Wed, 14 Sep 2011 08:33:24 +0000 (08:33 +0000)]
Christian Grothoff [Wed, 14 Sep 2011 08:06:59 +0000 (08:06 +0000)]
extra assert, use named constants
Christian Grothoff [Wed, 14 Sep 2011 07:59:13 +0000 (07:59 +0000)]
fix
Christian Grothoff [Wed, 14 Sep 2011 07:58:20 +0000 (07:58 +0000)]
fix
Christian Grothoff [Wed, 14 Sep 2011 07:58:07 +0000 (07:58 +0000)]
fix
Christian Grothoff [Wed, 14 Sep 2011 07:35:15 +0000 (07:35 +0000)]
fix
Christian Grothoff [Wed, 14 Sep 2011 07:30:25 +0000 (07:30 +0000)]
fixfix
Christian Grothoff [Wed, 14 Sep 2011 07:24:03 +0000 (07:24 +0000)]
fixing 1753
Christian Grothoff [Wed, 14 Sep 2011 07:15:07 +0000 (07:15 +0000)]
fixing 1752
Bart Polot [Tue, 13 Sep 2011 17:43:33 +0000 (17:43 +0000)]
Fixed compiler warnings
Christian Grothoff [Tue, 13 Sep 2011 13:56:03 +0000 (13:56 +0000)]
make bitching less verbose
Christian Grothoff [Tue, 13 Sep 2011 13:49:51 +0000 (13:49 +0000)]
fix
Christian Grothoff [Tue, 13 Sep 2011 13:40:45 +0000 (13:40 +0000)]
adding missing files
Matthias Wachs [Tue, 13 Sep 2011 13:17:16 +0000 (13:17 +0000)]
fix
Christian Grothoff [Tue, 13 Sep 2011 12:47:40 +0000 (12:47 +0000)]
adding missing files
Christian Grothoff [Tue, 13 Sep 2011 12:44:25 +0000 (12:44 +0000)]
updating po-files
Christian Grothoff [Tue, 13 Sep 2011 12:43:24 +0000 (12:43 +0000)]
fix
Christian Grothoff [Tue, 13 Sep 2011 12:41:04 +0000 (12:41 +0000)]
ignore
Christian Grothoff [Tue, 13 Sep 2011 12:40:14 +0000 (12:40 +0000)]
make new current
Christian Grothoff [Tue, 13 Sep 2011 12:25:52 +0000 (12:25 +0000)]
stuff
Christian Grothoff [Tue, 13 Sep 2011 12:24:09 +0000 (12:24 +0000)]
dce
Christian Grothoff [Tue, 13 Sep 2011 12:22:24 +0000 (12:22 +0000)]
dce
Christian Grothoff [Tue, 13 Sep 2011 12:01:03 +0000 (12:01 +0000)]
dce
Christian Grothoff [Tue, 13 Sep 2011 11:58:47 +0000 (11:58 +0000)]
dce
Christian Grothoff [Tue, 13 Sep 2011 11:57:50 +0000 (11:57 +0000)]
dce
Christian Grothoff [Tue, 13 Sep 2011 11:54:44 +0000 (11:54 +0000)]
stuff