From: Curt Sampson <cjs@starling-software.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: linux-kernel@vger.kernel.org, Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: Problems Receiving UDP Broadcasts on Some Versions of Linux
Date: Wed, 27 Jan 2010 14:14:06 +0900 [thread overview]
Message-ID: <20100127051405.GA5316@analytic.cynic.net> (raw)
In-Reply-To: <1264564565.2810.11.camel@edumazet-laptop>
On 2010-01-27 04:56 +0100 (Wed), Eric Dumazet wrote:
> And you receive a frame on eth1 with src ip address = 192.166.1.120
>
> I suspect your kernel drops this frame because of asymetric routing
>
> Check "ip route get 192.166.1.120" and if answer is directed to another interface,
> this may explain the problem.
Indeed, you are absolutely correct. I've further verified that this is
the issue by having the 8.04 host generate broadcast packets on eth0 and
eth1, and the "malfunctioning" 9.04 host receives them correctly in both
cases.
I ought to have known, looking at that patently bogus source address
(there's no way I should be seeing anything to 255.255.255.255 that has
a source address from a different network), to start looking at these
sorts
> Solution : tweak rp_filter settings.
And indeed, that worked. (I've added the old settings to the
StackOverflow page.) Thank you very much!
Let me know (by private e-mail) if you're going to add an answer to my
question on StackOverflow, so I can give you the reputation points.
Otherwise I'll add the answer myself. The URL, again, is:
http://stackoverflow.com/questions/2130563/udp-broadcast-reception-problems-with-ubuntu-9-04-but-not-8-04
cjs
--
Curt Sampson <cjs@cynic.net> +81 90 7737 2974
http://www.starling-software.com
The power of accurate observation is commonly called cynicism
by those who have not got it. --George Bernard Shaw
prev parent reply other threads:[~2010-01-27 5:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100125072749.GG21419@analytic.cynic.net>
2010-01-25 8:10 ` Problems Receiving UDP Broadcasts on Some Versions of Linux Eric Dumazet
2010-01-27 0:37 ` Curt Sampson
2010-01-27 3:56 ` Eric Dumazet
2010-01-27 5:14 ` Curt Sampson [this message]
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=20100127051405.GA5316@analytic.cynic.net \
--to=cjs@starling-software.com \
--cc=eric.dumazet@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).