From 3ac84ef85f10adb9a2daf01d4e46b28a773febf0 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sun, 15 Jan 2012 01:49:48 +0100 Subject: [PATCH] IRCVPN README + file --- tunnel/ircvpn/README | 3 +++ tunnel/ircvpn/ircvpn.py | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tunnel/ircvpn/README b/tunnel/ircvpn/README index 6061d76..f90bfea 100644 --- a/tunnel/ircvpn/README +++ b/tunnel/ircvpn/README @@ -10,6 +10,7 @@ Furthermore: All of your data will go kind-of plaintext over an Irc-channel. While this is a rather uncommon way of ip transit, everybody who is able to join the channel might be able to eavesdrop. + Installation and requirements ============================= * python-irclib @@ -20,6 +21,7 @@ hint of what this switch will do. Some of the security settings are rather untested, keep that in mind. After configuration, start the tunnel with python ircvpn.py. A tap-device will open and the tunnel should be ready to run. + What it does and how it works ============================= IrcVPN uses an ircchannel as its transport medium. When starting this tunnel, @@ -55,6 +57,7 @@ bot has the right to flood the ether as much as it wants with network packets. Ircs right management can always be used to mute, rate-limit or remove spamming or otherwise unwanted clients. + Header Format ============= diff --git a/tunnel/ircvpn/ircvpn.py b/tunnel/ircvpn/ircvpn.py index fa7a363..99ab9eb 100755 --- a/tunnel/ircvpn/ircvpn.py +++ b/tunnel/ircvpn/ircvpn.py @@ -16,10 +16,6 @@ import logging import subprocess from ether2any.helper import getDstMacFromPkt, isBroadcast, binToHexStr -# TODO -# replace base64 with something better -# write switching part - class IrcVPN(Ether2Any): headerlen = 1 + 5 + 1 # flag + number + whitespace pkgre = re.compile("^([a-zA-Z])(\d{5}) (.*)$")