Commit graph

708 commits

Author SHA1 Message Date
Bjorn Andersson 6864263aac Give ip and mtu to client 2006-06-11 17:23:26 +00:00
Bjorn Andersson 03509b9e78 handshake 2006-06-11 16:13:40 +00:00
Bjorn Andersson 25bb52c585 working in openbsd now 2006-06-11 15:29:37 +00:00
Bjorn Andersson d15c72c29c Set server ip and mtu 2006-06-11 15:24:20 +00:00
Bjorn Andersson c83d6d6983 tun has setip and setmtu 2006-06-11 15:19:07 +00:00
Bjorn Andersson 507ef11bf0 setip and setmtu 2006-06-11 15:07:51 +00:00
Bjorn Andersson 14f9f8ad15 Remove setgid message 2006-06-11 14:51:27 +00:00
Bjorn Andersson 02763e9a84 handles errors from tun and dns(d) 2006-06-11 14:42:19 +00:00
Bjorn Andersson b9a14dcae2 Add helptext newline 2006-06-11 14:34:27 +00:00
Bjorn Andersson 1868977228 Add helptext 2006-06-11 14:33:59 +00:00
Bjorn Andersson b7dc8a3779 chroot 2006-06-11 14:29:36 +00:00
Bjorn Andersson ccae5695c0 Move printout 2006-06-11 14:21:01 +00:00
Bjorn Andersson 41330f5f2b moved rootcheck after usage 2006-06-11 13:59:55 +00:00
Bjorn Andersson 5696b3c869 cleanup in the tunnelcode, now sending the frameheader 2006-06-11 13:49:36 +00:00
Bjorn Andersson 20789ac53d Fix helpstring 2006-06-11 13:39:38 +00:00
Bjorn Andersson 3ef5d8edf0 Change to rev and date 2006-06-11 13:37:44 +00:00
Bjorn Andersson 3aa08c4855 Expand Id 2006-06-11 13:33:43 +00:00
Bjorn Andersson ae5177d320 A try at printing version 2006-06-11 13:27:48 +00:00
Bjorn Andersson 350aea908b Add -h flag to print help 2006-06-11 13:14:57 +00:00
Bjorn Andersson 0775344744 cleanup in dns.c 2006-06-11 13:13:20 +00:00
Bjorn Andersson b1dbcc664b Added daemonizing, less debug 2006-06-11 13:05:41 +00:00
Bjorn Andersson ab2584d42d beginning of combining dns and dnsd 2006-06-11 12:57:29 +00:00
Bjorn Andersson a83a975299 root check 2006-06-11 12:45:46 +00:00
Bjorn Andersson 1e9df58f2f More name changing 2006-06-11 12:41:11 +00:00
Bjorn Andersson eba70164e0 correct naming 2006-06-11 12:26:09 +00:00
Bjorn Andersson f2ae7ac27c Name change 2006-06-11 12:23:22 +00:00
Bjorn Andersson 7bf9c25ebc cleanup in main 2006-06-11 12:18:49 +00:00
Erik Ekman 12d79f6e25 Added setuid/gid and getopt parsing of -u user 2006-06-09 20:35:26 +00:00
Erik Ekman 7782693e2b Move readname() and READ macros out of dns[d].c 2006-06-08 18:58:15 +00:00
Erik Ekman b6d2d3a6bc Move readname() and READ macros out of dns[d].c 2006-06-08 18:57:57 +00:00
Erik Ekman b93577fbc0 Fixed READSHORT/LONG to avoid bus error on sparc 2006-06-08 18:50:40 +00:00
Erik Ekman f2f163adbd Added comments about tunnel magic numbers 2006-06-08 16:33:53 +00:00
Erik Ekman 45af515f19 Exit if tun device cannot be opened 2006-06-08 16:30:50 +00:00
Erik Ekman 5264dbe2b1 Keep debug printf to monitor activity 2006-06-06 18:05:16 +00:00
Bjorn Andersson 7dd28d9095 oops 2006-06-06 18:02:18 +00:00
Bjorn Andersson f9a2f07e11 zlib 2006-06-06 17:59:24 +00:00
Erik Ekman cbfab201b8 fixed changing ping domain 2006-06-06 17:17:05 +00:00
Bjorn Andersson 3440a3f378 cleanup 2006-06-06 16:08:02 +00:00
Erik Ekman e5d35b57bc remove temp 2006-06-06 16:06:50 +00:00
Erik Ekman ed9d4e7de1 Send ping on receive data 2006-06-06 16:00:27 +00:00
Erik Ekman e7aa847b08 Silenced some output 2006-06-06 15:51:56 +00:00
Bjorn Andersson 584eb382e7 direct large packages 2006-06-06 15:43:13 +00:00
Erik Ekman 82b5d23788 Send P in ping packets 2006-06-06 15:40:06 +00:00
Bjorn Andersson 5c1bb035ca semilarge packet support 2006-06-06 15:34:45 +00:00
Erik Ekman 0edb934775 Send more random pings 2006-06-06 14:18:32 +00:00
Bjorn Andersson bed0b63bf6 cleanup 2006-06-06 13:47:51 +00:00
Erik Ekman a065151c1b Send EDNS part 2006-06-06 13:11:29 +00:00
Erik Ekman b681e3a0d9 Ignore ping packets 2006-06-06 12:59:22 +00:00
Erik Ekman 049cb2eff8 delayed acking 2006-06-06 12:36:12 +00:00
Erik Ekman 824f5fda90 Remove fastpolling, discard chunk on packetloss 2006-06-06 11:55:21 +00:00