linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* no ICMP port unreachable for UDP packets
@ 2001-07-24 23:14 clemens
  0 siblings, 0 replies; only message in thread
From: clemens @ 2001-07-24 23:14 UTC (permalink / raw)
  To: linux-kernel

linux 2.4.7 doesn't reply with icmp port unreachable messages to udp packets
to an unbind udp port. strangely the icmp error message is only omitted for
eth0 but not for lo. (i assert it's only been omitted for non local
interfaces).
this behavior has confirmed for 2.4.7-pre8 and 2.4.7-final.

for both udp packets (from lo and from eth0) the icmp_send call in
net/ipv4/udp.c is reached, since UDP_INC_STATS_BH(UdpNoPorts) is called as
you can see from the increasing counter in /proc/net/snmp, 
so the reply packet must be drop somewhere in icmp_send.

this bug should be easily reproducable with nmap and tcpdump.

greets, clemens

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-24 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-24 23:14 no ICMP port unreachable for UDP packets clemens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).