TCP/IP Device Driver Does Not Remember Share Flags
Article ID: 187425
Article Last Modified on 11/1/2006
APPLIES TO
- Microsoft Windows NT Server 4.0, Terminal Server Edition
- Microsoft Windows NT Server 4.0 Standard Edition
This article was previously published under Q187425
SYMPTOMS
TCP/IP device driver does not remember share flags of previous opened
endpoints. Even if the previous endpoint is opened exclusively, another
application can open the same endpoint with share flags and capture all
network traffic.
CAUSE
When a port is opened for listening and share flags are specified, the
driver grants access, even if the previous port was opened with exclusive
rights (with share flags set to zero). The driver does not remember the
shared flags of the previous call, and only checks the flags of the new
one. The problem is in TCP/IP, and is applicable to all versions of Windows
NT.
STATUS
Microsoft has confirmed this to be a bug in Windows NT Server 4.0,
Terminal Server Edition.
Keywords: kbbug kbpending KB187425