What's the best way to sniff packets with the source or destination being a specific domain (for example "www.facebook.com").
And why won't this filter work?
def filter_facebook(packet):
return DNS in packet and "www.facebook.com" in packet
I'm new to Scapy so please don't kill me.