Better Living Through Thinking

Ping Tunnel - Send TCP traffic over ICMP

Sat, 24 Sep 2005

<http://www.cs.uit.no/~daniels/PingTunnel/>

FreeBSD needs a few tweaks to compile (from the ptunnel port Makefile):

--- Makefile~   Thu May 26 09:06:24 2005
+++ Makefile    Sat Sep 24 15:59:08 2005
@@ -3,7 +3,7 @@
 
 CC                     = gcc
 CFLAGS         = -Wall -g
-LDOPTS         = -lpthread -lpcap
+LDOPTS         = -pthread -lpcap
 PT_OBJS                = ptunnel.o md5.o
 prefix         = /usr
 bindir         = $(prefix)/bin

and:

--- ptunnel.h~  Thu May 26 09:06:24 2005
+++ ptunnel.h   Sat Sep 24 15:59:35 2005
@@ -56,7 +56,7 @@
        #include        <time.h>
        #include        <sys/time.h>
        #include        <signal.h>
-       #include        <stdint.h>
+       #include        <inttypes.h>
        #include        <pcap.h>
 
 //     Constants

Then use 'gmake' to compile.

[ category: /software | link: ptunnel ]

Audio Broadcast

(standby)

Moon Status

Phase: 0.01%
Illuminated: 0.00%
Age (days): 0.00
moon phase 6.3479451739686e-05 Sun May 20 17:52:06 MDT 2012