Commit graph

377 commits

Author SHA1 Message Date
Erik Ekman 0229ee0d46 Added missing braces 2006-06-23 11:50:33 +00:00
Erik Ekman d509c911c1 Updated docs 2006-06-23 11:38:20 +00:00
Erik Ekman b320f6de56 Initial readme 2006-06-23 08:54:47 +00:00
Erik Ekman fa408ad749 Verify IP, send correct IP and MTU to client 2006-06-23 07:58:36 +00:00
Erik Ekman df8c508f77 cleanup 2006-06-11 22:21:12 +00:00
Erik Ekman fc0c5aa46b Added more help 2006-06-11 22:02:26 +00:00
Bjorn Andersson a8182ef8f1 no working 2006-06-11 20:02:26 +00:00
Bjorn Andersson d81d1c8bd7 compiles on bsd 2006-06-11 19:54:38 +00:00
Bjorn Andersson 863dceb4cd Merged open_dns(d), close_dns(d) 2006-06-11 19:54:23 +00:00
Bjorn Andersson 1eda2d0472 stop sending ping replys forever, send reply earlier if possible 2006-06-11 19:41:01 +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 5c01e8d8e3 Handle packet fragmentation in tunnel instead 2006-06-11 18:43:37 +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 2134d77dba more help text 2006-06-11 17:47:39 +00:00
Bjorn Andersson 7dfe4f5d1f Fix unused label, clear newroot pointer 2006-06-11 17:43:04 +00:00
Bjorn Andersson 96ef5da119 Print when detaching, do not close tun when its not opened 2006-06-11 17:41:39 +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 25bb52c585 working in openbsd now 2006-06-11 15:29:37 +00:00
Bjorn Andersson d15c72c29c Set server ip and mtu 2006-06-11 15:24:20 +00:00
Bjorn Andersson c83d6d6983 tun has setip and setmtu 2006-06-11 15:19:07 +00:00
Bjorn Andersson 507ef11bf0 setip and setmtu 2006-06-11 15:07:51 +00:00
Bjorn Andersson 14f9f8ad15 Remove setgid message 2006-06-11 14:51:27 +00:00
Bjorn Andersson 02763e9a84 handles errors from tun and dns(d) 2006-06-11 14:42:19 +00:00
Bjorn Andersson b9a14dcae2 Add helptext newline 2006-06-11 14:34:27 +00:00
Bjorn Andersson 1868977228 Add helptext 2006-06-11 14:33:59 +00:00
Bjorn Andersson b7dc8a3779 chroot 2006-06-11 14:29:36 +00:00
Bjorn Andersson ccae5695c0 Move printout 2006-06-11 14:21:01 +00:00
Bjorn Andersson 41330f5f2b moved rootcheck after usage 2006-06-11 13:59:55 +00:00
Bjorn Andersson 5696b3c869 cleanup in the tunnelcode, now sending the frameheader 2006-06-11 13:49:36 +00:00
Bjorn Andersson 20789ac53d Fix helpstring 2006-06-11 13:39:38 +00:00
Bjorn Andersson 3ef5d8edf0 Change to rev and date 2006-06-11 13:37:44 +00:00
Bjorn Andersson 3aa08c4855 Expand Id 2006-06-11 13:33:43 +00:00
Bjorn Andersson ae5177d320 A try at printing version 2006-06-11 13:27:48 +00:00
Bjorn Andersson 350aea908b Add -h flag to print help 2006-06-11 13:14:57 +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
Bjorn Andersson a83a975299 root check 2006-06-11 12:45:46 +00:00
Bjorn Andersson 1e9df58f2f More name changing 2006-06-11 12:41:11 +00:00
Bjorn Andersson eba70164e0 correct naming 2006-06-11 12:26:09 +00:00
Bjorn Andersson f2ae7ac27c Name change 2006-06-11 12:23:22 +00:00
Bjorn Andersson 7bf9c25ebc cleanup in main 2006-06-11 12:18:49 +00:00
Erik Ekman 12d79f6e25 Added setuid/gid and getopt parsing of -u user 2006-06-09 20:35:26 +00:00
Erik Ekman 7782693e2b Move readname() and READ macros out of dns[d].c 2006-06-08 18:58:15 +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