Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jul 1996 15:14:59 -0700
From:      David Greenman <davidg@root.com>
To:        Joe Greco <jgreco@brasil.moneng.mei.com>
Cc:        guido@gvr.win.tue.nl (Guido van Rooij), jcl@pavilion.co.uk, hackers@FreeBSD.ORG
Subject:   Re: Multiple delivery of UDP and IP aliases 
Message-ID:  <199607012215.PAA01099@root.com>
In-Reply-To: Your message of "Mon, 01 Jul 1996 13:13:07 CDT." <199607011813.NAA15675@brasil.moneng.mei.com> 

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  ;-)

   Joe is right - the fix didn't go in -stable until several months after the
2.1.0 release.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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