hardburn has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Low-level ICMP control
by merlyn (Sage) on Jan 31, 2003 at 15:22 UTC | |
|
Re: Low-level ICMP control
by hardburn (Abbot) on Jan 31, 2003 at 15:03 UTC | |
|
Re: Low-level ICMP control
by elwarren (Priest) on Feb 02, 2003 at 15:22 UTC |