Popular recipes tagged "sniff"http://code.activestate.com/recipes/tags/sniff/2011-09-13T06:56:36-07:00ActiveState Code RecipesPacket monitoring with pcap and dpkt (Python) 2011-09-13T06:56:36-07:00Victor Yanghttp://code.activestate.com/recipes/users/627255/http://code.activestate.com/recipes/576678-packet-monitoring-with-pcap-and-dpkt/ <p style="color: grey"> Python recipe 576678 by <a href="/recipes/users/627255/">Victor Yang</a> (<a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/sniff/">sniff</a>). Revision 3. </p> <p>This recipe shows how to use pypcap and dpkt to monitor network traffic and grep with regular expression. Python 2.3 up required pypcap: <a href="http://code.google.com/p/pypcap/" rel="nofollow">http://code.google.com/p/pypcap/</a> dpkt: <a href="http://code.google.com/p/dpkt/" rel="nofollow">http://code.google.com/p/dpkt/</a> </p>