From owner-freebsd-net@FreeBSD.ORG Sat Jan 13 14:56:26 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F129D16A407; Sat, 13 Jan 2007 14:56:26 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by mx1.freebsd.org (Postfix) with ESMTP id DCE0713C45E; Sat, 13 Jan 2007 14:56:26 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout3.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id l0DEjYtL005590; Sat, 13 Jan 2007 06:45:34 -0800 (PST) Date: Sat, 13 Jan 2007 12:11:39 +0900 Message-ID: From: gnn@freebsd.org To: "Bruce M. Simpson" In-Reply-To: <45A5F75F.8080404@FreeBSD.org> References: <459D4D88.2030708@delphij.net> <459FEDBC.4070008@FreeBSD.org> <20070107115158.GA63854@codelabs.ru> <45A54119.20809@FreeBSD.org> <20070111063715.GL14822@codelabs.ru> <45A5F75F.8080404@FreeBSD.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.92 (i386-apple-darwin8.8.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org, Tadaaki Nagao , andre@freebsd.org, LI Xin Subject: Re: Different behavior of ping'ing INADDR_BROADCAST? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2007 14:56:27 -0000 At Thu, 11 Jan 2007 08:37:51 +0000, Bruce M. Simpson wrote: > I'm personally not in favour of sending a single broadcast packet to > multiple interfaces as it has potential for denial of service, and > doesn't seem to be consistent with the behaviour of other systems, > or the most common use-case for undirected broadcast, which is early > boot and/or DHCP. Applications such as ISC DHCP work around the > traditional BSD behaviour by using BPF to inject and receive IP > broadcasts. > Just on this quick point, I too think copying broadcasts to all interfaces is a bad idea and should be avoided. Best, George