In UNIX (specifically FreeBSD, if it matters), is there a way to *randomize* the interval and/or size and/or destination of pings?
(For example, "at intervals ranging from 500 to 3000 ms, send somewhere between 50 and 200 bytes to any one of these twenty machines: x, x, x...")
If not, is there a utility for Mac OS (10.4, Intel) that's configurable like this?
Here's the
man page for ping, which shows you can set a single value for interval and size, but not a range of values.
This is one idea I had for a network connection that is occasionally disconnecting and/or timing out (sometimes possibly due to inactivity, sometimes right in the middle of activity -- it's a little fragile/fiddly to begin with, so there could be multiple reasons).
I do know it's not consistently being kept alive with the old "just keep pinging to maintain activity" trick. So one theory I've come up with is that the ISP, knowing this trick, considers perfectly regular same-size activity to mean "this connection isn't actually active after all and so we should force a disconnect." Might be crazy, but if it's easy to test somehow, it's worth testing....
If you have any instructions, you're talking to someone with only functional/basic UNIX skills (who can get around in a shell when she needs to but usually lives in the Mac GUI).
posted by spaceman_spiff at 11:21 AM on October 11, 2007