On 01/09/2015 03:11 PM, John Andersen wrote:
But why burden the dhcp server with a useless request, especially when taking that action might actually GET a new IP which would require teardown and reestablishment of any existing open sockets to remote targets.
That shouldn't happen, as the client will request the same address and the server is supposed to grant it if available. As long as the request is made within the lease time, it must not be assigned to someone else.
Further not all ISPs honour users requests as to lease times. Especially those short of IP addresses.
That's why I said "if the DHCP requests are sufficient".
You can start a ping at boot time with an INTERVAL of N seconds where n is calculated to be just shorter than the drop time, and all you impact is a tiny task in your machine and some tcp stack time on the ping target, and no disruption of open (but quiescent) sockets.
There are a number of ways of pinging at interval. I don't know what the allowable range is for ping -i <interval>.
Alternatively, open imap connection to a server supporting idled is usually sufficient unless the drop time is less than socket time-out, which is usually somewhere around 18 minutes.
That's getting back to what he mentioned with fetchmail for a keep alive. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org