221 Commits

Author SHA1 Message Date
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
Bjorn Andersson
36b134361b server sends data in response 2006-06-05 23:49:18 +00:00
Erik Ekman
5e7385a0ea Ignore ping packet on server 2006-06-05 23:46:42 +00:00
Bjorn Andersson
51bdcd9656 prepend correct header 2006-06-05 23:38:30 +00:00
Bjorn Andersson
e5138b6adb prepend correct header 2006-06-05 23:38:23 +00:00
Bjorn Andersson
efc2ec5665 tun hanterar frames och packet skickas ut p tun ok 2006-06-05 23:35:48 +00:00
Erik Ekman
f436823146 New encoder, this one works 2006-06-05 23:34:44 +00:00
Bjorn Andersson
c816cb71d3 tun hanterar frames 2006-06-05 23:34:23 +00:00
Bjorn Andersson
ce6ff57280 put packets on the tun 2006-06-05 22:45:11 +00:00
Bjorn Andersson
558a29f79c server 2006-06-05 22:36:05 +00:00
Erik Ekman
8695b82cdf Got packets through one way 2006-06-05 21:59:57 +00:00
Erik Ekman
973d42debe Integrated func dns_handle_reply into dns_read 2006-06-05 20:41:54 +00:00
Erik Ekman
f2b17dfda5 send final bit to server 2006-06-05 20:31:59 +00:00
Erik Ekman
fb429260a1 Remove more obsd warnings 2006-06-05 20:23:51 +00:00
Erik Ekman
b156b7a9e1 Remove obsd warnings 2006-06-05 20:21:49 +00:00
Erik Ekman
9bb84fe05d first try on send functionality 2006-06-05 20:05:11 +00:00
Bjorn Andersson
f701f3c6ca there and back again, a hobbits tail 2006-06-05 18:47:09 +00:00
Erik Ekman
f9381aa723 We can send data 2006-06-05 18:36:34 +00:00
Erik Ekman
ecb97656ab Now init peer and domain in open_dns(), use argv values 2006-06-05 17:22:35 +00:00
Bjorn Andersson
5eb02a4bdc fatal error 2006-06-05 15:38:06 +00:00
Bjorn Andersson
54bacf5b80 repsonse parser 2006-06-05 15:36:13 +00:00
Erik Ekman
f9a37db26b make copyright oneliner 2006-06-05 15:34:32 +00:00
Erik Ekman
f8c55cb4e7 follow error output standard 2006-06-05 15:33:29 +00:00
Bjorn Andersson
cbdb3a9c7d repsonse parser 2006-06-05 15:31:07 +00:00