From owner-freebsd-net@freebsd.org Fri Aug 19 14:48:57 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 37920BBEF69 for ; Fri, 19 Aug 2016 14:48:57 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1m.cmail.yandex.net (forward1m.cmail.yandex.net [IPv6:2a02:6b8:b030::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEAF61ED0 for ; Fri, 19 Aug 2016 14:48:56 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [77.88.29.86]) by forward1m.cmail.yandex.net (Yandex) with ESMTP id 9027120E9B; Fri, 19 Aug 2016 17:48:43 +0300 (MSK) Received: from smtp3p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3p.mail.yandex.net (Yandex) with ESMTP id 0D24E13200D4; Fri, 19 Aug 2016 17:48:42 +0300 (MSK) Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2SZ07ABmaK-mfUSFQFl; Fri, 19 Aug 2016 17:48:41 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1471618121; bh=Gs7iX+j/SpufNjGR1ILfHKLZFNM8+YdmabKDgtlZjig=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=A7Plclq8ZKd0BrQBTXX5Y1GMjeDP+QefF1jtr9D5ZCzKatoO25COwirp/WQky0qE1 V5URJW+XadK1JaMWqQDP+Py+Er72reLTrFjInNdnk0keaYqYW6BOriHfPU9jvXF6vI iD67naDZ2hm6AQOIQFTPltcYihwAQIYyoXzX5mJM= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: How can I send packets to 255.255.255.255 from the command line? To: Ryan Stone , freebsd-net References: From: "Andrey V. Elsukov" Message-ID: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> Date: Fri, 19 Aug 2016 17:46:51 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v" 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 14:48:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v Content-Type: multipart/mixed; boundary="uArR577HgFWlp5bgkoXRHUicCCMvfMRks" From: "Andrey V. Elsukov" To: Ryan Stone , freebsd-net Message-ID: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> Subject: Re: How can I send packets to 255.255.255.255 from the command line? References: In-Reply-To: --uArR577HgFWlp5bgkoXRHUicCCMvfMRks Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 18.08.16 22:29, Ryan Stone wrote: > I want to test a change to broadcast packet handling and I want to conf= irm > 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=3D0 --=20 WBR, Andrey V. Elsukov --uArR577HgFWlp5bgkoXRHUicCCMvfMRks-- --GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEvBAEBCAAZBQJXtxvbEhxidTdjaGVyQHlhbmRleC5ydQAKCRABxeoEEMiheuPa CACUTh7T69pKTQJURawjJFngaz+F4kHeOay2IVreR//1/3FM/8kqbsO8qtO215e7 EuTrzlENn2WB5EwKOt5SNqGTEKIJMZarSfbXnzW3VYmzjgPNBoc+T/eKTfV9vRn1 2ZNrQcuJBFx4H0yEuY3Qocpd8zEmOB4k4FFzkU4kJfani7OYc8rWpS+FCd5ZyIf1 aHtEN3y7VapnGuYZ7Hq8rqDxKxdJ2XgvAL+mi6Pd4qAXOxV9gFYyVSCHkG8kT+qz 0QIAyRn1sIBqV5DRFZoQSayE/74aBlcDBgBXN8aV2c4wwikYcWkBQM9tuRgTKFsc uemDFDEqLZnC5/3VUoraBTlI =aPTB -----END PGP SIGNATURE----- --GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v--