Subject: Kill socket for certain routes
To: None <tech-net@NetBSD.org>
From: Martin Husemann <email@example.com>
Date: 12/08/2006 11:18:35
PR kern/35196 discusses an issue with connected TCP sockets where the local
address becomes "permantently" invalid - i.e. a ppp interface that
disconnects and on reconnect gets a new address.
(a) add a timeout to drop such connections after a reasonable time if
the local address they are bound to does not become valid again?
(b) add a manual way to kill such sockets, for example by an extension
of the route(8) command?
Is there some easy way to stop the kernel automatically from sending packets
with a "currently" not valid local address? Either by just dropping the packets
or leaving them queueed?