On Fri, Jan 28, 2011 at 11:19 AM, wrote:
> Nico Kadel-Garcia wrote:
>
>> Yup. That's why it's common to drop at external firewalls and blocked
>> by NAT from reaching inside your network, to protect less thoroughly
>> protected and critical hosts from distributed denial of service (DDOS)
>> such
Nico Kadel-Garcia wrote:
> Yup. That's why it's common to drop at external firewalls and blocked
> by NAT from reaching inside your network, to protect less thoroughly
> protected and critical hosts from distributed denial of service (DDOS)
> such as the now classic "ping flood" attack. There is
On Fri, Jan 28, 2011 at 7:19 AM, John R Pierce wrote:
> On 01/28/11 3:28 AM, kellyremo wrote:
>> bix.hu and www.yahoo.com are "pingable" test sites.
>> 127.0.0.1 could not be pinged [firewall drops all icmp]
>
>
> what sort of firewall drops packets on localhost ?!?
>
> yahoo.com is probably a poo
On 01/28/11 3:28 AM, kellyremo wrote:
> bix.hu and www.yahoo.com are "pingable" test sites.
> 127.0.0.1 could not be pinged [firewall drops all icmp]
what sort of firewall drops packets on localhost ?!?
yahoo.com is probably a poor choice of targets, as its a widely
distributed group of servers
Le ven 28 jan 2011 03:28:22 CET, kellyremo a écrit:
> [ ... ]
> $ while $TORF; do ping -W 1 -c 1 bix.hu >& /dev/null && ping
> -W 1 -c 1 www.yahoo.com >& /dev/null && TORF=false ||
> TORF=true; done
> $
>
> It just doesn't work.
>
> Goal: if theres no internet connection, then the oneliner m
http://pastebin.com/raw.php?i=rykHdvBh
bix.hu and www.yahoo.com are "pingable" test sites.
127.0.0.1 could not be pinged [firewall drops all icmp]
i have a "oneliner" that echoes if theres "internet connection or no".
$ ping -W 1 -c 2 bix.hu >& /dev/null && ping -W 1 -c 2
www.yahoo.com >& /dev/n
Jozsef Vadkan wrote:
> Why doesn't my "internet-connection" script work?
>
> When I plug the ethcable out, it just waits...and waits...and waits...
>
> The script: http://pastebin.com/AE9U1qdL
DNS lookups take a long time to time out and fail. You could try a ping to
your
default gateway's IP
On 27 March 2010 12:56, Alexander Dalloz
> wrote:
> Am 27.03.2010 13:48, schrieb James Bensley:
>
> > Would help if I actually put the link in maybe? Doh!
> >
> > http://pastebin.com/raw.php?i=QRYHjDpQ
>
> Why `ping -c $PCount $hosts | grep "64 bytes" | wc | awk {'print $1'}'
> when `ping -c $PCo
Am 27.03.2010 13:48, schrieb James Bensley:
> Would help if I actually put the link in maybe? Doh!
>
> http://pastebin.com/raw.php?i=QRYHjDpQ
Why `ping -c $PCount $hosts | grep "64 bytes" | wc | awk {'print $1'}'
when `ping -c $PCount $hosts | grep -c "64 bytes"' is sufficient?
Alexander
_
On 27 March 2010 12:47, James Bensley wrote:
> On 27 March 2010 12:07, Jozsef Vadkan wrote:
>
>> Why doesn't my "internet-connection" script work?
>>
>> When I plug the ethcable out, it just waits...and waits...and waits...
>>
>> The script: http://pastebin.com/AE9U1qdL
>>
>
> This is a ping scr
On 27 March 2010 12:07, Jozsef Vadkan wrote:
> Why doesn't my "internet-connection" script work?
>
> When I plug the ethcable out, it just waits...and waits...and waits...
>
> The script: http://pastebin.com/AE9U1qdL
>
This is a ping script I use to check my boxes are all up an running each
morn
Hi Jozsef,
On Sat, Mar 27, 2010 at 12:07 PM, Jozsef Vadkan wrote:
> Why doesn't my "internet-connection" script work?
I suggest you double-check the Advanced Bash Scripting Guide.
You posted this to a couple of sites.
In your if statements, you must do if `statement`; then foo; fi
Don't forget t
Why doesn't my "internet-connection" script work?
When I plug the ethcable out, it just waits...and waits...and waits...
The script: http://pastebin.com/AE9U1qdL
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
13 matches
Mail list logo