Question

I want to sniff UDP Lite traffic using sniff() function in scapy, but udplite is not supported by scapy so we can't execute :sniff(filter="udplite") So I want to write a filter in scapy to specify that the protocol is IP and the field "proto" in IP Header is 136 (which matches UDP Lite).

Is such filter possible in scapy, and in this case, how can I write it? Thanks !

Was it helpful?

Solution

For those who may have the same problem, I have found the answer

sniff(filter="ip and proto 136")
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top