oweals/gnunet.git
11 years ago-move dv API header to where it would typically belong
Christian Grothoff [Sat, 13 Jul 2013 15:36:16 +0000 (15:36 +0000)]
-move dv API header to where it would typically belong

11 years ago-bring set/gns into the fold of non-experimental subsystems
Christian Grothoff [Sat, 13 Jul 2013 15:34:40 +0000 (15:34 +0000)]
-bring set/gns into the fold of non-experimental subsystems

11 years ago-add dv_get_network to DV API, improve signature to use 'struct Session *' instead...
Christian Grothoff [Sat, 13 Jul 2013 15:33:30 +0000 (15:33 +0000)]
-add dv_get_network to DV API, improve signature to use 'struct Session *' instead of 'void *'

11 years ago dont skip when mid > traget
Bart Polot [Sat, 13 Jul 2013 15:00:28 +0000 (15:00 +0000)]
 dont skip when mid > traget

11 years agoAdding a copy of wlan plugin used for bluetooth plugin
Claudiu Olteanu [Sat, 13 Jul 2013 14:58:52 +0000 (14:58 +0000)]
Adding a copy of wlan plugin used for bluetooth plugin

11 years ago fixes
Bart Polot [Sat, 13 Jul 2013 14:54:45 +0000 (14:54 +0000)]
 fixes

11 years ago fixes. lunch break
Bart Polot [Sat, 13 Jul 2013 12:09:33 +0000 (12:09 +0000)]
 fixes. lunch break

11 years ago- use one tunnelnotification struct
Bart Polot [Sat, 13 Jul 2013 11:50:31 +0000 (11:50 +0000)]
- use one tunnelnotification struct

11 years ago- bitfield does not loke NBO
Bart Polot [Sat, 13 Jul 2013 11:46:13 +0000 (11:46 +0000)]
- bitfield does not loke NBO

11 years ago- update status of client protocol
Bart Polot [Sat, 13 Jul 2013 11:43:32 +0000 (11:43 +0000)]
- update status of client protocol

11 years ago- initital implementation of bitfield ACK-ing of future messages
Bart Polot [Sat, 13 Jul 2013 10:15:16 +0000 (10:15 +0000)]
- initital implementation of bitfield ACK-ing of future messages

11 years ago- use enum, add out of order option
Bart Polot [Sat, 13 Jul 2013 09:10:10 +0000 (09:10 +0000)]
- use enum, add out of order option

11 years ago- tweak timing, improve precessing of received messages
Bart Polot [Sat, 13 Jul 2013 09:09:43 +0000 (09:09 +0000)]
- tweak timing, improve precessing of received messages

11 years ago-return NULL if never set
Christian Grothoff [Sat, 13 Jul 2013 08:45:21 +0000 (08:45 +0000)]
-return NULL if never set

11 years ago- don't retransmit so eagerly
Bart Polot [Sat, 13 Jul 2013 03:42:55 +0000 (03:42 +0000)]
- don't retransmit so eagerly

11 years ago- filter by type
Bart Polot [Sat, 13 Jul 2013 03:39:21 +0000 (03:39 +0000)]
- filter by type

11 years ago- separate hop and end ACK at destination
Bart Polot [Sat, 13 Jul 2013 03:39:04 +0000 (03:39 +0000)]
- separate hop and end ACK at destination

11 years ago- off by one
Bart Polot [Sat, 13 Jul 2013 03:16:11 +0000 (03:16 +0000)]
- off by one

11 years ago- debug
Bart Polot [Sat, 13 Jul 2013 02:51:19 +0000 (02:51 +0000)]
- debug

11 years ago- when injecting a retransmitted message in the queue, update its pid to the lowest...
Bart Polot [Sat, 13 Jul 2013 02:46:51 +0000 (02:46 +0000)]
- when injecting a retransmitted message in the queue, update its pid to the lowest from the queue

11 years ago- fixes
Bart Polot [Sat, 13 Jul 2013 02:29:18 +0000 (02:29 +0000)]
- fixes

11 years ago- undo mix of pid and mid
Bart Polot [Sat, 13 Jul 2013 02:06:51 +0000 (02:06 +0000)]
- undo mix of pid and mid

11 years ago- fix unreliable unicast
Bart Polot [Sat, 13 Jul 2013 01:43:17 +0000 (01:43 +0000)]
- fix unreliable unicast

11 years ago- fix disconnecting of ghost clients
Bart Polot [Sat, 13 Jul 2013 01:36:58 +0000 (01:36 +0000)]
- fix disconnecting of ghost clients

11 years ago- connect_notify is also called with NULL on server shutdown
Bart Polot [Sat, 13 Jul 2013 01:32:57 +0000 (01:32 +0000)]
- connect_notify is also called with NULL on server shutdown

