Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 1996 13:13:07 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        guido@gvr.win.tue.nl (Guido van Rooij)
Cc:        jcl@pavilion.co.uk, hackers@FreeBSD.org
Subject:   Re: Multiple delivery of UDP and IP aliases
Message-ID:  <199607011813.NAA15675@brasil.moneng.mei.com>
In-Reply-To: <199607011806.UAA07690@gvr.win.tue.nl> from "Guido van Rooij" at Jul 1, 96 08:06:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I made a fix. However, I believ this was fixed in 2.1R.

I don't believe it was, because when I first mentioned it, it was because
I had upgraded one of my key machines from 2.0R to 2.1R...  I do have this
applied as a patch to the machine in question, and the machine is running
2.1.0-RELEASE, and it no longer exhibits this behaviour..

> In 2.1, an alias has an associated netmask of all-ones. 
> In the udp code, a packet to an address is always checked to
> be a broadcast address using in_broadcast(). For an all-one
> netmask, this succeeds where it should not.
> I `fixed' this by adding a check for the all-one netmask in
> in_broadcast(). This is fixed in 2.1.
> The following patch should fix it on 2.05:

The patch does work but I swear you need it for 2.1R as well  ;-)

... JG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607011813.NAA15675>