138 Commits

Author SHA1 Message Date
Erik Ekman
23eb466c81 Initialize 'inside_topdomain'. Fixes #94 2012-02-05 08:36:11 +01:00
Erik Ekman
3db5ccaf33 Fix things mentioned in #91 2012-02-05 08:34:34 +01:00
Erik Ekman
859b019d65 Update version to 0.6.0-rc1 2010-02-13 14:38:32 +00:00
Erik Ekman
a4f41b7db3 #89, use remote ip as second ip in ifconfig on FreeBSD 2010-02-08 16:50:45 +00:00
Erik Ekman
8e5d75e426 Fix build error on windows 2010-02-08 16:13:17 +00:00
Erik Ekman
dc140c8b24 Fix #86, patch from jsbid1 gmail.com 2010-02-08 16:09:45 +00:00
Erik Ekman
35bd6f744f Applied patch from #88, thanks a lot! 2009-12-29 20:00:57 +00:00
Erik Ekman
3348a533a3 #76 merge server code 2009-09-20 21:10:41 +00:00
Erik Ekman
92ea465653 #76 merge dns and user 2009-09-20 21:10:39 +00:00
Erik Ekman
3b4560505a Remove arg to inline_dotify 2009-09-20 15:15:25 +00:00
Erik Ekman
43b4cb8bac #75, update server code 2009-09-20 15:11:16 +00:00
Erik Ekman
d5deccb354 Fix FreeBSD build error, remove more includes 2009-09-20 09:09:18 +00:00
Erik Ekman
593227a20e Prune includes 2009-09-20 09:05:09 +00:00
Erik Ekman
7ca260c319 #79 Fix build error on OSX 10.6 by Guillaume Rischard 2009-09-19 08:32:57 +00:00
Erik Ekman
dfd74623a6 #77, get password from env variable 2009-09-19 08:09:12 +00:00
Erik Ekman
15b6d0cf21 #70 add -F option for writing pid file. Patch from misc@mandriva.org 2009-08-15 21:52:49 +00:00
Erik Ekman
2212ceadd5 Fix win32 build error 2009-08-15 19:35:07 +00:00
Erik Ekman
0757c70ef8 Fix some uninitialized variable warnings 2009-08-15 19:28:48 +00:00
Erik Ekman
03243094e5 #36, Send ping message every 20 seconds 2009-08-15 12:43:02 +00:00
Erik Ekman
186ba79bd1 #36, basic raw mode tunnel works 2009-08-06 20:42:26 +00:00
Erik Ekman
5d3b502ec6 #36, upstream traffic now sent in raw mode 2009-08-06 19:48:55 +00:00
Erik Ekman
eaef14c37f Allow bind port and listen port to be the same if listenip doesnt include localhost. Also remove newlines from warnx 2009-07-16 08:44:04 +00:00
Erik Ekman
9e268419e7 Add support for applying SELinux context 2009-06-24 17:28:13 +00:00
Erik Ekman
c15190c58a return 1 if opening tun fails and args are correct 2009-06-24 16:40:51 +00:00
Erik Ekman
3476343051 Remove a global variable and some warnings 2009-06-14 16:01:14 +00:00
Erik Ekman
b37d5481cd #36 server now responds to raw login, quite a hack 2009-06-14 13:31:35 +00:00
Erik Ekman
08efbdac69 #36 send raw login packet directly to server 2009-06-14 11:14:40 +00:00
Erik Ekman
53dfac0b3c Added CMC to I and S packet types 2009-06-12 05:44:34 +00:00
Erik Ekman
fd1ebc520a #36, add way to request ip address from server 2009-06-11 19:52:42 +00:00
Erik Ekman
4c7f66f514 Set interface MTU to 1200.
1188 is the uncompressed DNS reply payload size that gets through
unfragmented on Ethernet.
2009-03-07 00:32:14 +00:00
Erik Ekman
416f914f9e Use winsock2.h, use ws2tcpip.h for socklen_t 2009-03-07 00:00:58 +00:00
Erik Ekman
21808e708d Increase default mtu to 1500 2009-03-04 21:27:48 +00:00
Erik Ekman
e7a1c784db change all printf to fprintf on stderr for #49 2009-02-28 14:35:03 +00:00
Erik Ekman
844342e1c1 Use winsock2.2 2009-02-21 10:07:10 +00:00
Erik Ekman
f741e3d551 #50 added syslog logging for version and login packets. no-op on windows 2009-02-15 18:24:12 +00:00
Erik Ekman
b3603abf2e Made dns_get_id return unsigned short, added test cases 2009-02-09 20:44:08 +00:00
Erik Ekman
59c68b773a use socklen_t 2009-01-25 20:03:45 +00:00
Erik Ekman
c5784fe12c Add WSAStartup to iodined 2009-01-25 17:16:00 +00:00
Erik Ekman
62f75fb2e7 Dont need plibc 2009-01-25 16:42:28 +00:00
Erik Ekman
0c4c529142 Merged branch with mingw port. Compiles now, tun work to do 2009-01-24 22:19:11 +00:00
Erik Ekman
d08da80160 revert cygwin stuff 2009-01-24 22:12:00 +00:00
Erik Ekman
5352b5075e Make it build and fix tests in cygwin 2009-01-24 16:39:05 +00:00
Erik Ekman
86ee760e8b Move superuser check to common.c 2009-01-24 15:50:54 +00:00
Erik Ekman
d7f07d2f1f Enhanced checks on incoming queries, check user exists and is active 2009-01-10 20:23:50 +00:00
Erik Ekman
9a139b7005 #7, add probe fragsize support for server. documented 2009-01-10 16:22:51 +00:00
Erik Ekman
dfd6f9aa90 #7, set max fragsize with -m in the client 2009-01-05 19:47:59 +00:00
Erik Ekman
0ed202dd18 downstream fragsize is now per user 2009-01-05 18:50:46 +00:00
Erik Ekman
20cfb002c3 Downstream fragmentation now working. Currently fragment size is hardcoded to 1200. More tweaking left, as well as fragsize auto detection. (#7) 2009-01-05 16:25:54 +00:00
Erik Ekman
55d9ddb8dd add downstream data header and basic parsing in client, for #7 2009-01-04 18:56:24 +00:00
Erik Ekman
7dd38fec17 Create send_chunk() on server 2009-01-04 13:53:32 +00:00