ICMP
From S23Wiki
ICMP is the Internet Control Message Protocol
You can read RFC 792 for a full explanation.
The well-known ping command is a type of ICMP request.
Packet Layout:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-------------------------------+-------------------------------+
| Type | Code | Checksum |
+-------------------------------+-------------------------------+
| Identifier | Sequence Number |
+-------------------------------+-------------------------------+
| Data ...
+---------------------------------------------
Type 8 = echo request. Type 0 = echo reply.
Links:
Using ICMP tunneling to steal Internet
[edit] ICMP-Meldungstypen
| Typ | Meldung |
|---|---|
| 0 | Echo-Antwort |
| 3 | Ziel nicht erreichbar |
| 4 | Quellreduktion |
| 5 | Umleitung / Änderungsanfrage |
| 8 | Echo-Anfrage |
| 9 | Router-Angebot |
| 10 | Router-Auswahl |
| 11 | Zeitüberschreitung |
| 12 | Parameterproblem |
| 13 | Zeitangabeanfrage |
| 14 | Zeitangabeantwort |
| 15 | Informationsanfrage |
| 16 | Informationsantwort |
| 17 | Adressmaskenanfrage |
| 18 | Adressmaskenantwort |
[edit] Codewerte für Meldung "Ziel nicht erreichbar"
| Code | Meldung |
|---|---|
| 0 | Netz nicht erreichbar |
| 1 | Host nicht erreichbar |
| 2 | Protokoll nicht erreichbar |
| 3 | Port nicht erreichbar |
| 4 | Fragmentierung erforderlich und DF eingestellt |
| 5 | Quellroute fehlgeschlagen |
| 6 | Zielnetz unbekannt |
| 7 | Zielhost unbekannt |
| 8 | Absenderhost isoliert |
| 9 | Kommunikation mit Zielnetz administrativ verboten |
| 10 | Kommunikation mit Zielhost administrativ verboten |
| 11 | Netz für Gerätetyp nicht erreichbar |
| 12 | Host für Diensttyp nicht erreichbar |

