Вопрос

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