Broadcast ping doesn't work?

Broadcast ping doesn't work?

Post by Paul Tombl » Mon, 25 Apr 1994 13:03:58



How come I can't ping a broadcast address in Linux?  If I try, I get:


PING 134.22.81.255 (134.22.81.255): 56 data bytes
ping: sendto: Permission denied
ping: wrote 134.22.81.255 64 chars, ret=-1
ping: sendto: Permission denied
ping: wrote 134.22.81.255 64 chars, ret=-1
ping: sendto: Permission denied
ping: wrote 134.22.81.255 64 chars, ret=-1

Isn't that supposed to work?
--
Paul Tomblin, Head - Automation Design Group.
Gandalf Canada Limited
This is not an official statement of Gandalf, or of Vicki Robinson.
"Hello, this is Linus Torvalds, and I pronounce Linux as Linux"

 
 
 

Broadcast ping doesn't work?

Post by Damien P. Ne » Tue, 26 Apr 1994 06:47:58




>How come I can't ping a broadcast address in Linux?  If I try, I get:

If you try it as root, it will probably work.

It most definitely should be disabled for normal users. Pinging the
broadcast address is an excellent way of bringing down a large network.
Some clueless person on my campus's network did exactly that from a
Linux box. I had the opportunity to see some logs of what resulted.
The clamor produced by upwards of a thousand machines suddenly attempting
to reply at the same time was quite interesting... The network services
people were NOT amused.

         - Damien

 
 
 

Broadcast ping doesn't work?

Post by Paul Tombl » Tue, 26 Apr 1994 23:16:53





>>How come I can't ping a broadcast address in Linux?  If I try, I get:
>If you try it as root, it will probably work.

BZZZTTT!!! Wrong!


Password:

To err is human, to forgive is Not Company Policy.

vector:~# ping 134.22.81.255
PING 134.22.81.255 (134.22.81.255): 56 data bytes
ping: sendto: Permission denied
ping: wrote 134.22.81.255 64 chars, ret=-1
ping: sendto: Permission denied
ping: wrote 134.22.81.255 64 chars, ret=-1

--- 134.22.81.255 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

On a sun, as myself:
ptomblin:~> /usr/etc/ping -s 134.22.81.255
PING 134.22.81.255: 56 data bytes
64 bytes from dumbo.gandalf.ca (134.22.80.181): icmp_seq=0. time=5. ms
64 bytes from pluto.gandalf.ca (134.22.80.217): icmp_seq=0. time=135. ms
64 bytes from bubba.gandalf.ca (134.22.80.195): icmp_seq=0. time=172. ms
[etc]
----134.22.81.255 PING Statistics----
2 packets transmitted, 36 packets received, -1700% packet loss
round-trip (ms)  min/avg/max = 3/192/516

This is dead wrong - root should be able to broadcast ping.

--
Paul Tomblin, Head - Automation Design Group.
Gandalf Canada Limited
This is not an official statement of Gandalf, or of Vicki Robinson.
"Hello, this is Linus Torvalds, and I pronounce Linux as Linux"

 
 
 

Broadcast ping doesn't work?

Post by Torsten Gru » Wed, 27 Apr 1994 20:13:07


: How come I can't ping a broadcast address in Linux?  If I try, I get:


: PING 134.22.81.255 (134.22.81.255): 56 data bytes
: ping: sendto: Permission denied
: ping: wrote 134.22.81.255 64 chars, ret=-1
: ping: sendto: Permission denied
: ping: wrote 134.22.81.255 64 chars, ret=-1
: ping: sendto: Permission denied
: ping: wrote 134.22.81.255 64 chars, ret=-1

Hi Paul,

        no, it's *not* supposed to work. But we wrote a `pong' here,
which does exactly the thing that you want. Email me, if you like to
have a copy...

Regards,
        Teggy

--


   \    PHONE: +49-05323-4669
  -     SNAIL: Osteroeder Str. 6b,  38678 Clausthal-Zellerfeld, Germany

 
 
 

1. broadcast ping doesn't work

Hello,

can anybody explain the following behaviour and tell me what to do to
make broadcasts running? I am using the latest slackware release, kernel
1.2.11.

pc1:~# ping 132.195.255.255
PING 132.195.255.255 (132.195.255.255): 56 data bytes
ping: sendto: Permission denied
ping: wrote 132.195.255.255 64 chars, ret=-1

thanks

E.Grah

2. ???-problems

3. ping -g 'gateway-IP' 'host-IP' DOESN'T work!

4. Help! I can't login, because TTY

5. PING: Linux doesn't respond to ARP broadcast

6. more RAID5 questions

7. On a Linux router, ftp& telnet works but ping doesn't work .

8. PPP problem: even after I did everything by the book

9. Re. bffcreate -X doesn't work Re: bffcreate -X Doesn't Work

10. nslookup works, ping #'s works, ping domain fails?

11. 'ping' sees route but 'telnet' doesn't??

12. Ping doesn't work but httpd does

13. nslookup works, ping doesn't