oweals/gnunet.git
11 years agoFix a memory leak in MD serializer
LRN [Sat, 2 Feb 2013 17:26:03 +0000 (17:26 +0000)]
Fix a memory leak in MD serializer

11 years agoFix a buffer overflow
LRN [Sat, 2 Feb 2013 17:25:59 +0000 (17:25 +0000)]
Fix a buffer overflow

11 years agoDon't send more than 64k from fs helper
LRN [Sat, 2 Feb 2013 17:25:55 +0000 (17:25 +0000)]
Don't send more than 64k from fs helper

11 years ago- doc & indent
Sree Harsha Totakura [Fri, 1 Feb 2013 20:23:00 +0000 (20:23 +0000)]
- doc & indent

11 years ago-fix
Sree Harsha Totakura [Fri, 1 Feb 2013 15:10:38 +0000 (15:10 +0000)]
-fix

11 years ago-fix warning about modifying const cfg
Christian Grothoff [Fri, 1 Feb 2013 15:05:45 +0000 (15:05 +0000)]
-fix warning about modifying const cfg

11 years ago- fix
Sree Harsha Totakura [Fri, 1 Feb 2013 15:04:49 +0000 (15:04 +0000)]
- fix

11 years ago- doc
Sree Harsha Totakura [Fri, 1 Feb 2013 14:49:19 +0000 (14:49 +0000)]
- doc

11 years ago- fixes
Sree Harsha Totakura [Fri, 1 Feb 2013 12:51:14 +0000 (12:51 +0000)]
- fixes

11 years agoGNUNET_TRANSPORT_get_hello() to call its callback asynchronously
Sree Harsha Totakura [Fri, 1 Feb 2013 12:49:17 +0000 (12:49 +0000)]
GNUNET_TRANSPORT_get_hello() to call its callback asynchronously

11 years ago- rename and doc
Sree Harsha Totakura [Fri, 1 Feb 2013 11:14:12 +0000 (11:14 +0000)]
- rename and doc

11 years ago-fix non-terminating index test --- do not remove file early
Christian Grothoff [Fri, 1 Feb 2013 08:48:47 +0000 (08:48 +0000)]
-fix non-terminating index test --- do not remove file early

11 years ago- call peer connect notifiy callback only after calling the cache callback
Sree Harsha Totakura [Thu, 31 Jan 2013 20:11:04 +0000 (20:11 +0000)]
- call peer connect notifiy callback only after calling the cache callback

11 years ago- fixes and implements caching core handles
Sree Harsha Totakura [Thu, 31 Jan 2013 20:02:50 +0000 (20:02 +0000)]
- fixes and implements caching core handles

11 years agore-enumated argv to conform with helper-exit syntax
Christian Fuchs [Thu, 31 Jan 2013 14:15:10 +0000 (14:15 +0000)]
re-enumated argv to conform with helper-exit syntax

added stub for ipv4 nat. Note that there is a problem ahead!

11 years agoadded support for partial write to stdin/stdout.
Christian Fuchs [Thu, 31 Jan 2013 13:12:06 +0000 (13:12 +0000)]
added support for partial write to stdin/stdout.

there seems to be no point in adding support for partial read from the
TAP, as there is no delimiter and we get data on a per-frame level.

11 years ago- slow down the searching of strings to avoid collapsing the testbed
Bart Polot [Thu, 31 Jan 2013 12:46:07 +0000 (12:46 +0000)]
- slow down the searching of strings to avoid collapsing the testbed

11 years agoadded support for partial reads from stdin
Christian Fuchs [Thu, 31 Jan 2013 12:32:20 +0000 (12:32 +0000)]
added support for partial reads from stdin

11 years ago- fixes
Sree Harsha Totakura [Thu, 31 Jan 2013 12:08:58 +0000 (12:08 +0000)]
- fixes

11 years ago-cleanup
Christian Grothoff [Thu, 31 Jan 2013 12:02:43 +0000 (12:02 +0000)]
-cleanup

