Open MundhadHarsh opened 1 year ago
I want to capture packets from particular IP using pydivert but I keep getting the same error OSError: [WinError 87] The parameter is incorrect. I have tried using different filters in the function with pydivert.WinDivert(filter) as w: :
OSError: [WinError 87] The parameter is incorrect.
with pydivert.WinDivert(filter) as w:
filter = 'ipv6 == X.X.X.X ' filter = 'ip.DstAddr==X.X.X.X '
This filter works fine:
filter= 'tcp.DstPort == 443 && tcp.PayloadLength > 0'
what could be the correct filter please suggest.
https://www.reqrypt.org/windivert-doc.html#filter_language
you're looking for remoteAddr
remoteAddr
I want to capture packets from particular IP using pydivert but I keep getting the same error
OSError: [WinError 87] The parameter is incorrect.
I have tried using different filters in the functionwith pydivert.WinDivert(filter) as w:
:This filter works fine:
what could be the correct filter please suggest.