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 !

有帮助吗?

解决方案

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

sniff(filter="ip and proto 136")
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top