openbsd-ports/net/iodine/patches/patch-src_iodined_c
bernd 85f4b14216 Initial import of iodine-0.4.1.
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@
2008-02-06 21:42:28 +00:00

18 lines
413 B
Plaintext

$OpenBSD: patch-src_iodined_c,v 1.1.1.1 2008/02/06 21:42:28 bernd Exp $
Drop privileges and chroot by default.
--- src/iodined.c.orig Fri Nov 30 23:11:30 2007
+++ src/iodined.c Fri Feb 1 20:54:41 2008
@@ -447,8 +447,8 @@ main(int argc, char **argv)
int port;
int mtu;
- username = NULL;
- newroot = NULL;
+ username = "_iodine";
+ newroot = "/var/empty";
device = NULL;
foreground = 0;
mtu = 1024;