Commit Graph

182 Commits

Author SHA1 Message Date
frekky 6ea754329f Merge branch 'window-size-zero' from Masaq- 2017-06-24 20:03:16 +02:00
frekky 6050bed3e6 Merge branch 'delay-variance-option' of https://github.com/Masaq-/iodine into Masaq--delay-variance-option 2017-06-22 17:22:34 +02:00
frekky ad27563d32 Merge with autotools branch 2017-06-22 16:59:48 +02:00
Masaq- 0d93784715 option (-J0) to autodetect delay variance factor 2017-06-09 03:50:46 +00:00
Masaq- 94251811da window size zero (-W0) drops packets from client tun device 2017-04-04 20:00:10 +00:00
Masaq- d10bea1607 store the delay variance factor in a double 2017-04-02 16:29:19 +00:00
Masaq- d26ddb9a07 add fine-tuning option -J to set delay variance factor 2017-04-02 02:42:23 +00:00
Barak A. Pearlmutter 11b6da12ff Merge remote-tracking branch 'yarrick/master' into autotools
only non-trivial conflict is the CC option -std=c99, which I defer
2016-12-28 11:15:45 +01:00
frekky adee2b7996 Merge branch 'fix-socket-length' of https://github.com/jedisct1/iodine into jedisct1-fix-socket-length 2016-12-09 09:34:10 +08:00
Masaq- 2e6a5876d6 add support for more query types: A6 AAAA DNAME PTR 2016-11-07 11:47:20 +00:00
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
Anime4000 5dbe640ec5 mingw don't use arpa/inet.h (#2)
don't use arpa/inet.h in mingw
2016-04-17 22:24:34 +08:00
frekky 8384da195d Fixed systemd warning and compile error 2016-02-13 22:58:30 +08: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 b1d7a78adf Added command line options for TCP forwarding - untested 2016-01-29 22:15:00 +08:00
frekky 4b4f73d11e Fixed duplicate unrecognised command line option error 2016-01-11 21:02:56 +08:00
frekky 150bd5dedc Fix clang reinitialization warning 2016-01-09 22:37:41 +08:00
frekky 8232979a6e Added more presets - TODO: test to ensure they work as described 2016-01-09 22:12:00 +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 9dec2de448 Updated command line arguments help 2015-11-10 20:42:31 +08:00
frekky 87edca99b4 Added downstream window fragment timeout option (-j) 2015-10-27 17:25:56 +08:00
frekky 4983dadfdd Added client command line options + fixed version text 2015-10-17 22:29:55 +08:00
frekky 41ec2ae79c Added statistics printout and command line option 2015-10-04 22:13:47 +08:00
frekky 51bf36c863 Adjusted new command line options for case consistency 2015-10-03 22:10:12 +08:00
frekky 6eb2e4d251 Added fine tuning command-line options 2015-09-28 13:07:29 +08:00
frekky 9f6033c4b8 Added client debug output option 2015-08-29 20:10:53 +08:00
frekky 83f70608fc Client side sliding window implementation (requires further testing) 2015-08-21 11:08:47 +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 3ebcd29b13 Add support for using an unspecified RR type
Add PRIVATE query type with id 65399 (private use range).
According to RFC3597 the reply data in a query with unspecified RR type must be handled
as unstructured binary data, which means it can contain raw packet data just like the NULL type.
Since the reply format is optimal it is ordered just after NULL in the priority order.
2014-06-09 20:06:36 +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 a23899513d Remove trailing whitespace 2014-06-01 08:46:54 +02:00
Erik Ekman 388afe3845 Update copyright 2014-06-01 08:46:54 +02:00
Erik Ekman d0fb85e8cf Do not use 53 as source port for DNS/raw traffic.
For some reason this makes raw traffic get dropped.
2014-05-31 21:20:04 +02:00
Erik Ekman 3914d37c99 Move error message generation into topdomain check method
Change isalpha() to a-z check to avoid locale issues
2014-05-31 10:07:36 +02:00
Erik Ekman bacb69e4f0 Mark usage() method as noreturn to avoid warning on BSD
Warning from OpenBSD/NetBSD:
  CC iodine.c
  iodine.c: In function 'main':
  iodine.c:141:6: warning: 'nameservaddr_len' may be used uninitialized in this function
2014-05-29 23:21:55 +02:00
Barak A. Pearlmutter 1619dd1863 prep for autotools: conditionally #include "config.h" in *.c 2014-04-25 14:06:11 +01:00
Erik Ekman acd6c37ac1 Fix build after rtable patch 2014-04-06 13:35:09 +02:00
Erik Ekman eca80f769b Merge branch 'master' of https://github.com/jedisct1/iodine 2014-04-06 13:31:34 +02:00
Erik Ekman 619ede5da8 Add options to force IP version for client DNS traffic 2014-02-10 22:52:31 +01:00
Erik Ekman f02339b3b2 IPv6: Create single way to format IP addresses 2014-02-06 19:44:26 +01: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
Erik Ekman fb9e930fee Print git revision as version 2014-01-29 20:25:45 +01:00
Erik Ekman a7f491f808 Fix warning, unused variable 'rtable' 2014-01-29 19:12:46 +01:00
Frank Denis b31e66343a -R only works on OpenBSD. 2013-05-20 10:31:39 -07:00
Pavel Pergamenshchik 85be9b07d1 Missing break in iodine.c command-line parsing
Bug-Ubuntu: https://bugs.launchpad.net/bugs/880508
Author: Pavel Pergamenshchik <ppergame@gmail.com>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2011-10-23
2012-02-04 22:38:27 +01:00