mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: clemens <therapy@endorphin.org>
To: linux-kernel@vger.kernel.org
Subject: no ICMP port unreachable for UDP packets
Date: Wed, 25 Jul 2001 01:14:32 +0200	[thread overview]
Message-ID: <20010725011432.A2405@ghanima.endorphin.org> (raw)

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

                 reply	other threads:[~2001-07-24 23:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010725011432.A2405@ghanima.endorphin.org \
    --to=therapy@endorphin.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®