Commit graph

594 commits

Author SHA1 Message Date
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
Erik Ekman
4bcc25da64 New way of polling, added comments on magic numbers 2006-06-06 11:09:13 +00:00
Erik Ekman
f6bff7242d use htons on id 2006-06-06 02:42:29 +00:00
Bjorn Andersson
65a6847c3e cleanup in dnstun.c 2006-06-06 02:39:37 +00:00
Bjorn Andersson
4b85a1ece2 cleanup in dnstund.c 2006-06-06 02:38:56 +00:00
Bjorn Andersson
1fd044cbff server ok 2006-06-06 02:27:10 +00:00
Erik Ekman
e6da8c66d8 Use null in query 2006-06-06 02:07:29 +00:00
Erik Ekman
5a224ee71a Fix handling of answers from real dns 2006-06-06 01:03:37 +00:00
Erik Ekman
74a778fdf0 removed old comment 2006-06-06 00:41:18 +00:00
Bjorn Andersson
34b8ee6794 cleanup and stuff 2006-06-06 00:39:29 +00:00
Bjorn Andersson
b91fb102d3 max redefined 2006-06-06 00:18:29 +00:00
Bjorn Andersson
08643a6641 we got pong 2006-06-06 00:17:28 +00:00
Bjorn Andersson
f26723ff2c fixed dnsd answer 2006-06-06 00:07:35 +00:00
Bjorn Andersson
781545dd02 fixed dnsd answer 2006-06-06 00:07:25 +00:00
Erik Ekman
e24f396039 Dont forward the ping packet 2006-06-05 23:56:32 +00:00