Sample ICMP Denied
The following is a sample output from OSX 10.8.5 when ICMP is explicitly filtered by a rule on a router.
Request timeout for icmp_seq 1 76 bytes from 10.15.37.33: Communication prohibited by filter Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 42ba 0 0000 3a 01 0fb4 10.13.12.25 10.19.22.25
(IPs have been changed to protect the guilty)
The sample is provided to help you with "TODO: Detect the following kinds of message and avoid printing it repeatedly."