mikeage.net Logo
mikeage.net/2009/01/12/pingtunnel-improvements-win32-syslog/

mikeage.net @ כ"ה אדר תש"ע

PingTunnel Improvements: Win32 & Syslog

For anyone interested in clever networking hacks, I strongly advise checking out ptunnel. This software package allows you to tunnel any TCP (such as SSH) over a ICMP (i.e., ping). Since even the most restrictive firewalls (whether corporate, Wifi (don't steal...) or other) usually let ICMP traffic through, this little piece of code can let you access anything you want.

The latest formal release is 0.61, but there's no formal Windows version available. There are two ports of 0.52, but they don't support the authentication found in the newer versions. If you want to run this on a public server, you'll almost definitely want to be using the authentication.

The pingtunnel-win32.diff file can be applied to create a version that compiles for Windows. It relies on the WinPCap library (I tested with 4.0.2; just unzip into c:\Program Files\), and MinGW. After applying the patch, instead of running make, run "mingw32-make ptunnel.exe".

This second diff file, pingtunnel-syslog.diff, can be applied to add syslog support. If you want to run this as a daemon, you'll probably want syslog support so that you can see the output.

I've sent these patches to the author; hopefully they'll make it into 0.62!

2 Responses to “PingTunnel Improvements: Win32 & Syslog”

  1. dirk wallmann says:

    hi – I'm interested in ptunnel for win32. in windows xp I've installed mingw in C:\MINGW and winpcap in C\Programme\WINPCAP. 'pingtunnel-win32.diff' and 'ptunnel.exe' are located in C:\. I've run 'mingw32-make ptunnel.exe' … don't know what the effect of this is.

    now, what have I to do further in order to get get ptunnel running? please, can you give me some step-by-step help for the remaining operations? I've a linksys router WRT54G, managing a home net with 2 laptops.

    thank you very much in advance – dirk

  2. Mike Miller says:

    MinGW is a compiler; it's meant to be used on source code files (.c, .h, etc). pingtunnel-win32.diff is a patch, which contains my changes to the 0.61 release of PingTunnel in order to make it windows compliant.

    If you already have ptunnel.exe, that's all you'll need.

    Instructions for use are available on http://www.cs.uit.no/~daniels/PingTunnel/

Leave a Reply

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
Recent Images
Visitors
Clustermap

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 02:11 CST

Memory(TRUE): 2359296/2359296
Memory(FALSE): 2283344/2321236