From owner-freebsd-current Wed Dec 20 09:56:59 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA06760 for current-outgoing; Wed, 20 Dec 1995 09:56:59 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA06755 for ; Wed, 20 Dec 1995 09:56:54 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA21859; Wed, 20 Dec 1995 12:56:53 -0500 Date: Wed, 20 Dec 1995 12:56:53 -0500 From: "Garrett A. Wollman" Message-Id: <9512201756.AA21859@halloran-eldar.lcs.mit.edu> To: FreeBSD-Current Mailing List Subject: More ancient IP broadcast cruft to be removed Sender: owner-current@FreeBSD.ORG Precedence: bulk ip_input() currently contains the following piece of code: /* * Look for all-0's host part (old broadcast addr), * either for subnet or net. */ t = ntohl(ip->ip_dst.s_addr); if (t == ia->ia_subnet) goto ours; if (t == ia->ia_net) goto ours; The function of this code is to accept `broadcasts' sent to the host-all-zeros address, which was used in 4.2 as the broadcast address, IN ADDITION TO anything that happens to be configured as an explicit broadcast address. I believe that this code is a waste of time. If the user wants to accept broadcasts on the host-all-zeros address, then she should configure the interface for that broadcast address. (Using the standard broadcast address would not work to communicate with old machines anyway, so this hack doesn't really gain one anything.) I plan to disable this code, unless someone has a correctly-configured network which doesn't work without it. Speak now or forever hold your peace! -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant