Results 1 to 4 of 4

Thread: ping status

  1. #1

    ping status

    hi friends,
    i will u pls tell me "how to disable the ping response of a perticular machine".

  2. #2
    Advisor Lovechild's Avatar
    Join Date
    Apr 2005
    Location
    Århus, Denmark
    Posts
    579
    to disable
    echo 1>/proc/sys/net/ipv4/icmp_echo_ignore_all
    to enable
    echo 0>/proc/sys/net/ipv4/icmp_echo_ignore_all

    Or you can set

    net.ipv4.conf.icmp_echo_ignore_all = 1
    in /etc/sysclt.conf
    Why are you not using Fedora Core?

    My blog

  3. #3

    still problem

    Quote Originally Posted by Lovechild View Post
    to disable
    echo 1>/proc/sys/net/ipv4/icmp_echo_ignore_all
    to enable
    echo 0>/proc/sys/net/ipv4/icmp_echo_ignore_all

    Or you can set

    net.ipv4.conf.icmp_echo_ignore_all = 1
    in /etc/sysclt.conf
    reply-when i set the changes in sysctl.conf,then i type a command"sysctl -p",
    then it replies that 'net.ipv4.conf.icmp_echo_ignore_all' is an unknown key.
    is it a right entry ?

  4. #4
    Advisor Lovechild's Avatar
    Join Date
    Apr 2005
    Location
    Århus, Denmark
    Posts
    579
    according to sysctl:
    net.ipv4.icmp_echo_ignore_all = 0

    You can do sysctl -a to list all values, that should get you the right name (there might just have been some mistyping on my part.. I'm only human)

    I'd recommend using /etc/sysctl.conf since that makes the change permanent even on boot.
    Why are you not using Fedora Core?

    My blog

Similar Threads

  1. Simple question about command syntax ping/log ping results
    By ohalnet in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-26-2006, 05:12 PM
  2. IRC status 06-13-02
    By Spot in forum Announcements and Suggestions
    Replies: 4
    Last Post: 07-07-2002, 09:25 AM
  3. GLO status
    By JimH in forum Announcements and Suggestions
    Replies: 5
    Last Post: 06-22-2002, 10:50 PM
  4. irc status 5-31-02
    By Spot in forum Announcements and Suggestions
    Replies: 5
    Last Post: 06-07-2002, 02:58 PM
  5. irc status
    By Spot in forum General Chat
    Replies: 2
    Last Post: 04-29-2002, 12:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •