Networking Forums

Networking Forums > Computer Networking > Linux Networking > Stop Ping??

Reply
 
 
Robb
Guest
Posts: n/a

 
      11-13-2003, 09:58 PM
Hi all,

I am using RH7.3 and I put the following line in the file /etc/rc.d/init.d/iptables

echo "1" > /proc/sys/net/ipv4/ icmp_echo_ignore_broadcasts

but, still some one can ping my machine and gets the reply(my friends can confirm it from their machines).


I changed the line to

echo 1 > /proc/sys/net/ipv4/ icmp_echo_ignore_broadcasts

the result is the same.

I did something wrong?(different file or different file folder????)

Your kind help(hint or info or any idea) will be appreciated greatly

Robb

 
Reply With Quote
 
 
 
 
Cyfisto
Guest
Posts: n/a

 
      11-13-2003, 10:02 PM

"Robb" <(E-Mail Removed)> schreef in bericht
news:38Tsb.816$(E-Mail Removed) .com...
> Hi all,
>
> I am using RH7.3 and I put the following line in the file

/etc/rc.d/init.d/iptables
>
> echo "1" > /proc/sys/net/ipv4/ icmp_echo_ignore_broadcasts
>
> but, still some one can ping my machine and gets the reply(my friends can

confirm it from their machines).
>
>
> I changed the line to
>
> echo 1 > /proc/sys/net/ipv4/ icmp_echo_ignore_broadcasts
>
> the result is the same.
>
> I did something wrong?(different file or different file folder????)
>
> Your kind help(hint or info or any idea) will be appreciated greatly
>
> Robb
>


A ping to one specific machine is not a broadcast,
that´s why your machine still replies.
Try echo 1 > /proc/sys/net/ipv4/ icmp_echo_ignore_all


 
Reply With Quote
 
alt
Guest
Posts: n/a

 
      11-13-2003, 10:17 PM
Robb wrote:

> Hi all,
>
> I am using RH7.3 and I put the following line in the file
> /etc/rc.d/init.d/iptables
>
> echo "1" > /proc/sys/net/ipv4/ icmp_echo_ignore_broadcasts
>
> but, still some one can ping my machine and gets the reply(my friends can
> confirm it from their machines).
>
>
> I changed the line to
>
> echo 1 > /proc/sys/net/ipv4/ icmp_echo_ignore_broadcasts
>
> the result is the same.
>
> I did something wrong?(different file or different file folder????)
>
> Your kind help(hint or info or any idea) will be appreciated greatly
>
> Robb


That option is to stop your machine from responding to this sort of thing:

PING 192.168.15.255 (192.168.15.255) 56(84) bytes of data.
64 bytes from 192.168.15.130: icmp_seq=1 ttl=64 time=0.120 ms
64 bytes from 192.168.15.254: icmp_seq=1 ttl=128 time=1.94 ms (DUP!)
64 bytes from 192.168.15.129: icmp_seq=1 ttl=255 time=2.05 ms (DUP!)
64 bytes from 192.168.15.130: icmp_seq=2 ttl=64 time=0.055 ms
64 bytes from 192.168.15.254: icmp_seq=2 ttl=128 time=1.04 ms (DUP!)
64 bytes from 192.168.15.129: icmp_seq=2 ttl=255 time=1.65 ms (DUP!)
64 bytes from 192.168.15.130: icmp_seq=3 ttl=64 time=0.055 ms
64 bytes from 192.168.15.254: icmp_seq=3 ttl=128 time=1.00 ms (DUP!)
64 bytes from 192.168.15.129: icmp_seq=3 ttl=255 time=1.61 ms (DUP!)



--
Donovan Hill
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When Client Ping DC not respond,but when DC ping clients they resp ahmad Windows Networking 3 07-17-2007 08:44 PM
Ping 224.0.0.2 ping: sendmsg: Operation not permitted interessato@gmail.com Linux Networking 4 01-24-2006 03:47 AM
Ping from cron not having same effect as ping from console Dean Schulze Linux Networking 2 02-24-2004 09:10 PM
Some services working but can't ping (not ping-able) Micah Elliott Linux Networking 1 12-05-2003 10:47 AM
Windows ping and Linux ping command? tom Linux Networking 5 11-10-2003 09:52 PM



1 2 3 4 5 6 7 8 9 10 11