mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-28 12:35:13 +00:00
#23 updated manpage and log row
This commit is contained in:
parent
e16a852fa4
commit
810bb39899
@ -16,7 +16,9 @@ iodine, iodined \- tunnel IPv4 over DNS
|
|||||||
.B ] [-d
|
.B ] [-d
|
||||||
.I device
|
.I device
|
||||||
.B ]
|
.B ]
|
||||||
|
.B [
|
||||||
.I nameserver
|
.I nameserver
|
||||||
|
.B ]
|
||||||
.I topdomain
|
.I topdomain
|
||||||
|
|
||||||
.B iodined [-v]
|
.B iodined [-v]
|
||||||
@ -93,7 +95,8 @@ You must make sure the dns requests are forwarded to this port yourself.
|
|||||||
.B nameserver
|
.B nameserver
|
||||||
The nameserver to use to relay the dns traffic. This can be any relaying
|
The nameserver to use to relay the dns traffic. This can be any relaying
|
||||||
nameserver or the ip number of the server running iodined if reachable.
|
nameserver or the ip number of the server running iodined if reachable.
|
||||||
Normally, you should specify a nameserver from your
|
This argument is optional, and if not specified a nameserver will be read
|
||||||
|
from the
|
||||||
.I /etc/resolv.conf
|
.I /etc/resolv.conf
|
||||||
file.
|
file.
|
||||||
.TP
|
.TP
|
||||||
|
@ -717,7 +717,7 @@ main(int argc, char **argv)
|
|||||||
if(handshake(dns_fd))
|
if(handshake(dns_fd))
|
||||||
goto cleanup2;
|
goto cleanup2;
|
||||||
|
|
||||||
printf("Sending queries for %s to %s\n", argv[1], argv[0]);
|
printf("Sending queries for %s to %s\n", topdomain, nameserv_addr);
|
||||||
|
|
||||||
do_chroot(newroot);
|
do_chroot(newroot);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user