-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to compile filter expression ip proto UDP and [...] #1
Comments
Thanks for bringing this up, it seems like something changed in a recent scapy update. I developed DIT on Ubuntu 20.04 LTS using Python 3.8.5 and scapy 2.4.4. I used the widely deployed Berkeley Paket Filter (BPF) syntax to write the filter, but it seems like the sniff function won't accept it anymore. I have not tested this on my dev setup, but i don't think that this is an OS, but rather a scapy problem. If i find time to test and evaluate scapy 2.4.5 on with my dev Setup, i will update the proxy module to work with scapy 2.4.5. So far you should do fine with your fix. |
I've tried with scapy 2.4.4. and I have the same problem. So I'm suspecting perhaps a container problem. I have the same error with tcpdump with bpf filter
I'm guessing |
Hi
I have some scapy.error.scapy_Exception on scapy sniff filters beginning with the expression
"ip proto UDP and ..."
If I replace the expression
"ip proto UDP"
by"udp"
, the filter is working. Which version of python and scapy are you using ?I'm testing in docker containers with "alpine:latest" image which provides : python 3.8 and scapy 2.4.5
The text was updated successfully, but these errors were encountered: