24
3
Today minecraft was down at exactly the moment when I wanted to take a break from studying for my finals. A harrowing experience! So I thought I would procrastinate a bit by writing a script that would ping minecraft.net every minute, and launch minecraft for me as soon as things were back to normal. As a proof of concept I ran ping -i 60 -f www.minecraft.net
for a while and observed the output. That command sends a ping every 60 seconds (-f is the 'flood ping' option on my system).
Then it occurred to me: is this OK? I grepped about the man pages, and googled around the interweb, but aside from one illustrated book for children I could find no good advice for how to ping politely.
So I put it to you, gentle super users: what are some general guidelines for using ping politely? Is there a permissible interval for using ping -f
?
27There was a childrens book on pinging? – cutrightjm – 2012-12-02T00:47:26.027
Sounds like the kind of thing that should be made readily available. – WindowsEscapist – 2012-12-02T00:54:22.587
ping -f?
-f
! I am not sure which client you use, but on many operating systems that is flood ping. And flood ping is never acceptable. – Hennes – 2012-12-02T00:58:15.4331@Hennes In Windows,
-f
is the parameter for "Set Don't Fragment flag in packet (IPv4-only)". – That Brazilian Guy – 2012-12-02T01:10:31.987@Hennes never? Never ever? Not ever? Why? (I guess I should have specified that I was wondering about more than just the rules of politesse but also their justification). – Ziggy – 2012-12-02T01:13:10.660
1I doubt that pinging more than once a second is useful as the ping time is unlikely to change so fast that wouldn't notice it at least over the internet while ping flooding does have some use on local networks where it can be used to measure delay in cables where the variance is magnitudes smaller. – Dan D. – 2012-12-02T01:27:07.980
I checked a Linux, FreeBSD and win 7. I somehow missed the option when checking the windows help. Linux and FreeBSD still have -f as flood ping. Aka 'bring the network down' mode. Modern hardware seems more resilient to this, but flood ping to someone server not on your own local LAN quite conflicted with 'politely'. – Hennes – 2012-12-02T01:30:49.703
One ping per minute can hardly be considered flooding by any sane metric. The -f flag probably does something else as commented above. – Thomas – 2012-12-02T07:51:20.520
13
@ekaj - A Story About Ping - Read the first Customer Review
– Ex Umbris – 2012-12-02T07:51:21.3003@ExUmbris you get the bonus points! – Ziggy – 2012-12-02T18:17:58.073