Bugtraq mailing list archives

Re: TCPwrappers race condition


From: john () KUWAIT NET (John W. Temples)
Date: Fri, 3 Oct 1997 23:06:50 +0300


On Fri, 3 Oct 1997, Wietse Venema wrote:
Although the time window can be made *smaller* by using results
from accept() instead of getpeername(), the time window can be
eliminated only by changing the kernel so that it does not destroy
the protocol control block when the connection is reset by the
peer.

If accept() does return without an error, why would you not have
the address? Thus where is the time window?

--
Thamer Al-Herbish
shadows () whitefang com



Current thread: