Skip to contentSkip to conversation

icmp-host-unreachable as opposed to destination-unreachable

DISCUSSION Derick Anderson 2 participants 2 messages Mar 7, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of bclark
Sent: Tuesday, March 07, 2006 6:45 AM
To: [email protected]
Subject: icmp-host-unreachable as opposed to destination-unreachable

Hi all

Quoted 9 lines

Would anyone be kind to explain why would a person reject a connection to port 113 with icmp-host-unreachable as opposed to destination-unreachable.
I probally dont understand the difference.
Just something I was wondering.

Kind Regards
Brent Clark

From what I can tell, icmp-host-unreachable is a code (1) for the destination-unreachable ICMP type (3). See
http://www.spirit.com/Resources/icmp.html for a little more information, and Google RFC 792 for a lot more information.

Basically though, "host-unreachable" is more specific than "destination-unreachable". I would think that code 3 would be more appropriate ("port unreachable") to this specific rule but then I don't bother with ident (port 113) rules. There's more information on that on this page: http://grc.com/port_113.htm.

Derick Anderson

#1 lore raw

Derick Anderson zei:

Quoted 21 lines
Quoted 8 lines · bclark

Hi all

Would anyone be kind to explain why would a person reject a connection to port 113 with icmp-host-unreachable as opposed to destination-unreachable.
I probally dont understand the difference.
Just something I was wondering.

Quoted 5 lines

Kind Regards
Brent Clark

From what I can tell, icmp-host-unreachable is a code (1) for the

destination-unreachable ICMP type (3). See
http://www.spirit.com/Resources/icmp.html for a little more information, and Google RFC 792 for a lot more information.

Quoted 5 lines

Basically though, "host-unreachable" is more specific than "destination-unreachable". I would think that code 3 would be more appropriate ("port unreachable") to this specific rule but then I don't bother with ident (port 113) rules. There's more information on that on this page: http://grc.com/port_113.htm.

Actually one should respond with a tcp reset to tcp/113. All icmp *-unreachable replies can (and do) give differing results on different sending tcp stacks.

HTH,
M4