Commit graph

108 commits

Author SHA1 Message Date
Erik Ekman 9facdcfb65 return 1 if connection failed, #62 2009-06-24 16:29:30 +00:00
Erik Ekman 0b695e5a96 Fixed #47, support any TAP device name 2009-06-14 19:50:35 +00:00
Erik Ekman 3476343051 Remove a global variable and some warnings 2009-06-14 16:01:14 +00:00
Erik Ekman 75681834f4 #36 client now reads raw reply 2009-06-14 14:01:48 +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 225d48dbc3 #36 fetch remote ip number after login 2009-06-11 20:23:05 +00:00
Erik Ekman aa63a3514c Check that nameserver was found 2009-03-28 17:03:42 +00:00
Erik Ekman dd0916d7f7 Use ssize_t for read variable (ticket #57) 2009-03-28 15:55:38 +00:00
Erik Ekman 7c02e0880e print dot while waiting for probe responses 2009-03-07 00:50:45 +00:00
Erik Ekman 416f914f9e Use winsock2.h, use ws2tcpip.h for socklen_t 2009-03-07 00:00:58 +00:00
Erik Ekman 1971df98ee do proper mtu detection, ticket #54 2009-03-06 23:16:23 +00:00
Erik Ekman 9e83af07da properly encode >1024 in probe requests (fix #52) 2009-03-04 21:12:50 +00:00
Erik Ekman e7a1c784db change all printf to fprintf on stderr for #49 2009-02-28 14:35:03 +00:00
Erik Ekman 4ee39714a7 #45: free the info pointer 2009-02-22 14:42:53 +00:00
Erik Ekman 9354697975 #45: use static buffer 2009-02-22 14:35:18 +00:00
Erik Ekman a3cea72400 #45: Use IpHelper to get DNS server on win32 2009-02-22 14:27:10 +00:00
Erik Ekman 844342e1c1 Use winsock2.2 2009-02-21 10:07:10 +00:00
Erik Ekman 75ffe37863 #51 handle one block encode/decode for base64 2009-02-17 20:22:24 +00:00
Erik Ekman 9dfc181307 Moved two global vars into main 2009-02-15 21:12:47 +00:00
Erik Ekman 7de1455c96 Split handshake() function into smaller functions 2009-02-15 20:07:30 +00:00
Erik Ekman a412b59618 Actually check length of probe responses 2009-01-27 21:29:53 +00:00
Erik Ekman d72ed66a9f Add WSAStartup 2009-01-25 17:13:12 +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 fba7afc83c #39 stop wild loop in fragsize detection mode 2009-01-16 18:12:09 +00:00
Erik Ekman db13d81caf #7 finally done\! Added autoprobing of max downstream fragsize. 2009-01-10 19:30:55 +00:00
Erik Ekman 9f2730cb9a fix label 2009-01-05 19:52:01 +00:00
Erik Ekman dfd6f9aa90 #7, set max fragsize with -m in the client 2009-01-05 19:47:59 +00:00
Erik Ekman 78aaf26369 #7, handle special case, remove up to 1 second pause when doing bulk download 2009-01-05 17:08:34 +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 d5f0dac459 Discard packets which only has data header 2009-01-04 18:59:12 +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 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 18e0042ce4 Detect duplicates in upstream data, start frag at zero 2008-12-14 17:21:27 +00:00
Erik Ekman 89fdbc104b Implemented new protocol for upstream data 2008-12-11 22:39:06 +00:00
Erik Ekman a83164fad8 Added notreached 2008-12-11 19:11:53 +00:00
Erik Ekman 33b5ef9bf9 Reverted new protocol 2008-12-06 22:12:18 +00:00
Erik Ekman 5450372a75 Updated encoding tests 2008-12-06 19:08:14 +00:00
Erik Ekman 3740894350 Revert client shutdown code, it seems BADIP can arrive even though everything works 2008-12-06 12:25:02 +00:00
Erik Ekman 2eb78f9e8c Reverted [686], [689] and [692]. SSH login now works again. Increased version. 2008-09-14 12:44:55 +00:00
Erik Ekman 4203f115f5 Use base64 is case is preserved and plus sign is allowed 2008-09-14 11:34:56 +00:00
Erik Ekman 8eccbf097a Stop client if server is restarted 2008-09-09 19:37:51 +00:00
Erik Ekman e359f64003 Updated year 2008-09-09 19:07:09 +00:00
Erik Ekman 6531d5e72b Eliminate extra 'ping' message when server sends data to client which generates a reply 2008-08-07 15:05:51 +00:00
Erik Ekman 55a689e759 Fix #34, send pings only every 5 seconds 2008-08-07 14:39:43 +00:00