Monitoring network flow in Win32?

Gerhard Häring gerhard.haering at opus-gmbh.net
Thu Dec 5 06:39:44 EST 2002


Luke Lee <luke at digirose.com> wrote:

> Hi, there!
> 
> Would like to make a benchmark environment for our product...
> Anyone have idea how I can tract packets count or network flow using python?

>From http://dmoz.org/Computers/Programming/Languages/Python/Modules/Network/,
these look light they might be useful for your purpose:

Pylibpcap - A Python module for the libpcap packet capture library. You can use
it to write a custom packet sniffer. [Open Source, BSD-like]

python network library - Dissects network packets, as returned from pylibpcap.
[Open Source, GPL]

pylibnet - Interface for the libnet packet assembly system. [Open Source, GPL]

At least for libpcap there is a Windows port. I know because the win32 flavour
of Ethereal (a GUI packet sniffer) that I use from time to time depends on it.

HTH,
-- 
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/



More information about the Python-list mailing list