Commit Graph

63 Commits

Author SHA1 Message Date
Erik Ekman
69c8b05a2c Security fixes 2006-09-11 19:07:51 +00:00
Bjorn Andersson
72f8326077 readname-tests 2006-08-24 22:04:27 +00:00
Erik Ekman
125bb57a2f Split dns_read to read and dns_parse_reply for testing reasons 2006-08-24 21:30:19 +00:00
Bjorn Andersson
4a9887c9df rewrote READ* and PUT*; in read.c, handeling malformed compression of names 2006-08-16 18:12:15 +00:00
Erik Ekman
3e9e4a8f35 Compile on freebsd 2006-08-13 18:58:54 +00:00
Erik Ekman
b14b23c936 Move encoding to its own file 2006-08-12 23:24:59 +00:00
Erik Ekman
4c0032c04c Added support for choosing ip to listen on for DNS 2006-08-11 22:52:36 +00:00
Erik Ekman
c46c2c99ff Should make dns.c compile on darwin 2006-06-24 23:38:22 +00:00
Erik Ekman
5c5c879223 Add stdint.h to build on darwin 2006-06-24 21:11:16 +00:00
Bjorn Andersson
ae37edcb77 compression in server response 2006-06-24 12:44:26 +00:00
Erik Ekman
65c39c3b6e FreeBSD compat 2006-06-24 11:33:57 +00:00
Erik Ekman
df8c508f77 cleanup 2006-06-11 22:21:12 +00:00
Bjorn Andersson
863dceb4cd Merged open_dns(d), close_dns(d) 2006-06-11 19:54:23 +00:00
Bjorn Andersson
449bc77f57 Move global values out of dns.c, into iodined.c 2006-06-11 19:34:34 +00:00
Bjorn Andersson
754998f7ef Move packet queue out of dns.c 2006-06-11 19:17:20 +00:00
Bjorn Andersson
f76b8e410b Fix decodepacket oboe 2006-06-11 18:19:50 +00:00
Bjorn Andersson
20e2ffe5e2 moved packetpacking out from dns.c 2006-06-11 18:07:26 +00:00
Bjorn Andersson
16c46c3183 No segfaults please 2006-06-11 17:26:13 +00:00
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
02763e9a84 handles errors from tun and dns(d) 2006-06-11 14:42:19 +00:00
Bjorn Andersson
ccae5695c0 Move printout 2006-06-11 14:21:01 +00:00
Bjorn Andersson
5696b3c869 cleanup in the tunnelcode, now sending the frameheader 2006-06-11 13:49:36 +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
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
cbfab201b8 fixed changing ping domain 2006-06-06 17:17:05 +00:00
Erik Ekman
e7aa847b08 Silenced some output 2006-06-06 15:51:56 +00:00
Erik Ekman
82b5d23788 Send P in ping packets 2006-06-06 15:40:06 +00:00
Erik Ekman
0edb934775 Send more random pings 2006-06-06 14:18:32 +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
824f5fda90 Remove fastpolling, discard chunk on packetloss 2006-06-06 11:55:21 +00:00
Erik Ekman
f6bff7242d use htons on id 2006-06-06 02:42:29 +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
08643a6641 we got pong 2006-06-06 00:17:28 +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
Erik Ekman
f436823146 New encoder, this one works 2006-06-05 23:34:44 +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