You should be able to use NetPacket::IP to analyze the whole packet, and extract the ICMP payload using
$icmp_data = NetPacket::IP::strip($raw_pkt);
For details on constructing/analyzing ICMP packets, see http://www.goldfish.org/books/TCPIP Illustrated Vol 1/icmp_int.htm .
"A closed mouth gathers no feet." --Unknown
In reply to Re^3: Invalid ICMP type 69
by NetWallah
in thread Invalid ICMP type 69
by vancetech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |