I'm using the windows platform tools named "netsh" to do the packet capture.
But I can't filter a specified port even when I REALLY do the correct configurations.
I using the following command to start a packet capture task:
netsh trace start capture=yes overwrite=yes correlation=no traceFile=file.dump CaptureInterface=Ethernet0 IPv4.Address=10.130.161.1 protocol=TCP providerFilter=yes provider=Microsoft-Windows-TCPIP TCP.AnyPort=443
As you can see, I set the TCP.AnyPort=443 to specify the port. I used this conf from the command inline help by running the command:
netsh trace show providerFilterHelp Microsoft-Windows-TCPIP
So I don't know why this can't be working.