Results 1 to 6 of 6
Hello,
I am trying to do some pings on several servers of mine and want them to be done as fast as possible, since my script should later run as ...
- 05-19-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 3
ping flood? turn off auto-lock?
Hello,
I am trying to do some pings on several servers of mine and want them to be done as fast as possible, since my script should later run as kinda daemon. Now I am facing that problem, when I use ping -f [ips] then I get that result:
Now I wonder where I can turn of that lock that would not allow me to send more than one ping in 200ms (I got root access)?ping: cannot flood; minimal interval, allowed for user, is 200ms
- 05-19-2007 #2
Why do you need to run icmp echo attack on your own servers?
- 05-19-2007 #3Just Joined!
- Join Date
- May 2007
- Posts
- 3
In fact it´s not meant as an attack... I do own quite a lot hosting packages and probably a dozen servers and I am currently in the process of setting up my own monitoring system at one of my dedicated servers.. that´s about why I need it (while it´s only one thing out of several queries I do)... so basically none of the hosting packages would be pinged attack-alike... so is there a way to turn of that limitation on my server that does the monitoring?
- 05-19-2007 #4
For server monitoring there is a robust tool (which can be configured to only ping if that's all you need) you should check out: Nagios: Home
Before you try to compile it from source, see if your distro has a package available for you to install.
- 05-19-2007 #5
If you have sudo installed add this to your sudoer's file:
and in /etc/bash/bashrc:Code:%users ALL=(ALL) NOPASSWD:/bin/ping
Then source /etc/bash/bashrc. Now pf <host> should flood it.Code:alias pf='sudo ping -f'
That's just how I'd do it.
- 05-19-2007 #6Just Joined!
- Join Date
- May 2007
- Posts
- 3
that sudo stuff doesn´t work for me it seems (no bash folder and stuff)... as for good monitoring software: I know there are some good solutions on the market, but call it a spleen, but I really like running my own - so to say - personalised software

So there is no file where I simply could turn that off like something like that
min_time_per_ping = 200
making to
min_tim_per_ping = 10
?


Reply With Quote