Subject: Re: kern/35196: sockets should die if addresses vanish
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/08/2006 10:15:04
The following reply was made to PR kern/35196; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna.com.au>
Cc: "Perry E. Metzger" <perry@piermont.com>, gnats-bugs@NetBSD.org,
	kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, Manuel Bouyer <bouyer@antioche.eu.org>
Subject: Re: kern/35196: sockets should die if addresses vanish
Date: Fri, 8 Dec 2006 11:12:09 +0100

 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