GithubHelp home page GithubHelp logo

icmptx's Introduction

The text below was the original README.  A more elaborate howto can be found at
http://thomer.com/icmptx/


------
an icmp tunnel application based on itunnel and vtun.

it.c		- modified itunnel part (pretty straightforward)
tun_dev.c	- tun/tap part from vtun (copy)

to run it, make sure you have tuntap in kernel (with 2.6, the driver is 'tun',
not sure if it works with older kernels - i removed older driver support).

create a tunnel on a server (to a dummy address) with:
./create_tun dummy_address

set the link up with ifconfig or iproute2 ip, set up routes and everything else
as needed (set MTU!):
ifconfig tun0 mtu 1400 192.168.3.1
route add 192.168.3.2 tun0

create tunnel from client:
./create_tun server

set the link up, routes as needed and so on:
ifconfig tun0 mtu 1400 192.168.3.2
route add 192.168.3.1 tun0
route add default gw 192.168.3.1

the MTU should be set to 1400 (it's defined in create_tun.c) or to anything
that can be sent as a payload of a single ICMP packet (changing create_tun.c
accordingly).

Enjoy.

icmptx's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.