It seems that the filter
of sniff
function does not work properly.
I m executing the sniff with the following filter
a=sniff(co
the sniff function need tcpdump to apply "filter". If there is no tcpdump, scapy reports a warning but doesn't throw. You can enable logging to check it.
import logging
import sys
logging.getLogger("scapy").setLevel(1)
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
from scapy.all import *