Bart Polot [Sat, 13 Jul 2013 03:42:55 +0000 (03:42 +0000)]
- don't retransmit so eagerly
Bart Polot [Sat, 13 Jul 2013 03:39:21 +0000 (03:39 +0000)]
- filter by type
Bart Polot [Sat, 13 Jul 2013 03:39:04 +0000 (03:39 +0000)]
- separate hop and end ACK at destination
Bart Polot [Sat, 13 Jul 2013 03:16:11 +0000 (03:16 +0000)]
- off by one
Bart Polot [Sat, 13 Jul 2013 02:51:19 +0000 (02:51 +0000)]
- debug
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
Bart Polot [Sat, 13 Jul 2013 02:29:18 +0000 (02:29 +0000)]
- fixes
Bart Polot [Sat, 13 Jul 2013 02:06:51 +0000 (02:06 +0000)]
- undo mix of pid and mid
Bart Polot [Sat, 13 Jul 2013 01:43:17 +0000 (01:43 +0000)]
- fix unreliable unicast
Bart Polot [Sat, 13 Jul 2013 01:36:58 +0000 (01:36 +0000)]
- fix disconnecting of ghost clients
Bart Polot [Sat, 13 Jul 2013 01:32:57 +0000 (01:32 +0000)]
- connect_notify is also called with NULL on server shutdown
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)
Bart Polot [Sat, 13 Jul 2013 01:13:07 +0000 (01:13 +0000)]
- use message ID for end-to-end ACKs
Bart Polot [Fri, 12 Jul 2013 23:01:17 +0000 (23:01 +0000)]
- limit retransmission buffer size
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
Bart Polot [Fri, 12 Jul 2013 22:15:25 +0000 (22:15 +0000)]
- calculate round trip time of real message, not original
Christian Grothoff [Fri, 12 Jul 2013 22:13:52 +0000 (22:13 +0000)]
-fix doxygen
Matthias Wachs [Fri, 12 Jul 2013 15:27:40 +0000 (15:27 +0000)]
new hellos
Matthias Wachs [Fri, 12 Jul 2013 15:04:40 +0000 (15:04 +0000)]
template update
Matthias Wachs [Fri, 12 Jul 2013 14:56:09 +0000 (14:56 +0000)]
using inbound string
Matthias Wachs [Fri, 12 Jul 2013 14:55:59 +0000 (14:55 +0000)]
String to print inbound connections
Matthias Wachs [Fri, 12 Jul 2013 14:45:25 +0000 (14:45 +0000)]
fixing crash
Matthias Wachs [Fri, 12 Jul 2013 14:42:09 +0000 (14:42 +0000)]
unused variable
Matthias Wachs [Fri, 12 Jul 2013 14:15:37 +0000 (14:15 +0000)]
important check
Bart Polot [Fri, 12 Jul 2013 13:53:08 +0000 (13:53 +0000)]
- use correct ACK for nonreliable tunnels
Matthias Wachs [Fri, 12 Jul 2013 13:46:33 +0000 (13:46 +0000)]
fix
Matthias Wachs [Fri, 12 Jul 2013 13:43:09 +0000 (13:43 +0000)]
fix if plugin is loaded only in stub mode
Matthias Wachs [Fri, 12 Jul 2013 13:28:01 +0000 (13:28 +0000)]
automatically replace all server addresses with client addresses
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
Bart Polot [Fri, 12 Jul 2013 11:22:50 +0000 (11:22 +0000)]
- use API change from r27944
Gabor X Toth [Fri, 12 Jul 2013 09:43:07 +0000 (09:43 +0000)]
PSYC/social: header for method callbacks
Matthias Wachs [Fri, 12 Jul 2013 09:15:23 +0000 (09:15 +0000)]
fix state machine
Matthias Wachs [Fri, 12 Jul 2013 08:58:07 +0000 (08:58 +0000)]
disabling error level message, adding stats instead
Matthias Wachs [Fri, 12 Jul 2013 08:51:22 +0000 (08:51 +0000)]
fixed address validation for plugins with client server architecture
Matthias Wachs [Fri, 12 Jul 2013 08:50:45 +0000 (08:50 +0000)]
verified and improved address checking for external hostname and verify option
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
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)
Christian Grothoff [Thu, 11 Jul 2013 22:08:03 +0000 (22:08 +0000)]
-adding missing file"
Christian Grothoff [Thu, 11 Jul 2013 20:45:28 +0000 (20:45 +0000)]
-disable regex autostart for tests
Christian Grothoff [Thu, 11 Jul 2013 20:41:37 +0000 (20:41 +0000)]
-no namestore autostarting
Christian Grothoff [Thu, 11 Jul 2013 20:35:16 +0000 (20:35 +0000)]
-no regex autostart
Florian Dold [Thu, 11 Jul 2013 19:01:15 +0000 (19:01 +0000)]
fixed test case
Bart Polot [Thu, 11 Jul 2013 18:41:20 +0000 (18:41 +0000)]
- fix segfault on error
Christian Grothoff [Thu, 11 Jul 2013 16:27:19 +0000 (16:27 +0000)]
-fix
Matthias Wachs [Thu, 11 Jul 2013 16:03:23 +0000 (16:03 +0000)]
enabling address check in validation
Bart Polot [Thu, 11 Jul 2013 15:24:38 +0000 (15:24 +0000)]
- adapt delay after each ACK
Matthias Wachs [Thu, 11 Jul 2013 15:24:28 +0000 (15:24 +0000)]
improved network switching
Bart Polot [Thu, 11 Jul 2013 15:22:27 +0000 (15:22 +0000)]
- fix use after free
Christian Grothoff [Thu, 11 Jul 2013 15:19:09 +0000 (15:19 +0000)]
-fix
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
Bart Polot [Thu, 11 Jul 2013 14:48:28 +0000 (14:48 +0000)]
- fixed weird 'feature'
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
Christian Grothoff [Thu, 11 Jul 2013 14:39:20 +0000 (14:39 +0000)]
-add extra checks
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
Matthias Wachs [Thu, 11 Jul 2013 14:03:25 +0000 (14:03 +0000)]
log level
Matthias Wachs [Thu, 11 Jul 2013 13:50:03 +0000 (13:50 +0000)]
removing unwanted break
Matthias Wachs [Thu, 11 Jul 2013 13:49:49 +0000 (13:49 +0000)]
removing general address adding
Matthias Wachs [Thu, 11 Jul 2013 13:48:54 +0000 (13:48 +0000)]
printing inbound addresses
Matthias Wachs [Thu, 11 Jul 2013 13:48:38 +0000 (13:48 +0000)]
adding debug message
Matthias Wachs [Thu, 11 Jul 2013 13:48:18 +0000 (13:48 +0000)]
fixed:
inbound address size
reporting inbound sessions
Bart Polot [Thu, 11 Jul 2013 13:03:08 +0000 (13:03 +0000)]
- more mess from retransmission of data
Matthias Wachs [Thu, 11 Jul 2013 12:56:53 +0000 (12:56 +0000)]
notification for inbound sessions
Bart Polot [Thu, 11 Jul 2013 12:53:45 +0000 (12:53 +0000)]
- fix memleak
Bart Polot [Thu, 11 Jul 2013 12:53:07 +0000 (12:53 +0000)]
- queue_destroy does all the work
Matthias Wachs [Thu, 11 Jul 2013 12:34:09 +0000 (12:34 +0000)]
fix: wrong address length
Bart Polot [Thu, 11 Jul 2013 12:11:15 +0000 (12:11 +0000)]
- drop newest message when a retransmission comes in
Matthias Wachs [Thu, 11 Jul 2013 12:06:25 +0000 (12:06 +0000)]
fixed:
printing of inbound session
size of inbound sessions
Christian Grothoff [Thu, 11 Jul 2013 12:03:27 +0000 (12:03 +0000)]
-typo
Christian Grothoff [Thu, 11 Jul 2013 12:03:06 +0000 (12:03 +0000)]
-slight simplifications
Bart Polot [Thu, 11 Jul 2013 11:58:09 +0000 (11:58 +0000)]
- avoid POLL messing with reliability counter
Christian Grothoff [Thu, 11 Jul 2013 11:56:05 +0000 (11:56 +0000)]
-document
Bart Polot [Thu, 11 Jul 2013 11:39:18 +0000 (11:39 +0000)]
- avoid POLL messing with reliability counter
Matthias Wachs [Thu, 11 Jul 2013 11:35:57 +0000 (11:35 +0000)]
added bt quota
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
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
Matthias Wachs [Thu, 11 Jul 2013 09:15:06 +0000 (09:15 +0000)]
fix for printing
Matthias Wachs [Thu, 11 Jul 2013 07:47:08 +0000 (07:47 +0000)]
remove ,
Matthias Wachs [Thu, 11 Jul 2013 07:24:23 +0000 (07:24 +0000)]
fixing uninitialized values
Matthias Wachs [Thu, 11 Jul 2013 07:03:59 +0000 (07:03 +0000)]
fix for header
Bart Polot [Wed, 10 Jul 2013 23:08:55 +0000 (23:08 +0000)]
- doxygen
Bart Polot [Wed, 10 Jul 2013 17:29:54 +0000 (17:29 +0000)]
- don't let retransmissions mess with per-hop ACK
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
Bart Polot [Wed, 10 Jul 2013 15:36:24 +0000 (15:36 +0000)]
- missing message types
Bart Polot [Wed, 10 Jul 2013 15:11:20 +0000 (15:11 +0000)]
- updated message numbers
Bart Polot [Wed, 10 Jul 2013 15:10:59 +0000 (15:10 +0000)]
- use different DATA ACK for both directions
Bart Polot [Wed, 10 Jul 2013 15:10:19 +0000 (15:10 +0000)]
- nbo
Christian Grothoff [Wed, 10 Jul 2013 14:23:19 +0000 (14:23 +0000)]
-extra checks
Christian Grothoff [Wed, 10 Jul 2013 13:16:35 +0000 (13:16 +0000)]
-no void
Bart Polot [Wed, 10 Jul 2013 13:12:03 +0000 (13:12 +0000)]
- fix decoding of tunnel options
Bart Polot [Wed, 10 Jul 2013 13:11:22 +0000 (13:11 +0000)]
- change retransmit time to #define, debug
Bart Polot [Wed, 10 Jul 2013 13:10:25 +0000 (13:10 +0000)]
- when did this disappear????
Matthias Wachs [Wed, 10 Jul 2013 12:45:22 +0000 (12:45 +0000)]
session report in http server
Christian Grothoff [Wed, 10 Jul 2013 12:43:13 +0000 (12:43 +0000)]
-const where const can
Bart Polot [Wed, 10 Jul 2013 12:34:05 +0000 (12:34 +0000)]
- use proper reliability metadata
Matthias Wachs [Wed, 10 Jul 2013 12:34:00 +0000 (12:34 +0000)]
report session
Matthias Wachs [Wed, 10 Jul 2013 12:20:21 +0000 (12:20 +0000)]
unkown session reporting
Matthias Wachs [Wed, 10 Jul 2013 12:20:04 +0000 (12:20 +0000)]
move error reporting to client, since now it's the plugins fault if sessions are unknown
Bart Polot [Wed, 10 Jul 2013 12:12:11 +0000 (12:12 +0000)]
- client can be owner AND destination
Matthias Wachs [Wed, 10 Jul 2013 12:01:41 +0000 (12:01 +0000)]
modified validation to use new api call to set networktype
Bart Polot [Wed, 10 Jul 2013 11:58:22 +0000 (11:58 +0000)]
- rollback