This sample script provides only minor functionality. It filters out all
non-IP and non-TCP packets. For TCP packets, only few fields from the packet
headers and the packet contents (both hex and ascii dump) are writen to the
file sniffer.dump in the current directory. Device is switched to the
promisuous mode at sniffer startup and switched out at the sniffer shutdown.