Commit Graph

132 Commits

Author SHA1 Message Date
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
Erik Ekman f8eb4c952b Allow setting netmask in iodined, fixes #27. The same netmask will be given to clients as well. Updated docs. 2009-01-04 12:39:28 +00:00
Erik Ekman f5e58e6527 Assign client IPs within the network (fixes #28), also limit number of users depending on netmask (for #27) 2009-01-04 12:03:35 +00:00
Erik Ekman 7791035364 Happy new year 2009-01-03 23:27:21 +00:00
Erik Ekman da6eee279a make OUT debug look more like IN debug 2009-01-03 18:29:36 +00:00
Erik Ekman 7335940130 make iodined build on opensolaris 2008-12-25 16:56:13 +00:00
Erik Ekman 18e0042ce4 Detect duplicates in upstream data, start frag at zero 2008-12-14 17:21:27 +00:00