Commit Graph

311 Commits

Author SHA1 Message Date
Erik Ekman 158a365880 Fix osx compile, maybe also OpenBSD 2009-12-29 20:25:33 +00:00
Erik Ekman 6ce502ffa4 Fix compile for win32 2009-12-29 20:14:50 +00:00
Erik Ekman 35bd6f744f Applied patch from #88, thanks a lot! 2009-12-29 20:00:57 +00:00
Erik Ekman 4d42dbd879 #82, switch to gethostbyname() for win32 support 2009-09-26 09:42:32 +00:00
Erik Ekman b23f08773a #82 update docs 2009-09-25 22:11:18 +00:00
Erik Ekman 36a25ed642 #82, fix resolving given nameserver on everything but win32 2009-09-25 21:47:14 +00:00
Erik Ekman a130abbfd9 Make sure replies with errors get the name parsed 2009-09-21 20:35:18 +00:00
Erik Ekman 3614a96417 Print DNS errors only when requested packet has an error 2009-09-21 20:06:30 +00:00
Erik Ekman b6d154938f Fix buggy set lazy mode function 2009-09-20 21:10:46 +00:00
Erik Ekman 282a508f2b #76 merge client code 2009-09-20 21:10:44 +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 eb0bf45396 #76 start merging common and docs 2009-09-20 21:10:38 +00:00
Erik Ekman ed36bbdf65 Fix mtu fragment size probing 2009-09-20 16:54:29 +00:00
Erik Ekman a5c6f93fa2 Fix data length in encoding dns queries 2009-09-20 15:41:24 +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 8c082fe853 #75, update client code 2009-09-20 15:11:15 +00:00
Erik Ekman 83dfde0728 #75, update client code 2009-09-20 15:11:14 +00:00
Erik Ekman bd4a4eb24c #75, update dns parsing 2009-09-20 15:11:12 +00:00
Erik Ekman a02f7d776f #75 add downenc per-user field 2009-09-20 15:11:08 +00:00
Erik Ekman 3b47b8ad92 #75 Add win32 defines for TXT and SRV 2009-09-20 15:11:07 +00:00
Erik Ekman b9d4b37c87 #75, add win32 defines 2009-09-20 15:11:06 +00:00
Erik Ekman 26d59a9886 #75, add txt read/write 2009-09-20 15:11:04 +00:00
Erik Ekman 1c8f6e522f #75, 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 #79 Fix build error on OSX 10.6 by Guillaume Rischard 2009-09-19 08:32:57 +00:00
Erik Ekman bcd7c1c15c #78, print server tunnel ip 2009-09-19 08:24:59 +00:00
Erik Ekman dfd74623a6 #77, 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 #70 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 #36, Send ping message every 20 seconds 2009-08-15 12:43:02 +00:00
Erik Ekman 62c171db0d #36, update printouts 2009-08-15 10:49:38 +00:00
Erik Ekman 2f75fe878a #36, Use -r to skip raw mode 2009-08-15 10:45:07 +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 e2c8ac3985 Formatting 2009-08-06 19:48:54 +00:00
Erik Ekman 44ed20fee5 Fix #65, 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