11 years ago- get core handle in core startup callback
Sree Harsha Totakura [Thu, 31 Jan 2013 11:26:51 +0000 (11:26 +0000)]
- get core handle in core startup callback

11 years ago-clean up published files - #2725
Christian Grothoff [Thu, 31 Jan 2013 10:41:52 +0000 (10:41 +0000)]
-clean up published files - #2725

11 years agohelper-vpn and helper-exit now are 64bit capabled.
Christian Fuchs [Thu, 31 Jan 2013 10:41:03 +0000 (10:41 +0000)]
helper-vpn and helper-exit now are 64bit capabled.

added check if we are running on a win32/wow64/win64 host system.

11 years ago- deduplicate
Sree Harsha Totakura [Thu, 31 Jan 2013 10:11:48 +0000 (10:11 +0000)]
- deduplicate

11 years ago-stuff
Christian Grothoff [Thu, 31 Jan 2013 09:47:21 +0000 (09:47 +0000)]
-stuff

11 years agoporting to W32 requires a port, yepee
Christian Grothoff [Thu, 31 Jan 2013 09:45:19 +0000 (09:45 +0000)]
porting to W32 requires a port, yepee

11 years agosome final code-beautification (coding style 4tw!)
Christian Fuchs [Thu, 31 Jan 2013 09:11:41 +0000 (09:11 +0000)]
some final code-beautification (coding style 4tw!)

removed a few obsolete variables

11 years agoadded gnunet-helper-exit-windows, which currently is just a copy of
Christian Fuchs [Thu, 31 Jan 2013 08:52:46 +0000 (08:52 +0000)]
added gnunet-helper-exit-windows, which currently is just a copy of
gnunet-helper-vpn-windows

11 years agoadded nice debug output for gnunet-herlper-vpn-windows.
Christian Fuchs [Wed, 30 Jan 2013 17:45:58 +0000 (17:45 +0000)]
added nice debug output for gnunet-herlper-vpn-windows.

11 years ago-sanity
Christian Grothoff [Wed, 30 Jan 2013 16:03:01 +0000 (16:03 +0000)]
-sanity

11 years ago-argh
Christian Grothoff [Wed, 30 Jan 2013 16:02:22 +0000 (16:02 +0000)]
-argh

11 years ago- unified notify callback for cached transport and core handles
Sree Harsha Totakura [Wed, 30 Jan 2013 16:01:57 +0000 (16:01 +0000)]
- unified notify callback for cached transport and core handles

11 years agoAPI extension, make blocking socket API visible
Christian Grothoff [Wed, 30 Jan 2013 15:54:31 +0000 (15:54 +0000)]
API extension, make blocking socket API visible

11 years ago-check for EINPROGRESS for UNIX, hopefully fixing #2741
Christian Grothoff [Wed, 30 Jan 2013 15:54:13 +0000 (15:54 +0000)]
-check for EINPROGRESS for UNIX, hopefully fixing #2741

11 years agotowards caching CORE handles
Sree Harsha Totakura [Wed, 30 Jan 2013 15:06:52 +0000 (15:06 +0000)]
towards caching CORE handles

11 years agofunction to synchronously check if a peer is connected at CORE level
Sree Harsha Totakura [Wed, 30 Jan 2013 13:38:49 +0000 (13:38 +0000)]
function to synchronously check if a peer is connected at CORE level

11 years ago- fix
Sree Harsha Totakura [Wed, 30 Jan 2013 13:34:47 +0000 (13:34 +0000)]
- fix

11 years ago- fixes
Sree Harsha Totakura [Wed, 30 Jan 2013 11:10:16 +0000 (11:10 +0000)]
- fixes

11 years ago- fixes
Sree Harsha Totakura [Wed, 30 Jan 2013 10:41:18 +0000 (10:41 +0000)]
- fixes

11 years agocache transport handles with peer connect notifications
Sree Harsha Totakura [Wed, 30 Jan 2013 10:06:33 +0000 (10:06 +0000)]
cache transport handles with peer connect notifications

11 years ago forgot
Matthias Wachs [Wed, 30 Jan 2013 09:22:40 +0000 (09:22 +0000)]
 forgot