11 years agoAdd context to a client immediately after connection. Otherwise calling SERVER_get_cl...
Bart Polot [Sat, 13 Jul 2013 01:20:42 +0000 (01:20 +0000)]
Add context to a client immediately after connection. Otherwise calling SERVER_get_client_context on a client that never sent an initial message (and didn't have a chance to receive something via SERVER_set_client_context) causes an assertion failure in server.c:355. This happens when the client can connect to the service on multiple protocols, one of the connections will be immediately closed (see bug for ghost client disconnects)

11 years ago- use message ID for end-to-end ACKs
Bart Polot [Sat, 13 Jul 2013 01:13:07 +0000 (01:13 +0000)]
- use message ID for end-to-end ACKs

11 years ago- limit retransmission buffer size
Bart Polot [Fri, 12 Jul 2013 23:01:17 +0000 (23:01 +0000)]
- limit retransmission buffer size

11 years ago- don't retransmit a message if it's stil in the outgoing queue
Bart Polot [Fri, 12 Jul 2013 22:37:04 +0000 (22:37 +0000)]
- don't retransmit a message if it's stil in the outgoing queue

11 years ago- calculate round trip time of real message, not original
Bart Polot [Fri, 12 Jul 2013 22:15:25 +0000 (22:15 +0000)]
- calculate round trip time of real message, not original

11 years ago-fix doxygen
Christian Grothoff [Fri, 12 Jul 2013 22:13:52 +0000 (22:13 +0000)]
-fix doxygen

11 years agonew hellos
Matthias Wachs [Fri, 12 Jul 2013 15:27:40 +0000 (15:27 +0000)]
new hellos

11 years agotemplate update
Matthias Wachs [Fri, 12 Jul 2013 15:04:40 +0000 (15:04 +0000)]
template update

11 years agousing inbound string
Matthias Wachs [Fri, 12 Jul 2013 14:56:09 +0000 (14:56 +0000)]
using inbound string

11 years agoString to print inbound connections
Matthias Wachs [Fri, 12 Jul 2013 14:55:59 +0000 (14:55 +0000)]
String to print inbound connections

11 years agofixing crash
Matthias Wachs [Fri, 12 Jul 2013 14:45:25 +0000 (14:45 +0000)]
fixing crash

11 years agounused variable
Matthias Wachs [Fri, 12 Jul 2013 14:42:09 +0000 (14:42 +0000)]
unused variable

11 years agoimportant check
Matthias Wachs [Fri, 12 Jul 2013 14:15:37 +0000 (14:15 +0000)]
important check

11 years ago- use correct ACK for nonreliable tunnels
Bart Polot [Fri, 12 Jul 2013 13:53:08 +0000 (13:53 +0000)]
- use correct ACK for nonreliable tunnels

11 years agofix
Matthias Wachs [Fri, 12 Jul 2013 13:46:33 +0000 (13:46 +0000)]
fix

11 years agofix if plugin is loaded only in stub mode
Matthias Wachs [Fri, 12 Jul 2013 13:43:09 +0000 (13:43 +0000)]
fix if plugin is loaded only in stub mode

11 years agoautomatically replace all server addresses with client addresses
Matthias Wachs [Fri, 12 Jul 2013 13:28:01 +0000 (13:28 +0000)]
automatically replace all server addresses with client addresses

11 years agosubstring search is the root of all evil:
Matthias Wachs [Fri, 12 Jul 2013 13:04:38 +0000 (13:04 +0000)]
substring search is the root of all evil:
peerinfo did load wrong plugin if substring matches: used https for http address

11 years ago- use API change from r27944
Bart Polot [Fri, 12 Jul 2013 11:22:50 +0000 (11:22 +0000)]
- use API change from r27944

11 years agoPSYC/social: header for method callbacks
Gabor X Toth [Fri, 12 Jul 2013 09:43:07 +0000 (09:43 +0000)]
PSYC/social: header for method callbacks

11 years agofix state machine
Matthias Wachs [Fri, 12 Jul 2013 09:15:23 +0000 (09:15 +0000)]
fix state machine

11 years agodisabling error level message, adding stats instead
Matthias Wachs [Fri, 12 Jul 2013 08:58:07 +0000 (08:58 +0000)]
disabling error level message, adding stats instead

11 years agofixed address validation for plugins with client server architecture
Matthias Wachs [Fri, 12 Jul 2013 08:51:22 +0000 (08:51 +0000)]
fixed address validation for plugins with client server architecture

11 years agoverified and improved address checking for external hostname and verify option
Matthias Wachs [Fri, 12 Jul 2013 08:50:45 +0000 (08:50 +0000)]
verified and improved address checking for external hostname and verify option

11 years agoPSYC APIs: added missing args and functions, more consistent naming
Gabor X Toth [Fri, 12 Jul 2013 08:47:10 +0000 (08:47 +0000)]
PSYC APIs: added missing args and functions, more consistent naming

- multicast: origin arg for join; s/leave/part/g
- psyc: origin arg for join; join/part callbacks
- social: enter2, home_advertise, away
- psycstore/social: get latest historic message using ID 0
- added PSYC lib

11 years ago-adding API to associated user context with a server's client to avoid ugly hacks...
Christian Grothoff [Thu, 11 Jul 2013 22:18:17 +0000 (22:18 +0000)]
-adding API to associated user context with a server's client to avoid ugly hacks, such as linked list searches and casting pointers to integers (thanks to Peter-Vogginger for forcing me to fix this)

11 years ago-adding missing file"
Christian Grothoff [Thu, 11 Jul 2013 22:08:03 +0000 (22:08 +0000)]
-adding missing file"

11 years ago-disable regex autostart for tests
Christian Grothoff [Thu, 11 Jul 2013 20:45:28 +0000 (20:45 +0000)]
-disable regex autostart for tests

11 years ago-no namestore autostarting
Christian Grothoff [Thu, 11 Jul 2013 20:41:37 +0000 (20:41 +0000)]
-no namestore autostarting

11 years ago-no regex autostart
Christian Grothoff [Thu, 11 Jul 2013 20:35:16 +0000 (20:35 +0000)]
-no regex autostart

11 years agofixed test case
Florian Dold [Thu, 11 Jul 2013 19:01:15 +0000 (19:01 +0000)]
fixed test case

11 years ago- fix segfault on error
Bart Polot [Thu, 11 Jul 2013 18:41:20 +0000 (18:41 +0000)]
- fix segfault on error

11 years ago-fix
Christian Grothoff [Thu, 11 Jul 2013 16:27:19 +0000 (16:27 +0000)]
-fix

11 years agoenabling address check in validation
Matthias Wachs [Thu, 11 Jul 2013 16:03:23 +0000 (16:03 +0000)]
enabling address check in validation

11 years ago- adapt delay after each ACK
Bart Polot [Thu, 11 Jul 2013 15:24:38 +0000 (15:24 +0000)]
- adapt delay after each ACK

11 years agoimproved network switching
Matthias Wachs [Thu, 11 Jul 2013 15:24:28 +0000 (15:24 +0000)]
improved network switching

11 years ago- fix use after free
Bart Polot [Thu, 11 Jul 2013 15:22:27 +0000 (15:22 +0000)]
- fix use after free

11 years ago-fix
Christian Grothoff [Thu, 11 Jul 2013 15:19:09 +0000 (15:19 +0000)]
-fix

11 years agonotify ATS about a session (used for for validation) if we receive payload from a...
Matthias Wachs [Thu, 11 Jul 2013 15:04:18 +0000 (15:04 +0000)]
notify ATS about a session (used for for validation) if we receive payload from a remote peer on this session

11 years ago- fixed weird 'feature'
Bart Polot [Thu, 11 Jul 2013 14:48:28 +0000 (14:48 +0000)]
- fixed weird 'feature'

11 years agonew function to check if session is known to ats
Matthias Wachs [Thu, 11 Jul 2013 14:44:03 +0000 (14:44 +0000)]
new function to check if session is known to ats
required for two reasons:
we cannot update metrics for validation sessions since these are not known to ats
a remote peer can decide to use an inbound validation session to transmit data, so we have to add the session to ats if we receive payload on a session

11 years ago-add extra checks
Christian Grothoff [Thu, 11 Jul 2013 14:39:20 +0000 (14:39 +0000)]
-add extra checks

11 years agoFinishing mesh reliable:
Bart Polot [Thu, 11 Jul 2013 14:30:44 +0000 (14:30 +0000)]
Finishing mesh reliable:
- per-tunnel retransmission, always retransmit oldest not-ACK'd message
- adaptive retransmission delay
-- start with 1s
-- use per-message timing to update expected delay on each ACK as d = avg (d, new)
-- update pending retransmissions with new values

11 years agolog level
Matthias Wachs [Thu, 11 Jul 2013 14:03:25 +0000 (14:03 +0000)]
log level

11 years agoremoving unwanted break
Matthias Wachs [Thu, 11 Jul 2013 13:50:03 +0000 (13:50 +0000)]
removing unwanted break

11 years agoremoving general address adding
Matthias Wachs [Thu, 11 Jul 2013 13:49:49 +0000 (13:49 +0000)]
removing general address adding

11 years agoprinting inbound addresses
Matthias Wachs [Thu, 11 Jul 2013 13:48:54 +0000 (13:48 +0000)]
printing inbound addresses

11 years agoadding debug message
Matthias Wachs [Thu, 11 Jul 2013 13:48:38 +0000 (13:48 +0000)]
adding debug message

11 years agofixed:
Matthias Wachs [Thu, 11 Jul 2013 13:48:18 +0000 (13:48 +0000)]
fixed:
inbound address size
reporting inbound sessions

11 years ago- more mess from retransmission of data
Bart Polot [Thu, 11 Jul 2013 13:03:08 +0000 (13:03 +0000)]
- more mess from retransmission of data

11 years agonotification for inbound sessions
Matthias Wachs [Thu, 11 Jul 2013 12:56:53 +0000 (12:56 +0000)]
notification for inbound sessions

11 years ago- fix memleak
Bart Polot [Thu, 11 Jul 2013 12:53:45 +0000 (12:53 +0000)]
- fix memleak

11 years ago- queue_destroy does all the work
Bart Polot [Thu, 11 Jul 2013 12:53:07 +0000 (12:53 +0000)]
- queue_destroy does all the work

11 years agofix: wrong address length
Matthias Wachs [Thu, 11 Jul 2013 12:34:09 +0000 (12:34 +0000)]
fix: wrong address length

11 years ago- drop newest message when a retransmission comes in
Bart Polot [Thu, 11 Jul 2013 12:11:15 +0000 (12:11 +0000)]
- drop newest message when a retransmission comes in

11 years agofixed:
Matthias Wachs [Thu, 11 Jul 2013 12:06:25 +0000 (12:06 +0000)]
fixed:
printing of inbound session
size of inbound sessions

11 years ago-typo
Christian Grothoff [Thu, 11 Jul 2013 12:03:27 +0000 (12:03 +0000)]
-typo

11 years ago-slight simplifications
Christian Grothoff [Thu, 11 Jul 2013 12:03:06 +0000 (12:03 +0000)]
-slight simplifications

11 years ago- avoid POLL messing with reliability counter
Bart Polot [Thu, 11 Jul 2013 11:58:09 +0000 (11:58 +0000)]
- avoid POLL messing with reliability counter

11 years ago-document
Christian Grothoff [Thu, 11 Jul 2013 11:56:05 +0000 (11:56 +0000)]
-document

11 years ago- avoid POLL messing with reliability counter
Bart Polot [Thu, 11 Jul 2013 11:39:18 +0000 (11:39 +0000)]
- avoid POLL messing with reliability counter

11 years agoadded bt quota
Matthias Wachs [Thu, 11 Jul 2013 11:35:57 +0000 (11:35 +0000)]
added bt quota

11 years agofixed:
Matthias Wachs [Thu, 11 Jul 2013 11:29:34 +0000 (11:29 +0000)]
fixed:
- printing inbound connections
- lookup for existing sessions
- notifying transport with session_start only for inbound sessions

11 years agofix:
Matthias Wachs [Thu, 11 Jul 2013 09:37:13 +0000 (09:37 +0000)]
fix:

return address length 0 for inbound session
- return session only if inbound flag is set:
issue because plugin sends TCP_WELCOME messages for incoming connections not only outbount

11 years agofix for printing
Matthias Wachs [Thu, 11 Jul 2013 09:15:06 +0000 (09:15 +0000)]
fix for printing

11 years agoremove ,
Matthias Wachs [Thu, 11 Jul 2013 07:47:08 +0000 (07:47 +0000)]
remove ,

11 years agofixing uninitialized values
Matthias Wachs [Thu, 11 Jul 2013 07:24:23 +0000 (07:24 +0000)]
fixing uninitialized values

11 years agofix for header
Matthias Wachs [Thu, 11 Jul 2013 07:03:59 +0000 (07:03 +0000)]
fix for header

11 years ago- doxygen
Bart Polot [Wed, 10 Jul 2013 23:08:55 +0000 (23:08 +0000)]
- doxygen

11 years ago- don't let retransmissions mess with per-hop ACK
Bart Polot [Wed, 10 Jul 2013 17:29:54 +0000 (17:29 +0000)]
- don't let retransmissions mess with per-hop ACK

11 years ago- data_ack ack's all previous messages, change hashmap to FIFO DLL
Bart Polot [Wed, 10 Jul 2013 16:53:19 +0000 (16:53 +0000)]
- data_ack ack's all previous messages, change hashmap to FIFO DLL

11 years ago- missing message types
Bart Polot [Wed, 10 Jul 2013 15:36:24 +0000 (15:36 +0000)]
- missing message types

11 years ago- updated message numbers
Bart Polot [Wed, 10 Jul 2013 15:11:20 +0000 (15:11 +0000)]
- updated message numbers

11 years ago- use different DATA ACK for both directions
Bart Polot [Wed, 10 Jul 2013 15:10:59 +0000 (15:10 +0000)]
- use different DATA ACK for both directions

11 years ago- nbo
Bart Polot [Wed, 10 Jul 2013 15:10:19 +0000 (15:10 +0000)]
- nbo