Symptom
Consider the following scenario:
-
You have a custom networking application installed on your server.
-
The application captures lots of traffic on the wire.
-
The server may be using a DHCP-assigned IP address.
In this scenario, a large volume of disk I/O may be generated when writes are made to the C:\Windows\System32\wfp\wfpdiag.etl log.
Cause
This behavior is by design. When the Port Scanning Prevention Filter is triggered, this typically means that there is no process listening on the port. (For security reasons, WFP blocks process listening.) When a connection is tried on a port where there is no listener, WFP recognizes the packet as if it were coming from a port scanner and therefore silently drops the connection.
If there had been a listener, and the communication was instead blocked because of either malformed packets or authentication, the dropped event would be listed as “DROP” (not silent), and WFP logging would indicate a different filter ID and name.
This filter is built in to the Windows Firewall and Advanced Security (WFAS). It is included in Windows Vista, Windows Server 2008, and later versions of Windows.
Workaround
To work around this issue, disable WFP logging in the registry:
-
Start Registry Editor.
-
Locate the following registry subkey:
-
Right-click the subkey, click New, and then create a DWORD (32-bit) registry value.
-
Type CollectNetEvents as the registry value name.
-
Leave the value data as 0.
-
Restart the server.
Note By disabling WFP logging, this only stops the logging of WFP activity in wfpdiag.etl. The Port Scanning Prevention Filter continues to work normally.
More Information
For more information, see Stealth mode in Windows Firewall with Advanced Security.