pcappy icon indicating copy to clipboard operation
pcappy copied to clipboard

A pure Python libpcap wrapper!

Results 5 pcappy issues
Sort by recently updated
recently updated
newest added

On Windows there are no inet_ntop and inet_pton functions available. There is a package win_inet_pton which monkey patches this.

The snippet doesnt work as the last parameter of sa.sa.sa_len is not available on windows else: return self.UnknownAddress( family=sa.sa.sa_family, data=string_at(sa.sa.sa_data, sa.sa.sa_len) )

``` Traceback (most recent call last): File "go.py", line 167, in quit(str(pcap.findalldevs())) File "/pcappy/__init__.py", line 112, in findalldevs return _findalldevs(devs) File "/pcappy/__init__.py", line 97, in _findalldevs devices.append(PcapPyInterface(top)) File "/pcappy/__init__.py", line...

Hi, Very nice library, works well if installed with `easy_install`. But it was not straightforward to install with `pip`. I got the following error: ``` $ pip install pcappy Downloading/unpacking...

You might not want to merge this as the original code is prettier, but I needed this patch to make it work on some older machines that only have python...