ports/net/hanstunnel/files/patch-client.cpp
Felippe de Meirelles Motta 946b368825 Hans makes it possible to tunnel IPv4 through ICMP echo packets, so you
could call it a ping tunnel. This can be useful when you find yourself
in the situation that your Internet access is firewalled, but pings are
allowed.

WWW: http://code.gerade.org/hans/

PR:		ports/177649
Submitted by:	Alexander Panyushkin <vsityz@gmail.com>
2013-06-28 20:45:36 +00:00

11 lines
281 B
C++

--- client.cpp.orig 2010-02-17 17:30:21.000000000 +0200
+++ client.cpp 2013-04-03 16:05:10.000000000 +0300
@@ -27,6 +27,8 @@
#include <arpa/inet.h>
#include <syslog.h>
+#include <netinet/in.h>
+
using namespace std;
const Worker::TunnelHeader::Magic Client::magic("hanc");