"icmp-port-unreachable"

daniele giacomini daniele@swlibero.org
Sun, 8 Jul 2001 23:08:57 +0200 (CEST)


Hello.
I am studying iptables and writing some little documentation about it
into Italian. I have found this, about iptables v1.2.2, on a Linux
kernel 2.4.2:

# iptables -A INPUT -p tcp -s 127.0.0.1 -d 127.0.0.1 -dport 80 -j REJECT

# iptables -L INPUT

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
REJECT     tcp  --  localhost            localhost          tcp dpt:www reject-with icmp-port-unreachable 

Is it correct "icmp-port-unreachable"?

From

# iptables -p icmp -h

I see only "port-unreachable".

If I do

# iptables -L INPUT -n

I get

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
REJECT     tcp  --  127.0.0.1            127.0.0.1          tcp dpt:80 reject-with icmp-port-unreachable 

that is: there is no translation of ICMP type into number.

Thank you for your attention. If you are answering to me, please cc to
<daniele@swlibero.org>, as I don't have subscribed the mailing list.


Saluti/Regards/Grüße, 
daniele giacomini - Treviso, Italy