Commit Graph

834 Commits

Author SHA1 Message Date
frekky
9fae60d241 Updated window test for modified ACK behaviour 2015-10-17 22:31:53 +08:00
frekky
1c1f0b76ba Updated protocol docs 2015-10-17 22:31:25 +08:00
frekky
8354ce28aa Updated fragment timeouts to use timeval for better precision 2015-10-17 22:30:46 +08:00
frekky
4983dadfdd Added client command line options + fixed version text 2015-10-17 22:29:55 +08:00
frekky
137d3029e5 Debug macro now always shows source location. 2015-10-17 22:28:45 +08:00
frekky
235d3be538 Improved timings + fixed immediate mode send interval.
Still switches to immediate mode too eagerly and reduces timeout very
quickly (especially with lots of SERVFAILs)
2015-10-17 22:28:10 +08:00
frekky
c38e7d30a8 Merged QMEM and DNS cache; removed implied lazy switch.
Improved immediate mode handling, however does not add data queries to
QMEM in immediate mode (and does not work either).
2015-10-17 22:25:31 +08:00
frekky
e61b38b9a3 Updated user and window tests 2015-10-12 18:39:24 +08:00
frekky
49b3232874 Fixed ping userid validation 2015-10-05 10:33:16 +08:00
frekky
f4f358f5e2 Ping responses use the same query and are immediate + set window params 2015-10-05 10:20:03 +08:00
frekky
ceaac64814 Refactored client/server to use debug macro 2015-10-04 22:39:40 +08:00
frekky
2e0b7f8eae Added implied lazymode switch with server timeout of 0 2015-10-04 22:15:56 +08:00
frekky
7bc434536c Added global debug macro and some refactoring for window.c debug output 2015-10-04 22:15:12 +08:00
frekky
41ec2ae79c Added statistics printout and command line option 2015-10-04 22:13:47 +08:00
frekky
2be624c9a6 Fixed window_sending + made debug output nicer 2015-10-03 22:15:30 +08:00
frekky
4403e950a9 Added timeval <-> millisecond util functions 2015-10-03 22:14:30 +08:00
frekky
9ee23992c0 Added user ping flag, all_users_waiting_to_send now makes sense 2015-10-03 22:13:15 +08:00
frekky
faf7d277a8 Server-side query-answer logic now handled by qmem_max_wait 2015-10-03 22:11:58 +08:00
frekky
51bf36c863 Adjusted new command line options for case consistency 2015-10-03 22:10:12 +08:00
frekky
1b85d23087 Fixed option handshake and query tracking (now works) 2015-10-03 22:09:34 +08:00
root
f60660a7ce Merge remote-tracking branch 'upstream/master' 2015-09-30 04:07:53 -04:00
Erik Ekman
482d005d11 Add notice about NDIS6 tap driver 2015-09-29 10:02:19 +02:00
frekky
e454a7edb5 Modified options packet to change more than 1 option at a time 2015-09-28 20:06:23 +08:00
frekky
4f16dd10e6 Merge remote-tracking branch 'h44z/iodine/master'
Conflicts:
	src/window.h
2015-09-28 16:39:08 +08:00
frekky
070f49167b Updated protocol documentation 2015-09-28 13:10:37 +08:00
frekky
ad48dc8e10 Updated qmem as lazy mode query buffer, other fixes/adjustments and
support for more client-controlled options
2015-09-28 13:09:49 +08:00
frekky
6eb2e4d251 Added fine tuning command-line options 2015-09-28 13:07:29 +08:00
frekky
c7cff96055 More connection stats, timeout control + compression flags, client-side
query tracking; lazy mode is now possible with windowing protocol.
2015-09-28 13:07:00 +08:00
frekky
c903203a24 Fixed issues with difftime and removed unused parts of query struct. 2015-09-28 13:02:34 +08:00
frekky
555a3cbfe2 Modified qmem for lazy mode handling; fixed some user management issues 2015-09-28 13:01:18 +08:00
frekky
bd9966836e Added clear, reset and number of fragments to be sent; better debugging 2015-09-28 12:57:33 +08:00
frekky
33525e5086 Added windows gettimeofday function and timeval macros 2015-09-28 12:26:41 +08:00
frekky
c48822dfbe Added debug / default build options (make debug) 2015-09-28 12:24:15 +08:00
Christoph Haas
b7f0da1493 Fixed C99 Compiler warning 2015-09-11 17:33:04 +02:00
frekky
0449c465e7 Re-implemented working DNS tunnelling (with windows!) 2015-08-29 20:11:46 +08:00
frekky
9f6033c4b8 Added client debug output option 2015-08-29 20:10:53 +08:00
frekky
c83a52c771 Now starts when no non-loopback interfaces configured 2015-08-29 20:10:25 +08:00
frekky
98da57ba74 More unsignedness and working DNS tunnelling 2015-08-29 20:08:46 +08:00
frekky
51a59bed24 Added more debug output and deprecated qmem 2015-08-29 20:07:44 +08:00
frekky
b6162241e6 Fixed some windowing issues + made debug output optional (WINDOW_DEBUG) 2015-08-29 20:06:53 +08:00
frekky
02c2763c26 Unsigned types for encoding data 2015-08-29 13:03:08 +08:00
frekky
ce0c0dc03b Second revision of protocol 800 2015-08-28 15:01:31 +08:00
frekky
917a6af7b8 Updated other tests to be compatible with newer code 2015-08-28 15:00:44 +08:00
frekky
e7119da507 Added sliding window test 2015-08-28 14:59:55 +08:00
frekky
4c8ce94be7 Minor readability adjustments + more debug output 2015-08-23 22:15:51 +08:00
frekky
8e08c007c5 Window buffer max_fragsize adjusted according to MAX_HOSTNAME and
current upstream codec
2015-08-23 22:14:27 +08:00
frekky
391bf5224a Added window_buffer_resize function 2015-08-23 22:11:28 +08:00
frekky
5df91ed775 Added encoder length calculation functions 2015-08-23 22:10:50 +08:00
frekky
96f9270b7f Removed unhelpful coding errors. 2015-08-21 23:24:53 +08:00
frekky
d8c08191cc Server-side sliding window implementation mostly finished. Requires
testing.
2015-08-21 23:23:24 +08:00