11 years ago- fix
Sree Harsha Totakura [Tue, 29 Jan 2013 20:57:17 +0000 (20:57 +0000)]
- fix

11 years ago- fix
Sree Harsha Totakura [Tue, 29 Jan 2013 15:16:06 +0000 (15:16 +0000)]
- fix

11 years agocaching transport handles
Sree Harsha Totakura [Tue, 29 Jan 2013 15:10:19 +0000 (15:10 +0000)]
caching transport handles

11 years ago- queue requests for accessing handles from cache
Sree Harsha Totakura [Tue, 29 Jan 2013 13:55:14 +0000 (13:55 +0000)]
- queue requests for accessing handles from cache

11 years ago- towards caching transport handles along with HELLO messages
Sree Harsha Totakura [Tue, 29 Jan 2013 12:25:09 +0000 (12:25 +0000)]
- towards caching transport handles along with HELLO messages

11 years ago- rename "hello cache" to "cache"
Sree Harsha Totakura [Mon, 28 Jan 2013 15:03:58 +0000 (15:03 +0000)]
- rename "hello cache" to "cache"

11 years ago- fix
Sree Harsha Totakura [Mon, 28 Jan 2013 14:09:59 +0000 (14:09 +0000)]
- fix

11 years ago- fix SEGFAULT while registering hosts
Sree Harsha Totakura [Mon, 28 Jan 2013 13:39:03 +0000 (13:39 +0000)]
- fix SEGFAULT while registering hosts

11 years ago-fix leak
Christian Grothoff [Sat, 26 Jan 2013 20:56:01 +0000 (20:56 +0000)]
-fix leak

11 years ago-force no c format
Christian Grothoff [Sat, 26 Jan 2013 20:53:11 +0000 (20:53 +0000)]
-force no c format

11 years agobound remote overlay connect operation execution to limited number of open file descr...
Sree Harsha Totakura [Sat, 26 Jan 2013 14:27:22 +0000 (14:27 +0000)]
bound remote overlay connect operation execution to limited number of open file descriptors

11 years ago- rename
Sree Harsha Totakura [Sat, 26 Jan 2013 14:00:28 +0000 (14:00 +0000)]
- rename

11 years agoLRN: Here's a patch. See if it doesn't break anything for you.
Christian Grothoff [Sat, 26 Jan 2013 09:50:37 +0000 (09:50 +0000)]
LRN: Here's a patch. See if it doesn't break anything for you.

