I'm looking for a way to control an ICMP packet to send arbitrary information in the data section of an echo-request, but preferably without having to build the raw packet on my own. Net::ICMP isn't low-level enough for this. The man page for 'ping' on my box says that there is a switch for sending a few bytes of aribitrary data (I'm not at a *nix box right now, so I'm not sure what switch it is), but I would like more fine-grained control over it. Something like Net::RawIP is lower than I want to go.
Control over some of the other sections (like the identifier or sequence number in a timestamp request) would also be nice, but the I'll settle for aribitrary data in an echo request.
Any way of doing this without building raw ICMP?
In reply to Low-level ICMP control by hardburn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |