85f4b14216
This is a piece of software that lets you tunnel IPv4 data through a DNS server. This can be usable in different situations where internet access is firewalled, but DNS queries are allowed. help/ok jasper@
19 lines
431 B
Plaintext
19 lines
431 B
Plaintext
$OpenBSD: patch-src_iodine_c,v 1.1.1.1 2008/02/06 21:42:28 bernd Exp $
|
|
|
|
Drop privileges and chroot by default.
|
|
|
|
--- src/iodine.c.orig Fri Nov 30 23:11:30 2007
|
|
+++ src/iodine.c Fri Feb 1 20:54:41 2008
|
|
@@ -621,9 +621,9 @@ main(int argc, char **argv)
|
|
int dns_fd;
|
|
|
|
memset(password, 0, 33);
|
|
- username = NULL;
|
|
+ username = "_iodine";
|
|
foreground = 0;
|
|
- newroot = NULL;
|
|
+ newroot = "/var/empty";
|
|
device = NULL;
|
|
chunkid = 0;
|
|
|