diff options
author | wiz <wiz@pkgsrc.org> | 2012-12-12 13:19:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-12-12 13:19:06 +0000 |
commit | 013e37e88ec4910e6549d1556922033b9c56825b (patch) | |
tree | b28f98ef07db08c5e2aa38653ee96fd8bca5d717 /net | |
parent | 3d63ff72de67a699427abf42f58ed9aaf246070f (diff) | |
download | pkgsrc-013e37e88ec4910e6549d1556922033b9c56825b.tar.gz |
Import iodine-0.6.0rc1 as net/iodine, packaged for wip by Moritz Wilhelmy,
Georg Schwarz and MJ Turner.
iodine 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.
It runs on Linux, Mac OS X, FreeBSD, NetBSD and OpenBSD and needs a TUN/TAP
device. The bandwidth is assymetrical with limited upstream and up to 1 Mbit/s
downstream.
Compared to other DNS tunnel implementations, iodine offers:
* Higher performance: iodine uses the NULL type that allows the downstream
data to be sent without encoding. Each DNS reply can contain nearly a
kilobyte of payload data.
* Portability: iodine runs on many different UNIX-like systems. Tunnels can be
set up between two hosts no matter their endianness or operating system.
* Security: iodine uses challenge-response login secured by MD5 hash. It also
filters out any packets not coming from the IP and port used when logging
in.
* Less setup: iodine handles setting IP number on interfaces automatically,
and up to 8 users can share one server at the same time.
Diffstat (limited to 'net')
-rw-r--r-- | net/iodine/DESCR | 22 | ||||
-rw-r--r-- | net/iodine/Makefile | 21 | ||||
-rw-r--r-- | net/iodine/PLIST | 7 | ||||
-rw-r--r-- | net/iodine/distinfo | 7 | ||||
-rw-r--r-- | net/iodine/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/iodine/patches/patch-ab | 39 |
6 files changed, 111 insertions, 0 deletions
diff --git a/net/iodine/DESCR b/net/iodine/DESCR new file mode 100644 index 00000000000..206c60805ca --- /dev/null +++ b/net/iodine/DESCR @@ -0,0 +1,22 @@ +iodine 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. + +It runs on Linux, Mac OS X, FreeBSD, NetBSD and OpenBSD and needs a TUN/TAP +device. The bandwidth is assymetrical with limited upstream and up to 1 Mbit/s +downstream. + +Compared to other DNS tunnel implementations, iodine offers: + * Higher performance: iodine uses the NULL type that allows the downstream + data to be sent without encoding. Each DNS reply can contain nearly a + kilobyte of payload data. + + * Portability: iodine runs on many different UNIX-like systems. Tunnels can be + set up between two hosts no matter their endianness or operating system. + + * Security: iodine uses challenge-response login secured by MD5 hash. It also + filters out any packets not coming from the IP and port used when logging + in. + + * Less setup: iodine handles setting IP number on interfaces automatically, + and up to 8 users can share one server at the same time. diff --git a/net/iodine/Makefile b/net/iodine/Makefile new file mode 100644 index 00000000000..588c245b64d --- /dev/null +++ b/net/iodine/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2012/12/12 13:19:06 wiz Exp $ + +DISTNAME= iodine-0.6.0-rc1 +PKGNAME= iodine-0.6.0rc1 +CATEGORIES= net +MASTER_SITES= http://code.kryo.se/iodine/ + +MAINTAINER= mwilhelmy@users.sourceforge.net +HOMEPAGE= http://code.kryo.se/iodine/ +COMMENT= Tool to tunnel IPv4 over DNS +LICENSE= mit + +PKG_USERS= iodine:iodine +PKG_GROUPS= iodine + +BUILD_DEFS+= VARBASE +MAKE_DIRS= ${VARBASE}/chroot +OWN_DIRS= ${VARBASE}/chroot/iodine + +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/iodine/PLIST b/net/iodine/PLIST new file mode 100644 index 00000000000..6a028350dcb --- /dev/null +++ b/net/iodine/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2012/12/12 13:19:06 wiz Exp $ +man/man8/iodine.8 +man/man8/iodined.8 +sbin/iodine +sbin/iodined +share/doc/iodine/CHANGELOG +share/doc/iodine/README diff --git a/net/iodine/distinfo b/net/iodine/distinfo new file mode 100644 index 00000000000..c194ffcca24 --- /dev/null +++ b/net/iodine/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2012/12/12 13:19:06 wiz Exp $ + +SHA1 (iodine-0.6.0-rc1.tar.gz) = 4fa9a248b8a84df8a727a5d749e669e58136edca +RMD160 (iodine-0.6.0-rc1.tar.gz) = 6974beac28e07b0c280d7095f15d13699e9cad65 +Size (iodine-0.6.0-rc1.tar.gz) = 89827 bytes +SHA1 (patch-aa) = fb37ac47290f54aa87d84c89c5d0b1fcb179f2fb +SHA1 (patch-ab) = 767dde49b1d06935dc79ec7832b8204c5eef7ff2 diff --git a/net/iodine/patches/patch-aa b/net/iodine/patches/patch-aa new file mode 100644 index 00000000000..f4120f31c16 --- /dev/null +++ b/net/iodine/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2012/12/12 13:19:06 wiz Exp $ + +Honour CPPFLAGS + +--- src/Makefile.orig 2010-03-06 20:47:50.000000000 +0100 ++++ src/Makefile 2010-03-06 20:54:32.000000000 +0100 +@@ -28,7 +28,7 @@ + + .c.o: + @echo CC $< +- @$(CC) $(CFLAGS) $< -o $@ ++ @$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ + + base64u.o client.o iodined.o: base64u.h + base64u.c: base64.c diff --git a/net/iodine/patches/patch-ab b/net/iodine/patches/patch-ab new file mode 100644 index 00000000000..881f4504e86 --- /dev/null +++ b/net/iodine/patches/patch-ab @@ -0,0 +1,39 @@ +$NetBSD: patch-ab,v 1.1 2012/12/12 13:19:06 wiz Exp $ + +Fix 'install' target of upstream Makefile + +--- Makefile.orig 2009-01-25 21:40:04.000000000 +0000 ++++ Makefile +@@ -1,8 +1,3 @@ +-prefix=/usr/local +-sbindir=$(prefix)/sbin +-datadir=$(prefix)/share +-mandir=$(datadir)/man +- + DESTDIR= + + INSTALL=install +@@ -35,14 +30,15 @@ cross-mingw-dist: cross-mingw + @zip -r iodine-latest-win32.zip iodine-latest-win32 + + install: all +- $(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(sbindir) +- $(INSTALL) $(INSTALL_FLAGS) bin/iodine $(DESTDIR)$(sbindir)/iodine +- chmod 755 $(DESTDIR)$(sbindir)/iodine +- $(INSTALL) $(INSTALL_FLAGS) bin/iodined $(DESTDIR)$(sbindir)/iodined +- chmod 755 $(DESTDIR)$(sbindir)/iodined +- $(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(mandir)/man8 +- $(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(DESTDIR)$(mandir)/man8/iodine.8 +- chmod 644 $(DESTDIR)$(mandir)/man8/iodine.8 ++ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(PREFIX)/sbin ++ $(BSD_INSTALL_PROGRAM) bin/iodine $(DESTDIR)$(PREFIX)/sbin/iodine ++ $(BSD_INSTALL_PROGRAM) bin/iodined $(DESTDIR)$(PREFIX)/sbin/iodined ++ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man8 ++ $(BSD_INSTALL_MAN) man/iodine.8 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man8/iodine.8 ++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/doc/iodine ++ $(BSD_INSTALL_DATA) README $(DESTDIR)$(PREFIX)/share/doc/iodine/README ++ $(BSD_INSTALL_DATA) CHANGELOG $(DESTDIR)$(PREFIX)/share/doc/iodine/CHANGELOG ++ ln -sf iodine.8 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man8/iodined.8 + + uninstall: + $(RM) $(RM_FLAGS) $(DESTDIR)$(sbindir)/iodine |