Commit Graph

25 Commits

Author SHA1 Message Date
Frank Denis dd1d12e8fb Store the length of name servers addresses
Always passing sizeof(struct sockaddr_storage) only works, by accident, on Linux.
It fails on macOS and BSD.
2016-11-04 17:08:34 +01:00
Frank Denis 756dc2005d Rename nameserv_addrs_len to nameserv_addrs_count 2016-11-04 17:02:45 +01:00
frekky a5a936f4e4 Implemented TCP forward function (can be used with SSH proxycommand) 2016-02-07 21:59:00 +08:00
frekky d6b48fe4e1 Updated client-side TCP forwarding command line options 2016-02-04 20:44:34 +08:00
frekky ffcd9da980 Added client support for negotiating TCP forward options 2016-01-29 22:12:05 +08:00
frekky 7068bcc08d Added command line option presets (--preset or -Y)
Fixed some refactoring issues and passing this.* as arguments
2016-01-09 19:29:17 +08:00
frekky 147119afee Refactor client code to use client_instance 2016-01-09 15:04:39 +08:00
frekky 87edca99b4 Added downstream window fragment timeout option (-j) 2015-10-27 17:25:56 +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 41ec2ae79c Added statistics printout and command line option 2015-10-04 22:13:47 +08:00
frekky 1b85d23087 Fixed option handshake and query tracking (now works) 2015-10-03 22:09:34 +08:00
frekky e454a7edb5 Modified options packet to change more than 1 option at a time 2015-09-28 20:06:23 +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 9f6033c4b8 Added client debug output option 2015-08-29 20:10:53 +08:00
frekky 3e7cf55fe4 Added option for multiple nameservers, used in round-robin 2015-08-14 22:07:48 +08:00
Erik Ekman 9a45c4aa66 Change license wording to follow ISC license exactly
"Permission to use, copy, modify, and distribute this software" is now
"Permission to use, copy, modify, and/or distribute this software".

Add license header to source files missing one.
2014-08-07 21:18:33 +02:00
Erik Ekman 1f4b9250cf Check that supplied query type is valid 2014-06-09 18:56:32 +02:00
Erik Ekman 4d7678dc5b Prefix exported functions from client.c 2014-06-09 18:11:16 +02:00
Erik Ekman 388afe3845 Update copyright 2014-06-01 08:46:54 +02:00
Erik Ekman a1d88c4f0a IPv6 support for client (#107)
The iodine client now supports both IPv4 and IPv6 nameservers for
sending DNS queries to an IPv4 iodined. The nameserver will
transparently handle translation between IP protocols.

Windows port needs Vista or later to support IPv6.
2014-02-05 22:36:53 +01:00
J. A. Bezemer b177901d38 Applied patch from #88, thanks a lot! 2012-02-04 20:34:04 +01:00
J. A. Bezemer 3c48602747 merge client code #76 2012-02-04 20:34:04 +01:00
J. A. Bezemer 55cfed9956 update client code #75 2012-02-04 20:34:03 +01:00
Erik Ekman a1a2e3cefe Refactored to make it easier to add unit tests 2012-02-04 20:34:03 +01:00
Erik Ekman 27fdc23433 Split the client code out from the file with the main() func 2012-02-04 20:34:03 +01:00