How can I send packets to 255.255.255.255 from the command line?

Charles Smith clearscreen at gmail.com
Fri Aug 19 19:46:47 UTC 2016


It is still limited to the "local network," about as harmless as a DHCP broadcast.

- Charles



Sent from my iPhone
> On Aug 19, 2016, at 11:15 AM, Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote:
> 
> 
>> 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
> ++++++++++++++++++++++++++++++++++++++++
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list