Arm service is started with -c <configname> only when the process that
runs arm service has "[arm]/CONFIG" defined in the configuration used
to run arm service (usually - process' own configuration).

Since default [arm] config has no CONFIG defined anymore (thanks to
your r25908), we need to add this code to put the config file that was
passed to gnunet-arm tool via -c as "[arm]/CONFIG" for arm service to
receive it.

Otherwise arm service is run without config and reads default config
(~/.gnunet/gnunet.conf) instead, which is clearly not what we need.

11 years agofix 2746
Sree Harsha Totakura [Fri, 25 Jan 2013 22:27:43 +0000 (22:27 +0000)]
fix 2746

11 years agoread MAX_OPEN_FDS from configuration
Sree Harsha Totakura [Fri, 25 Jan 2013 20:38:28 +0000 (20:38 +0000)]
read MAX_OPEN_FDS from configuration

11 years ago- fixes
Bart Polot [Fri, 25 Jan 2013 17:50:05 +0000 (17:50 +0000)]
- fixes

11 years ago- fixed crash in case of DHT_disconnect called from a DHT_get iterator
Bart Polot [Fri, 25 Jan 2013 17:42:22 +0000 (17:42 +0000)]
- fixed crash in case of DHT_disconnect called from a DHT_get iterator

11 years ago-allow custom listen port
Christian Grothoff [Fri, 25 Jan 2013 17:19:05 +0000 (17:19 +0000)]
-allow custom listen port

11 years agobound overlay connect operation execution to limited number of open file descriptors
Sree Harsha Totakura [Fri, 25 Jan 2013 16:42:42 +0000 (16:42 +0000)]
bound overlay connect operation execution to limited number of open file descriptors

11 years ago-def
Christian Grothoff [Fri, 25 Jan 2013 16:09:42 +0000 (16:09 +0000)]
-def

11 years ago-arminteg
Christian Grothoff [Fri, 25 Jan 2013 16:06:56 +0000 (16:06 +0000)]
-arminteg

11 years ago-fix
Christian Grothoff [Fri, 25 Jan 2013 16:04:32 +0000 (16:04 +0000)]
-fix

11 years ago-fix
Christian Grothoff [Fri, 25 Jan 2013 16:03:58 +0000 (16:03 +0000)]
-fix

11 years agostart gnunet-service-arm nicely if configuration file does not exist
Christian Grothoff [Fri, 25 Jan 2013 16:02:41 +0000 (16:02 +0000)]
start gnunet-service-arm nicely if configuration file does not exist

11 years ago- indent
Sree Harsha Totakura [Fri, 25 Jan 2013 15:28:08 +0000 (15:28 +0000)]
- indent

11 years agoadd DNS exit for mesh to gnunet-daemon-exit
Christian Grothoff [Fri, 25 Jan 2013 15:22:18 +0000 (15:22 +0000)]
add DNS exit for mesh to gnunet-daemon-exit

11 years agoremove DNS exit for mesh from gnunet-service-dns
Christian Grothoff [Fri, 25 Jan 2013 15:22:01 +0000 (15:22 +0000)]
remove DNS exit for mesh from gnunet-service-dns

11 years ago- towards operation queues for open file descriptors
Sree Harsha Totakura [Fri, 25 Jan 2013 15:11:47 +0000 (15:11 +0000)]
- towards operation queues for open file descriptors

11 years ago- rearrange
Sree Harsha Totakura [Fri, 25 Jan 2013 14:40:32 +0000 (14:40 +0000)]
- rearrange

11 years ago- rename
Sree Harsha Totakura [Fri, 25 Jan 2013 14:32:37 +0000 (14:32 +0000)]
- rename

11 years ago-allow disconnecting from DHT during GET iterator
Christian Grothoff [Fri, 25 Jan 2013 13:40:41 +0000 (13:40 +0000)]
-allow disconnecting from DHT during GET iterator

11 years ago-style
Christian Grothoff [Fri, 25 Jan 2013 13:05:23 +0000 (13:05 +0000)]
-style

11 years ago-check that this is actually a DNS packet
Christian Grothoff [Fri, 25 Jan 2013 13:03:08 +0000 (13:03 +0000)]
-check that this is actually a DNS packet

11 years ago- separate overlay connect message handling as module
Sree Harsha Totakura [Fri, 25 Jan 2013 12:11:58 +0000 (12:11 +0000)]
- separate overlay connect message handling as module

11 years ago- missing argument
Bart Polot [Fri, 25 Jan 2013 12:09:19 +0000 (12:09 +0000)]
- missing argument

11 years ago- pass local ID to announce
Bart Polot [Fri, 25 Jan 2013 11:54:56 +0000 (11:54 +0000)]
- pass local ID to announce

11 years agoseparate hello cache as module
Sree Harsha Totakura [Fri, 25 Jan 2013 10:55:49 +0000 (10:55 +0000)]
separate hello cache as module

11 years ago- move data structures to shared header
Sree Harsha Totakura [Fri, 25 Jan 2013 10:31:11 +0000 (10:31 +0000)]
- move data structures to shared header

11 years ago- fix compile error
Bart Polot [Fri, 25 Jan 2013 09:27:45 +0000 (09:27 +0000)]
- fix compile error

11 years agotest harder
Sree Harsha Totakura [Thu, 24 Jan 2013 17:01:06 +0000 (17:01 +0000)]
test harder

11 years ago- cosmetic changes
Bart Polot [Thu, 24 Jan 2013 16:14:59 +0000 (16:14 +0000)]
- cosmetic changes

11 years ago- copyright notice
Bart Polot [Thu, 24 Jan 2013 15:51:03 +0000 (15:51 +0000)]
- copyright notice

11 years agoMoved regex profiler and profiler daemon from mesh to regex, adaped to regex dht lib
Bart Polot [Thu, 24 Jan 2013 15:46:53 +0000 (15:46 +0000)]
Moved regex profiler and profiler daemon from mesh to regex, adaped to regex dht lib

11 years agore-fixed incorrect from last commit... :-D forgot to save.
Christian Fuchs [Thu, 24 Jan 2013 13:54:45 +0000 (13:54 +0000)]
re-fixed incorrect from last commit... :-D forgot to save.

11 years agoadded debug logics to print to and read from STDIN, instead of from
Christian Fuchs [Thu, 24 Jan 2013 13:51:31 +0000 (13:51 +0000)]
added debug logics to print to and read from STDIN, instead of from
named pipes

moved declaration of hdr outside of the ifs

fixed an incorrect comparison introduced in last commit

11 years agohelper now always uses BOOL(winbool) instead of boolean to stay
Christian Fuchs [Thu, 24 Jan 2013 13:07:29 +0000 (13:07 +0000)]
helper now always uses BOOL(winbool) instead of boolean to stay
consistent

attept_write now properly resets the read facility to IOSTATE_RESUME, in
case read was stalled because write was busy

11 years agoadded IOSTATE_RESUME and related code to state machines
Christian Fuchs [Thu, 24 Jan 2013 12:49:52 +0000 (12:49 +0000)]
added IOSTATE_RESUME and related code to state machines

11 years agooperations now can explicitly register how many resources they require
Sree Harsha Totakura [Thu, 24 Jan 2013 12:24:42 +0000 (12:24 +0000)]
operations now can explicitly register how many resources they require

11 years ago-log messages
Florian Dold [Thu, 24 Jan 2013 11:49:42 +0000 (11:49 +0000)]
-log messages

11 years agofix
Florian Dold [Thu, 24 Jan 2013 11:46:02 +0000 (11:46 +0000)]
fix

11 years ago-fix
Florian Dold [Thu, 24 Jan 2013 11:39:23 +0000 (11:39 +0000)]
-fix

11 years ago-fix
Florian Dold [Thu, 24 Jan 2013 11:37:31 +0000 (11:37 +0000)]
-fix

11 years ago-fix #2743
Christian Grothoff [Thu, 24 Jan 2013 10:52:19 +0000 (10:52 +0000)]
-fix #2743

11 years ago-parse time nicely
Christian Grothoff [Thu, 24 Jan 2013 10:16:44 +0000 (10:16 +0000)]
-parse time nicely

11 years ago-tiny fixmes
Christian Grothoff [Thu, 24 Jan 2013 10:11:13 +0000 (10:11 +0000)]
-tiny fixmes

11 years agoadded gnunet-header stripping and adding functionality
Christian Fuchs [Thu, 24 Jan 2013 08:51:15 +0000 (08:51 +0000)]
added gnunet-header stripping and adding functionality

woops logics bug discovered: when read goes into waiting, the output
facility will
not transfer the input buffer and forget about it silently...

11 years agoadded ip-address remove functions
Christian Fuchs [Thu, 24 Jan 2013 08:23:16 +0000 (08:23 +0000)]
added ip-address remove functions

newly set IP addresses now should expire upon reboot (buggy on some
windows, but at least it solves the IP-persistence issues in win7 and
above)

cloned read functions to properly apply or strip the gnunet message
header

removed the status BOOL from the overlapped struct and made it local

some fixes here and there

added a lot of comments

style adjustments

TODO:
* actually strip the gnunet message header or apply it again
* test with the main vpn binary

11 years ago-fixme reminder
Florian Dold [Thu, 24 Jan 2013 02:59:28 +0000 (02:59 +0000)]
-fixme reminder

11 years agoimplemented value exchange, various fixes
Florian Dold [Thu, 24 Jan 2013 02:55:31 +0000 (02:55 +0000)]
implemented value exchange, various fixes