From owner-freebsd-hackers Mon Jul 1 15:17:16 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA21404 for hackers-outgoing; Mon, 1 Jul 1996 15:17:16 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA21359 for ; Mon, 1 Jul 1996 15:16:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id PAA01099; Mon, 1 Jul 1996 15:15:00 -0700 (PDT) Message-Id: <199607012215.PAA01099@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Joe Greco 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 In-reply-to: Your message of "Mon, 01 Jul 1996 13:13:07 CDT." <199607011813.NAA15675@brasil.moneng.mei.com> From: David Greenman Reply-To: davidg@root.com Date: Mon, 01 Jul 1996 15:14:59 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> 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