ICMP tunnel
From Wikipedia, the free encyclopedia
An ICMP tunnel is a way to establish covert connection between two remote computers (named client and proxy) using only ICMP echo request and reply packets. Typical example of this technique would be tunneling complete TCP traffic over ping requests and replies.
Contents |
[edit] Technical details
ICMP tunneling works by injecting arbitrary data into an echo packet sent to the 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 use echo reply packets. In theory, it is possible to have the proxy also use echo request packets (and make 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
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] References
- (http://sourceforge.net/projects/itun Simple ICMP tunnel)
- http://www.cs.uit.no/~daniels/PingTunnel/
[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 for >=Win2k
- http://www.bluebitter.de/download/ICMPCmd.zip TechDemo - Client/Server Demo for >=Win2k
- Project Loki" -(article on ping tunneling in Phrack)
- RFC 792, Internet Control Message Protocol
- ICMP Sequence Diagram
- RFC 1122, Requirements for Internet Hosts -- Communication Layers
- Filtering ICMP on firewalls