Commit Graph

603 Commits

Author SHA1 Message Date
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
Bjorn Andersson
8631c2991c stuff med printf 2006-06-05 13:40:07 +00:00
Erik Ekman
33f8a07aa6 Added dns.[ch], for udp messaging 2006-06-05 13:38:10 +00:00
Bjorn Andersson
8c7a931862 funny stuff 2006-06-05 13:16:24 +00:00
Bjorn Andersson
c25e1500a4 temporary data 2006-06-05 13:14:16 +00:00
Erik Ekman
ba2abc6e69 use dns0 on linux 2006-06-05 13:00:34 +00:00
Bjorn Andersson
efe4b99e06 fancy pancy 2006-06-05 12:58:50 +00:00
Bjorn Andersson
323df069b1 os definen 2006-06-05 12:55:30 +00:00