ICMP tunnel
From Wikipedia, the free encyclopedia
An ICMP tunnel establishes a covert connection between two remote computers (a client and proxy), using ICMP echo requests and reply packets. An example of this technique is tunneling complete TCP traffic over ping requests and replies.
Contents |
[edit] Technical details
Please help improve this section by expanding it. Further information might be found on the talk page or at requests for expansion. |
ICMP tunneling works by injecting arbitrary data into an echo packet sent to a remote computer. The remote computer replies in the same manner, injecting an answer into another ICMP packet and sending it back. The client performs all communication using ICMP echo request packets, while the proxy uses echo reply packets. In theory, it is possible to have the proxy use echo request packets (which makes implementation much easier), but these packets are not necessarily forwarded to the client, as the client could be behind a translated address (NAT). This bidirectional data flow can be abstracted with an ordinary serial line.
[edit] Uses
Please help improve this section by expanding it. Further information might be found on the talk page or at requests for expansion. |
Tunneling is often used to bypass firewalls which do not block ICMP packets, or to establish hard to trace, encrypted communication channel between two computers without direct network interaction.
[edit] See also
[edit] External links
- http://sourceforge.net/projects/itun Simple ICMP tunnel
- http://www.cs.uit.no/~daniels/PingTunnel/
- http://www.bluebitter.de/download/PingChat.zip TechDemo - Chat program (Windows)
- http://www.bluebitter.de/download/ICMPCmd.zip TechDemo - Client/Server TechDemo (Windows)
- ICMP Tunneling by Stuart Thomas
- RFC 792, Internet Control Message Protocol
- ICMP Sequence Diagram
- RFC 1122, Requirements for Internet Hosts -- Communication Layers
- Filtering ICMP on firewalls
- Project Loki" Article on ping tunneling in Phrack