oweals/gnunet.git
13 years agosending and receiving implemented
Matthias Wachs [Fri, 16 Sep 2011 19:44:24 +0000 (19:44 +0000)]
sending and receiving implemented

13 years agoFixed a use after free that occured when doing DHT_Disconnect while the client was...
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)

13 years agoTrying to make gnu indent's braindead indentation of comments *somehow* readable
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

13 years agofixing 1770, towards fixing 1769
Christian Grothoff [Fri, 16 Sep 2011 18:26:17 +0000 (18:26 +0000)]
fixing 1770, towards fixing 1769

13 years agoRan indent script
Bart Polot [Fri, 16 Sep 2011 18:14:09 +0000 (18:14 +0000)]
Ran indent script

13 years agoign
Christian Grothoff [Fri, 16 Sep 2011 18:12:44 +0000 (18:12 +0000)]
ign

13 years agoFixed send data to origin to work with the new data structures
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

13 years agono useless printfs
Christian Grothoff [Fri, 16 Sep 2011 18:08:53 +0000 (18:08 +0000)]
no useless printfs

13 years agomake 'obsolete' data structures conditionally compiled
Christian Grothoff [Fri, 16 Sep 2011 18:08:35 +0000 (18:08 +0000)]
make 'obsolete' data structures conditionally compiled

13 years agostatic
Christian Grothoff [Fri, 16 Sep 2011 18:08:00 +0000 (18:08 +0000)]
static

13 years agoAdded notification of client that peers disconnected from tunnel
Bart Polot [Fri, 16 Sep 2011 17:53:31 +0000 (17:53 +0000)]
Added notification of client that peers disconnected from tunnel

13 years agoFixed adding path to tunnel, deleting old path and replugging node under new one
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

13 years agoFixed a use after free
Bart Polot [Fri, 16 Sep 2011 17:13:13 +0000 (17:13 +0000)]
Fixed a use after free

13 years agoc3238
Christian Grothoff [Fri, 16 Sep 2011 17:00:29 +0000 (17:00 +0000)]
c3238

13 years agoc3267
Christian Grothoff [Fri, 16 Sep 2011 16:59:12 +0000 (16:59 +0000)]
c3267

13 years agoc3310
Christian Grothoff [Fri, 16 Sep 2011 16:58:50 +0000 (16:58 +0000)]
c3310

13 years agolonger exp, cleaner code
Christian Grothoff [Fri, 16 Sep 2011 16:36:35 +0000 (16:36 +0000)]
longer exp, cleaner code

13 years agoDeleted old path to peer in tunnel tree before adding new one, conserving the peer...
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

13 years agotransmitting data
Matthias Wachs [Fri, 16 Sep 2011 16:15:52 +0000 (16:15 +0000)]
transmitting data

13 years agounsigned
Christian Grothoff [Fri, 16 Sep 2011 15:36:17 +0000 (15:36 +0000)]
unsigned

13 years agouse named constants
Christian Grothoff [Fri, 16 Sep 2011 15:29:59 +0000 (15:29 +0000)]
use named constants

13 years agoc3133
Christian Grothoff [Fri, 16 Sep 2011 15:24:21 +0000 (15:24 +0000)]
c3133

13 years agoChanged path management
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

13 years agofixing FIXME, major bug with dangling pointer, c3142
Christian Grothoff [Fri, 16 Sep 2011 15:21:40 +0000 (15:21 +0000)]
fixing FIXME, major bug with dangling pointer, c3142

13 years agofix
Christian Grothoff [Fri, 16 Sep 2011 14:45:05 +0000 (14:45 +0000)]
fix

13 years agoclient sending & receiving
Matthias Wachs [Fri, 16 Sep 2011 14:24:29 +0000 (14:24 +0000)]
client sending & receiving

13 years agostatics are zero, so this is actually not even needed
Christian Grothoff [Fri, 16 Sep 2011 14:02:53 +0000 (14:02 +0000)]
statics are zero, so this is actually not even needed

13 years agoout of bounds, constant not named, c3042
Christian Grothoff [Fri, 16 Sep 2011 14:02:03 +0000 (14:02 +0000)]
out of bounds, constant not named, c3042

13 years agoleak, c3045
Christian Grothoff [Fri, 16 Sep 2011 13:59:48 +0000 (13:59 +0000)]
leak, c3045

13 years agoleak, c3053
Christian Grothoff [Fri, 16 Sep 2011 13:54:56 +0000 (13:54 +0000)]
leak, c3053

13 years agoc3054, also do not memset after GNUNET_malloc, malloc already memsets to 0
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

13 years agoc3015
Christian Grothoff [Fri, 16 Sep 2011 13:51:02 +0000 (13:51 +0000)]
c3015

13 years agoc3018
Christian Grothoff [Fri, 16 Sep 2011 13:47:05 +0000 (13:47 +0000)]
c3018

13 years ago(no commit message)
Matthias Wachs [Fri, 16 Sep 2011 13:22:46 +0000 (13:22 +0000)]

