Subject: Re: kern/35196: sockets should die if addresses vanish
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-bugs
Date: 12/07/2006 22:33:02
Manuel Bouyer <bouyer@antioche.eu.org> writes:
> On Thu, Dec 07, 2006 at 04:40:24PM -0500, Perry E. Metzger wrote:
>> > spoofed, then yes it's an acceptable solution.
>>
>> That is one problem. The bigger problem is processes that don't know
>> that they should be doing something to re-open a socket because their
>> original connection is no longer actually real.
>
> Sure but I'm not sure this would be fixed by closing connections.
There we will have to disagree. I don't think it is reasonable to
leave around "connections to nowhere". If you know that a connection
can't be of any further use and that the packets it could send will
never get anywhere and can't be replied to, I think there is something
wrong with leaving things be.
.pm