Commit graph

296 commits

Author SHA1 Message Date
Erik Ekman
3b4560505a Remove arg to inline_dotify 2009-09-20 15:15:25 +00:00
Erik Ekman
43b4cb8bac , update server code 2009-09-20 15:11:16 +00:00
Erik Ekman
8c082fe853 , update client code 2009-09-20 15:11:15 +00:00
Erik Ekman
83dfde0728 , update client code 2009-09-20 15:11:14 +00:00
Erik Ekman
bd4a4eb24c , update dns parsing 2009-09-20 15:11:12 +00:00
Erik Ekman
a02f7d776f add downenc per-user field 2009-09-20 15:11:08 +00:00
Erik Ekman
3b47b8ad92 Add win32 defines for TXT and SRV 2009-09-20 15:11:07 +00:00
Erik Ekman
b9d4b37c87 , add win32 defines 2009-09-20 15:11:06 +00:00
Erik Ekman
26d59a9886 , add txt read/write 2009-09-20 15:11:04 +00:00
Erik Ekman
1c8f6e522f , base32 decode uppercase 2009-09-20 15:11:03 +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
2c3fdf3346 Fix OpenBSD build error 2009-09-20 09:01:47 +00:00
Erik Ekman
34c69866c9 Added new test, found and fixed an actual bug 2009-09-20 08:43:49 +00:00
Erik Ekman
94f1d670d4 Refactored to make it easier to add unit tests 2009-09-20 08:43:48 +00:00
Erik Ekman
7ca260c319 Fix build error on OSX 10.6 by Guillaume Rischard 2009-09-19 08:32:57 +00:00
Erik Ekman
bcd7c1c15c , print server tunnel ip 2009-09-19 08:24:59 +00:00
Erik Ekman
dfd74623a6 , get password from env variable 2009-09-19 08:09:12 +00:00
Erik Ekman
f229342782 Fix password reading 2009-08-16 12:33:28 +00:00
Erik Ekman
0de9a49038 Split the client code out from the file with the main() func 2009-08-16 12:30:26 +00:00
Erik Ekman
021a6b5fd5 Updated docs 2009-08-15 22:02:00 +00:00
Erik Ekman
15b6d0cf21 add -F option for writing pid file. Patch from misc@mandriva.org 2009-08-15 21:52:49 +00:00
Erik Ekman
8233636650 Fixes for unpacking raw packets 2009-08-15 21:46:31 +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
179d4c3d78 Keep user CC and CFLAGS/LDFLAGS. Patch from Victor Ostorga 2009-08-15 19:17:02 +00:00
Erik Ekman
03243094e5 , Send ping message every 20 seconds 2009-08-15 12:43:02 +00:00
Erik Ekman
62c171db0d , update printouts 2009-08-15 10:49:38 +00:00
Erik Ekman
2f75fe878a , Use -r to skip raw mode 2009-08-15 10:45:07 +00:00
Erik Ekman
186ba79bd1 , basic raw mode tunnel works 2009-08-06 20:42:26 +00:00
Erik Ekman
5d3b502ec6 , upstream traffic now sent in raw mode 2009-08-06 19:48:55 +00:00
Erik Ekman
e2c8ac3985 Formatting 2009-08-06 19:48:54 +00:00
Erik Ekman
44ed20fee5 Fix , randomize rand_seed on startup 2009-07-23 07:03:09 +00:00
Erik Ekman
50272de2b8 Exit if IP/mtu can not be configured 2009-07-22 21:17:26 +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
8f88f3f75c print error if tun device is already taken 2009-06-24 16:40:52 +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
9facdcfb65 return 1 if connection failed, 2009-06-24 16:29:30 +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. 2009-06-14 20:12:35 +00:00
Erik Ekman
0b695e5a96 Fixed , 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 client now reads raw reply 2009-06-14 14:01:48 +00:00
Erik Ekman
b37d5481cd server now responds to raw login, quite a hack 2009-06-14 13:31:35 +00:00
Erik Ekman
08efbdac69 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 fetch remote ip number after login 2009-06-11 20:23:05 +00:00
Erik Ekman
fd1ebc520a , add way to request ip address from server 2009-06-11 19:52:42 +00:00
Erik Ekman
b4bcbe2b21 Use recv on windows and read for the others 2009-06-11 16:53:56 +00:00