13 years agodo use reuseaddr on non-W32 systems
Christian Grothoff [Fri, 16 Sep 2011 12:55:01 +0000 (12:55 +0000)]
do use reuseaddr on non-W32 systems

13 years ago(no commit message)
Matthias Wachs [Fri, 16 Sep 2011 12:38:26 +0000 (12:38 +0000)]

13 years agoerror msg
Matthias Wachs [Fri, 16 Sep 2011 09:19:25 +0000 (09:19 +0000)]
error msg

13 years agotowards fixing 1773
Christian Grothoff [Fri, 16 Sep 2011 08:53:47 +0000 (08:53 +0000)]
towards fixing 1773

13 years agofix
Matthias Wachs [Thu, 15 Sep 2011 15:55:16 +0000 (15:55 +0000)]
fix

13 years agoserver side connection accepting and merging
Matthias Wachs [Thu, 15 Sep 2011 15:54:05 +0000 (15:54 +0000)]
server side connection accepting and merging

13 years agofix
Christian Grothoff [Thu, 15 Sep 2011 14:48:04 +0000 (14:48 +0000)]
fix

13 years agocheck for external-ip before forking
Christian Grothoff [Thu, 15 Sep 2011 12:54:56 +0000 (12:54 +0000)]
check for external-ip before forking

13 years agodbg support:
Christian Grothoff [Thu, 15 Sep 2011 12:47:43 +0000 (12:47 +0000)]
dbg support:

13 years agoimplemented disconnect notifications for outbound connections
Matthias Wachs [Thu, 15 Sep 2011 12:31:32 +0000 (12:31 +0000)]
implemented disconnect notifications for outbound connections

13 years agoactually use external resolution code; fix SUID check
Christian Grothoff [Thu, 15 Sep 2011 12:30:50 +0000 (12:30 +0000)]
actually use external resolution code; fix SUID check

13 years agopre-launch commit
Matthias Wachs [Thu, 15 Sep 2011 10:04:40 +0000 (10:04 +0000)]
pre-launch commit

13 years agomore functionality
Matthias Wachs [Thu, 15 Sep 2011 09:31:18 +0000 (09:31 +0000)]
more functionality

13 years agoreduce problem size
Christian Grothoff [Thu, 15 Sep 2011 08:26:37 +0000 (08:26 +0000)]
reduce problem size

13 years agofixing coverity bugs
Matthias Wachs [Thu, 15 Sep 2011 07:38:02 +0000 (07:38 +0000)]
fixing coverity bugs

13 years agoWiP
Bart Polot [Wed, 14 Sep 2011 22:24:40 +0000 (22:24 +0000)]
WiP

13 years agoFixed data size given to dht_get_iterator
Bart Polot [Wed, 14 Sep 2011 18:25:10 +0000 (18:25 +0000)]
Fixed data size given to dht_get_iterator

13 years agohttp plugin revisited
Matthias Wachs [Wed, 14 Sep 2011 16:46:38 +0000 (16:46 +0000)]
http plugin revisited

13 years agoAdded check of size of results
Bart Polot [Wed, 14 Sep 2011 15:56:39 +0000 (15:56 +0000)]
Added check of size of results

13 years agoChange datacache_get_iterator to use stack instead of heap
Bart Polot [Wed, 14 Sep 2011 15:55:43 +0000 (15:55 +0000)]
Change datacache_get_iterator to use stack instead of heap

13 years agocheck return values
Christian Grothoff [Wed, 14 Sep 2011 15:48:10 +0000 (15:48 +0000)]
check return values

13 years agodce
Christian Grothoff [Wed, 14 Sep 2011 15:45:21 +0000 (15:45 +0000)]
dce

13 years agoFixed compiler warning in tests
Bart Polot [Wed, 14 Sep 2011 15:27:34 +0000 (15:27 +0000)]
Fixed compiler warning in tests

13 years agoFixed wlan beacon, added llc protocol for better compatibility.
David Brodski [Wed, 14 Sep 2011 15:17:22 +0000 (15:17 +0000)]
Fixed wlan beacon, added llc protocol for better compatibility.

13 years agostuff
Christian Grothoff [Wed, 14 Sep 2011 14:31:29 +0000 (14:31 +0000)]
stuff

13 years agoclean up
Christian Grothoff [Wed, 14 Sep 2011 14:18:01 +0000 (14:18 +0000)]
clean up

13 years agoclean up
Christian Grothoff [Wed, 14 Sep 2011 14:16:08 +0000 (14:16 +0000)]
clean up

13 years agofine
Christian Grothoff [Wed, 14 Sep 2011 13:57:57 +0000 (13:57 +0000)]
fine

13 years agoAdded code for handling a case when a PUT is received with a key for which there...
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.

13 years agoFixed typo
Bart Polot [Wed, 14 Sep 2011 13:26:00 +0000 (13:26 +0000)]
Fixed typo

13 years agobetter reporting
Christian Grothoff [Wed, 14 Sep 2011 12:42:28 +0000 (12:42 +0000)]
better reporting

13 years agosimplifying configs
Christian Grothoff [Wed, 14 Sep 2011 12:40:08 +0000 (12:40 +0000)]
simplifying configs

