
26 HONEYPOTS AND ROUTERS
ICMP messages are usually sent in the following situations:
• A datagram cannot reach the destination.
• e gateway does not have enough space in the buer to forward
a datagram.
For the purpose of feedback or error reporting, the type and the code
elds combined have an extensive list of associated status codes; some
important combinations are described in Table 1.1 [7].
Table 1.1 Important ICMP Type and Code Combinations
TYPE CODE DESCRIPTION
0—Echo reply 0 Echo reply (used toping)
3—Destination unreachable 0 Destination network unreachable
1 Destination host unreachable
2 Destination protocol unreachable
3 Destination port ...