p1ng

This is a little utility that sends a single ICMP echo request with some options. These include spoofing the source address at the IP layer and including payload data at the ICMP layer. Since the payload section can carry arbitrary data, ICMP is sometimes used to tunnel traffic for other protocols (ptunnel’s a good example). I didn’t implement any tunneling here- just wanted to see if I could ping a host with my payload and have it echoed back.