13 years agodo not start mesh
Christian Grothoff [Wed, 14 Sep 2011 12:33:00 +0000 (12:33 +0000)]
do not start mesh

13 years agouse INDEXED BY only for sqlite >= 3.7
Christian Grothoff [Wed, 14 Sep 2011 12:29:57 +0000 (12:29 +0000)]
use INDEXED BY only for sqlite >= 3.7

13 years agofix: ipv6 IPs should be in []. strlen bad parens
Christian Grothoff [Wed, 14 Sep 2011 12:20:29 +0000 (12:20 +0000)]
fix: ipv6 IPs should be in []. strlen bad parens

13 years agoindentation
Christian Grothoff [Wed, 14 Sep 2011 11:59:46 +0000 (11:59 +0000)]
indentation

13 years agoindenting
Christian Grothoff [Wed, 14 Sep 2011 11:58:34 +0000 (11:58 +0000)]
indenting

13 years agofix
Christian Grothoff [Wed, 14 Sep 2011 11:55:02 +0000 (11:55 +0000)]
fix

13 years agoError in test for filename
David Brodski [Wed, 14 Sep 2011 08:53:52 +0000 (08:53 +0000)]
Error in test for filename

13 years agodie
Christian Grothoff [Wed, 14 Sep 2011 08:47:49 +0000 (08:47 +0000)]
die

13 years ago(no commit message)
David Brodski [Wed, 14 Sep 2011 08:33:24 +0000 (08:33 +0000)]

13 years agoextra assert, use named constants
Christian Grothoff [Wed, 14 Sep 2011 08:06:59 +0000 (08:06 +0000)]
extra assert, use named constants

13 years agofix
Christian Grothoff [Wed, 14 Sep 2011 07:59:13 +0000 (07:59 +0000)]
fix

13 years agofix
Christian Grothoff [Wed, 14 Sep 2011 07:58:20 +0000 (07:58 +0000)]
fix

13 years agofix
Christian Grothoff [Wed, 14 Sep 2011 07:58:07 +0000 (07:58 +0000)]
fix

13 years agofix
Christian Grothoff [Wed, 14 Sep 2011 07:35:15 +0000 (07:35 +0000)]
fix

13 years agofixfix
Christian Grothoff [Wed, 14 Sep 2011 07:30:25 +0000 (07:30 +0000)]
fixfix

13 years agofixing 1753
Christian Grothoff [Wed, 14 Sep 2011 07:24:03 +0000 (07:24 +0000)]
fixing 1753

13 years agofixing 1752
Christian Grothoff [Wed, 14 Sep 2011 07:15:07 +0000 (07:15 +0000)]
fixing 1752

13 years agoFixed compiler warnings
Bart Polot [Tue, 13 Sep 2011 17:43:33 +0000 (17:43 +0000)]
Fixed compiler warnings

13 years agomake bitching less verbose
Christian Grothoff [Tue, 13 Sep 2011 13:56:03 +0000 (13:56 +0000)]
make bitching less verbose

13 years agofix
Christian Grothoff [Tue, 13 Sep 2011 13:49:51 +0000 (13:49 +0000)]
fix

13 years agoadding missing files
Christian Grothoff [Tue, 13 Sep 2011 13:40:45 +0000 (13:40 +0000)]
adding missing files

13 years agofix
Matthias Wachs [Tue, 13 Sep 2011 13:17:16 +0000 (13:17 +0000)]
fix

13 years agoadding missing files
Christian Grothoff [Tue, 13 Sep 2011 12:47:40 +0000 (12:47 +0000)]
adding missing files

13 years agoupdating po-files
Christian Grothoff [Tue, 13 Sep 2011 12:44:25 +0000 (12:44 +0000)]
updating po-files

13 years agofix
Christian Grothoff [Tue, 13 Sep 2011 12:43:24 +0000 (12:43 +0000)]
fix

13 years agoignore
Christian Grothoff [Tue, 13 Sep 2011 12:41:04 +0000 (12:41 +0000)]
ignore

13 years agomake new current
Christian Grothoff [Tue, 13 Sep 2011 12:40:14 +0000 (12:40 +0000)]
make new current

13 years agostuff
Christian Grothoff [Tue, 13 Sep 2011 12:25:52 +0000 (12:25 +0000)]
stuff

13 years agodce
Christian Grothoff [Tue, 13 Sep 2011 12:24:09 +0000 (12:24 +0000)]
dce

13 years agodce
Christian Grothoff [Tue, 13 Sep 2011 12:22:24 +0000 (12:22 +0000)]
dce

13 years agodce
Christian Grothoff [Tue, 13 Sep 2011 12:01:03 +0000 (12:01 +0000)]
dce

13 years agodce
Christian Grothoff [Tue, 13 Sep 2011 11:58:47 +0000 (11:58 +0000)]
dce

13 years agodce
Christian Grothoff [Tue, 13 Sep 2011 11:57:50 +0000 (11:57 +0000)]
dce

13 years agostuff
Christian Grothoff [Tue, 13 Sep 2011 11:54:44 +0000 (11:54 +0000)]
stuff