From owner-freebsd-net@freebsd.org Fri Aug 19 15:16:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF653BBD6EB for ; Fri, 19 Aug 2016 15:16:06 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id CF3E11EC4 for ; Fri, 19 Aug 2016 15:16:06 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 13810CB8C9D; Fri, 19 Aug 2016 10:16:00 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 19 Aug 2016 10:15:59 -0500 (CDT) Message-ID: <27209.128.135.52.6.1471619759.squirrel@cosmo.uchicago.edu> In-Reply-To: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> References: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> Date: Fri, 19 Aug 2016 10:15:59 -0500 (CDT) Subject: Re: How can I send packets to 255.255.255.255 from the command line? From: "Valeri Galtsev" To: "Andrey V. Elsukov" Cc: "Ryan Stone" , "freebsd-net" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 15:16:07 -0000 On Fri, August 19, 2016 9:46 am, Andrey V. Elsukov wrote: > On 18.08.16 22:29, Ryan Stone wrote: >> I want to test a change to broadcast packet handling and I want to >> confirm >> that 255.255.255.255 is still handled correctly. Are there any >> command-line >> tools in FreeBSD that can send to the broadcast address? ping >> 255.255.255.255 does not work correctly, unfortunately. > > There is one in src/tools/regression/netinet/ipbroadcast > You can build it with command > # make WARNS=0 > Am I the only one who is kind of kicked out of the chair when seeing someone attempting to broadcast the who ipv4 internet: 255.255.255.255 ?! Someone explain me this is OK and is not a "big bang" level of noise ;-( Valeri > -- > WBR, Andrey V. Elsukov > > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++