ICMP-typer och ICMP-koder till iptables
Till iptables går det att ange ICMP-typer och ICMP-koder som tal på formen ICMP-typ/ICMP-kod eller med ICMP-typernas och ICMP-kodernas namn på formen ICMP-typ/ICMP-kod.Namnen på icmp-typer och koder i iptables
|
ICMP-typ, nummer |
ICMP-kod, nummer |
ICMP-typ, namn |
ICMP-kod, namn |
|---|---|---|---|
|
0 |
- |
echo-reply (pong) |
- |
|
1 |
- |
Används ej |
- |
|
2 |
- |
Används ej |
- |
|
3 |
- 0 1 2 3 4 5 6 7 9 10 11 12 |
destination-unreachable |
- network-unreachable host-unreachable protocol-unreachable port-unreachable fragmentation-needed source-route-failed network-unknown host-unknown network-prohibited host-prohibited TOS-network-unreachable TOS-host-unreachable communication-prohibited host-precedence-violation precedence-cutoff |
|
4 |
- |
source-quench |
- |
|
5 |
- 0 1 2 3 |
redirect |
- network-redirect host-redirect TOS-network-redirect TOS-host-redirect |
|
6 |
- |
- |
- |
|
7 |
- |
Används ej |
- |
|
8 |
- |
echo-request (ping) |
- |
|
9 |
- |
router-advertisement |
- |
|
10 |
- |
router-solicitation |
- |
|
11 |
- 0 1 |
time-exceeded (ttl-exceeded) |
- ttl-zero-during-transit ttl-zero-during-reassembly |
|
12 |
- 0 1 2 |
parameter-problem |
- ip-header-bad required-option-missing |
|
13 |
- |
timestamp-request |
- |
|
14 |
- |
timestamp-reply |
- |
|
15 |
- |
- |
- |
|
16 |
- |
- |
- |
|
17 |
- |
address-mask-request |
- |
|
18 |
- |
address-mask-reply |
- |
|
19 |
- |
- |
- |
|
20-29 |
- |
- |
- |
|
30 |
- |
- |
- |
|
31 |
- |
- |
- |
|
32 |
- |
- |
- |
|
33 |
- |
- |
- |
|
34 |
- |
- |
- |
|
35 |
- |
- |
- |
|
36 |
- |
- |
- |
Copyright © 2010-2025
Kjell Enblom.
This document is covered by the GNU Free Documentation License, Version 1.3
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".