Subject: Re: kern/35196: sockets should die if addresses vanish
To: matthew green <mrg@eterna.com.au>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/08/2006 11:12:09
On Fri, Dec 08, 2006 at 03:22:47PM +1100, matthew green wrote:
> i think this would best be solved by adding a ifconfig command to
> destroy sockets attached to an interface.  i do not recommend this
> name, but eg "ifconfig foo0 killconn".

I agree with the idea, but am not sure if "ifconfig" is the right place
to add this functionality.

Could it be added to route(1) instead? It could probably be generalized then,
like "kill all open connections using this route", and optionaly specify
a route via an interface, meaning "all routes pointing to this interface".

Anyway, a PR is not the right forum to discuss new ideas, let's please move
this to tech-kern.

Martin