From owner-freebsd-hackers Mon Jul 1 11:14:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19476 for hackers-outgoing; Mon, 1 Jul 1996 11:14:31 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA19460 for ; Mon, 1 Jul 1996 11:14:26 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id NAA15675; Mon, 1 Jul 1996 13:13:07 -0500 From: Joe Greco Message-Id: <199607011813.NAA15675@brasil.moneng.mei.com> Subject: Re: Multiple delivery of UDP and IP aliases To: guido@gvr.win.tue.nl (Guido van Rooij) Date: Mon, 1 Jul 1996 13:13:07 -0500 (CDT) Cc: jcl@pavilion.co.uk, hackers@FreeBSD.org In-Reply-To: <199607011806.UAA07690@gvr.win.tue.nl> from "Guido van Rooij" at Jul 1, 96 08:06:55 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text 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 ;-) ... JG