1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-24 14:06:06 +03:00
Commit Graph

53 Commits

Author SHA1 Message Date
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
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
f8c55cb4e7 follow error output standard 2006-06-05 15:33:29 +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
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