# HG changeset patch # User Pascal Bellard # Date 1261383205 -3600 # Node ID aa502dab7c8950b24b4354a40cd680e3328e2da0 # Parent 59f353e896ed168825326f77901b769d8a8d5e63 Up icmptx (0.2) diff -r 59f353e896ed -r aa502dab7c89 icmptx/receipt --- a/icmptx/receipt Sun Dec 20 21:22:25 2009 +0100 +++ b/icmptx/receipt Mon Dec 21 09:13:25 2009 +0100 @@ -1,17 +1,19 @@ # SliTaz package receipt. PACKAGE="icmptx" -VERSION="0.01" +VERSION="0.2" CATEGORY="network" SHORT_DESC="Tunnel IP connections using ICMP echo request." MAINTAINER="pascal.bellard@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://thomer.com/icmptx" -WGET_URL="$WEB_SITE/$TARBALL" +SOURCE="jakkarth-icmptx-0386ff2" +TARBALL="$SOURCE.tar.gz" +WEB_SITE="http://github.com/jakkarth/icmptx" +WGET_URL="http://download.github.com/$TARBALL" # Rules to configure and make the package. compile_rules() { + mv $SOURCE $src 2> /dev/null cd $src make } @@ -28,7 +30,8 @@ { cat << EOT Server side example (on icmp-gateway) : -# icmptx -d 10.0.1.1 & +# icmptx -s icmp-gateway & +# sleep 1 # ifconfig tun0 mtu 65535 up 10.0.1.1 netmask 255.255.255.0 # echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all # echo 1 > /proc/sys/net/ipv4/ip_forward @@ -36,6 +39,7 @@ client side example (assume 192.168.1.1 as default gw for wlan interface) : # icmptx -c icmp-gateway & +# sleep 1 # ifconfig tun0 mtu 65535 up 10.0.1.2 netmask 255.255.255.0 # route add -host icmp-gateway gw 192.168.1.1 dev wlan0 # route add default gw 10.0.1.1 tun0