Commit Graph

29 Commits

Author SHA1 Message Date
Erik Ekman 8f88f3f75c print error if tun device is already taken 2009-06-24 16:40:52 +00:00
Erik Ekman 453ac4145c Small tweaks 2009-06-14 20:30:35 +00:00
Erik Ekman 5631670e15 Any number of TAP32 interfaces supported, use -d to choose. #46 2009-06-14 20:12:35 +00:00
Erik Ekman 0b695e5a96 Fixed #47, support any TAP device name 2009-06-14 19:50:35 +00:00
Erik Ekman b4bcbe2b21 Use recv on windows and read for the others 2009-06-11 16:53:56 +00:00
Erik Ekman 91257baa3c Use read instead of recv, #58. Patch from Luigi Rizzo 2009-05-14 18:12:38 +00:00
Erik Ekman bd49866e29 #53 Support TAP32 version 0901 as well 2009-03-21 12:51:59 +00:00
Erik Ekman 416f914f9e Use winsock2.h, use ws2tcpip.h for socklen_t 2009-03-07 00:00:58 +00:00
Erik Ekman 7fe021cba9 actually accept mtu=1500 2009-03-04 21:37:42 +00:00
Erik Ekman e7a1c784db change all printf to fprintf on stderr for #49 2009-02-28 14:35:03 +00:00
Erik Ekman 22608bd203 give error when no TAP adapters found, and clean better 2009-01-25 21:40:04 +00:00
Erik Ekman 4db8137c1a #43: Basic windows support operational 2009-01-25 20:39:44 +00:00
Erik Ekman 9a6af7e615 cleanup of tun.c 2009-01-25 19:53:20 +00:00
Erik Ekman 62f75fb2e7 Dont need plibc 2009-01-25 16:42:28 +00:00
Erik Ekman 78616d5679 #43 Now works on windows, if you set your ip correctly and use a /30 netmask 2009-01-25 14:22:07 +00:00
Erik Ekman 85adeb7eb4 #43: Fixed write function, downstream tunneling works now on win32 2009-01-25 11:57:40 +00:00
Erik Ekman 29f2433e78 Added setting of ip, does not seem to work though 2009-01-25 11:28:23 +00:00
Erik Ekman a939ad4f16 Opening of device done, and it is set as active 2009-01-25 10:56:32 +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 49e448fb19 fix warnings 2009-01-07 18:16:49 +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 7791035364 Happy new year 2009-01-03 23:27:21 +00:00
Erik Ekman e359f64003 Updated year 2008-09-09 19:07:09 +00:00
Erik Ekman 5adeafddfa Use %d for size_t sprintf 2007-11-27 20:04:13 +00:00
Bjorn Andersson 488412d4e6 buffer overflow in dns.c pointed out by Matus Harvan, also strncpy cleanups 2007-08-26 15:47:32 +00:00
Erik Ekman 4d079b95f2 Remove warning for \!LINUX 2007-06-17 12:19:23 +00:00
Erik Ekman 15a83534a8 new year 2007-03-21 00:00:27 +00:00
Erik Ekman ad07e40988 Use -pedantic, fixed all warnings 2007-02-11 13:54:40 +00:00
Bjorn Andersson 1f740de4aa moving files to src and tests, tests disabled 2006-11-09 19:08:28 +00:00
Renamed from tun.c (Browse further)