Added a generic sniffer implementation.