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
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
Laurent Ghigonis
d4849a5dbf
Add support for openbsd routing domain, #95
2012-02-04 20:34:05 +01:00
J. A. Bezemer
b177901d38
Applied patch from #88 , thanks a lot!
2012-02-04 20:34:04 +01:00
Erik Ekman
1a26a91db3
#82 , switch to gethostbyname() for win32 support
2012-02-04 20:34:04 +01:00
Erik Ekman
c5bdf07070
#82 update docs
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
01e558022e
#77 , get password from env variable
2012-02-04 20:34:03 +01:00
Erik Ekman
8074696a14
Fix password reading
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
Erik Ekman
1137ac6ac9
Updated docs
2012-02-04 20:34:03 +01:00
misc
7efdd01ae2
add -F option for writing pid file. Patch from misc@mandriva.org #70
2012-02-04 20:34:03 +01:00
Erik Ekman
2482a42d01
Fixes for unpacking raw packets
2012-02-04 20:34:03 +01:00
Erik Ekman
ef8e3b7ea4
Fix win32 build error
2012-02-04 20:34:03 +01:00
Erik Ekman
cb926cf0c9
Fix some uninitialized variable warnings
2012-02-04 20:34:03 +01:00
Erik Ekman
473bb93951
#36 , Send ping message every 20 seconds
2012-02-04 20:34:03 +01:00
Erik Ekman
7e4ee6c470
#36 , update printouts
2012-02-04 20:34:03 +01:00
Erik Ekman
ebc1b2f7f8
#36 , Use -r to skip raw mode
2012-02-04 20:34:02 +01:00
Erik Ekman
e5370ad95b
#36 , basic raw mode tunnel works
2012-02-04 20:34:02 +01:00
Erik Ekman
58d9615160
#36 , upstream traffic now sent in raw mode
2012-02-04 20:34:02 +01:00
Erik Ekman
02c06d742f
Formatting
2012-02-04 20:34:02 +01:00
Erik Ekman
293796fcf6
Fix #65 , randomize rand_seed on startup
2012-02-04 20:34:02 +01:00
Erik Ekman
938c2458b9
Exit if IP/mtu can not be configured
2012-02-04 20:34:02 +01:00
Sebastien Raveau
d5acb508bc
Add support for applying SELinux context
2012-02-04 20:34:02 +01:00
Erik Ekman
da50020f5b
return 1 if connection failed, #62
2012-02-04 20:34:02 +01:00
Erik Ekman
e59aaa523e
Fixed #47 , support any TAP device name
2012-02-04 20:34:02 +01:00
Erik Ekman
f20b3c9511
Remove a global variable and some warnings
2012-02-04 20:34:02 +01:00
Erik Ekman
de976d0558
#36 client now reads raw reply
2012-02-04 20:34:02 +01:00
Erik Ekman
c92ed9bad8
#36 send raw login packet directly to server
2012-02-04 20:34:02 +01:00
Erik Ekman
950c0870b2
Added CMC to I and S packet types
2012-02-04 20:34:02 +01:00
Erik Ekman
3eef144fce
#36 fetch remote ip number after login
2012-02-04 20:34:02 +01:00
Erik Ekman
4bbf4ecd14
Check that nameserver was found
2012-02-04 20:34:01 +01:00
Erik Ekman
5dccfbecf6
Use ssize_t for read variable (ticket #57 )
2012-02-04 20:34:01 +01:00
Erik Ekman
7d140addae
print dot while waiting for probe responses
2012-02-04 20:34:01 +01:00
Erik Ekman
54195968c7
Use winsock2.h, use ws2tcpip.h for socklen_t
2012-02-04 20:34:01 +01:00
Erik Ekman
bc18afcc83
do proper mtu detection, ticket #54
2012-02-04 20:34:01 +01:00
Erik Ekman
751f672a27
properly encode >1024 in probe requests ( fix #52 )
2012-02-04 20:34:01 +01:00
Erik Ekman
3e07afd13b
change all printf to fprintf on stderr for #49
2012-02-04 20:34:01 +01:00
Erik Ekman
990a03e93d
#45 : free the info pointer
2012-02-04 20:34:01 +01:00
Erik Ekman
13a5b7c2db
#45 : use static buffer
2012-02-04 20:34:01 +01:00