Commit Graph

871 Commits

Author SHA1 Message Date
frekky fcb90c2621 Merge 3142e7845a into 8e15a73a77 2016-05-20 18:35:15 +00:00
Erik Ekman 8e15a73a77 Merge pull request #20 from lexa/master
Add support for socket activation by ipv6 socket
2016-05-17 18:00:04 +02:00
Aleksei Fedotov 2edb879845 Listen on two different sockets for ipv6 and ipv4
Option BindIPv6Only is needed to restrict ipv6 to sending IPv6 packets
only, without it IPv6 socket can be used to send and receive packet to
and from an IPv6 address or an IPv4-mapped IPv6 address.
2016-05-11 00:20:30 +03:00
Aleksei Fedotov 4987aa536d Add support for socket activation by ipv6 socket
iodined may accept ipv4 and ipv6 sockets via systemd socket activation,
we need to figure out type of sockets.
2016-05-10 14:09:21 +03:00
Erik Ekman 36df8dc16b Merge pull request #19 from hardfalcon/master
Fix compilation with systemd>=230 and systemd versions without compat-libs
2016-05-02 17:51:02 +02:00
Pascal Ernster 7b1df75e3a Fix compilation with systemd>=230 and for older systemd versions without compat-libs 2016-04-30 18:27:15 +02:00
frekky 3142e7845a Fixed tests 2016-03-16 21:51:20 +08:00
frekky de3ef44cc4 Updated references to struct fragment 2016-03-15 21:39:53 +08:00
frekky 25a6457e12 Refactored 'fragment' to 'struct fragment' and moved window macros 2016-03-15 21:04:48 +08:00
frekky fa4bc66d44 Clean up uses of sockaddr_storage 2016-03-15 20:34:07 +08:00
frekky 5681caad55 Hold onto sockaddr length using new "socket" struct (less messy)
TODO: use same socket struct for all sockety things
2016-03-13 14:01:35 +08:00
frekky 1035840335 Moved windows-specific syslog to windows.h (now macro) 2016-03-13 13:43:34 +08:00
frekky fe97f291cf Removed extra whitespace 2016-03-13 13:39:07 +08:00
frekky ebcbcc64d8 Remove difftime declaration from common.h
This was added to fix strange issues where difftime was declared
implicitly (even with time.h included)
2016-03-13 13:10:54 +08:00
frekky 93dbe94f60 Use int for timeouts 2016-03-13 13:09:15 +08:00
frekky ac60bf66a9 Fixed unsigned assignment warnings in tests 2015-11-21 19:38:06 +08:00
frekky 68a53c4565 Fixed clang warnings + debug build 2015-11-21 19:27:28 +08:00
frekky e3531378b5 Fixed err.h error 2015-11-17 18:59:26 +08:00
frekky 03909ad59b Fixed err.h errors 2015-11-16 21:59:01 +08:00
frekky 4c8732f0ca Should now compile with mingw cross (still need zlib + err.h) 2015-11-15 20:57:45 +08:00
frekky 35a0f8279d Update changelog and readme 2015-11-11 20:25:48 +08:00
frekky 4f470e4756 Update manpage for more command line args 2015-11-11 20:25:30 +08:00
frekky 26b025a9b0 Fix unused variable warning on default build 2015-11-11 20:24:13 +08:00
frekky 2f8125cf97 Updated documentation 2015-11-10 22:33:50 +08:00
frekky 4a565fd664 Improve data flow, better debugging, fixed ping CMC and frag timeout 2015-11-10 20:54:01 +08:00
frekky f96bd3735d Resend fragments ASAP to improve flow 2015-11-10 20:51:12 +08:00
frekky 8d25974867 Increased bad fragment tolerance to keep data flowing 2015-11-10 20:49:44 +08:00
frekky 9dec2de448 Updated command line arguments help 2015-11-10 20:42:31 +08:00
frekky 141d1f1e4e Removed unused tun_user::disabled flag 2015-11-10 20:04:14 +08:00
frekky fbf21caa6e Updated debug macros to include more info with DEBUG_BUILD 2015-11-10 20:03:27 +08:00
frekky a7dee7396c Making function of check_authenticated_user_and_ip a little more clear 2015-10-27 18:36:00 +08:00
frekky 3bcfe91769 Fixed raw UDP mode + improved debugging 2015-10-27 18:33:44 +08:00
frekky c633173fea Added window frag timeout to documentation 2015-10-27 17:31:49 +08:00
frekky 08adc5da71 Added downstream window frag timeout and id=0 will now work. 2015-10-27 17:29:41 +08:00
frekky 50c9cb28ec Successfully fails if data buffer is too small 2015-10-27 17:28:20 +08:00
frekky 91c095e063 Minor adjustments and fixed some warnings 2015-10-27 17:27:11 +08:00
frekky 87edca99b4 Added downstream window fragment timeout option (-j) 2015-10-27 17:25:56 +08:00
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