910 Commits

Author SHA1 Message Date
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
Erik Ekman
f2b27f868e Change to recv(), stop warning on close 2006-06-05 15:22:29 +00:00
Erik Ekman
43787fae12 nonworking read of dns reply 2006-06-05 15:13:30 +00:00
Bjorn Andersson
e1c0a595df signal fluff for qujitting 2006-06-05 14:46:10 +00:00
Bjorn Andersson
5c61baa2be tunnel and stuff 2006-06-05 14:43:04 +00:00
Erik Ekman
f21e85b574 Send dns query on start 2006-06-05 14:37:58 +00:00
Erik Ekman
97a58e51ee Remove comments 2006-06-05 14:16:52 +00:00
Bjorn Andersson
8a65e020fd copyright and stuff 2006-06-05 14:15:53 +00:00
Erik Ekman
66bc89019a Added set peer 2006-06-05 14:13:32 +00:00
Bjorn Andersson
5ff6d2228c replaced err with warn and proper returns 2006-06-05 14:02:42 +00:00
Bjorn Andersson
d4ecde9188 echo bra i cc 2006-06-05 13:45:20 +00:00
Bjorn Andersson
0de8e715e3 sweet stuff 2006-06-05 13:44:15 +00:00