I'm a newbie to python and for my first project i'm trying to create a packet filter. Having looked around i think pcapy will be the best way, there is a sniffer script available that incorporates a filter function here .. http://oss.coresecurity.com/impacket/sniff.py
I want to filter all SYN packets into a dump file, can anyone tell me how I need to configure the filter string to do this?
Thanks