pcapy
pcapy copied to clipboard
Pcapy is a Python extension module that interfaces with the libpcap packet capture library.
These lines: https://github.com/helpsystems/pcapy/blob/0c582095b35a2849dfbffba11cf530a7ea875a86/setup.py#L48-L49 are causing `AttributeError: module 'distutils.sysconfig' has no attribute '_init_posix'`. Unfortunately, it's not enough to change it to just import sysconfig because then it produces: ``` File "/usr/lib/python3.11/site-packages/setuptools/command/build_ext.py",...
Error on the latest `distutils` ``` Collecting pcapy Using cached pcapy-0.11.4.tar.gz (37 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit...
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...
Because of ignored problems with `DeprecationWarning` for `PY_SSIZE_T_CLEAN` (#67, #68), Pcapy doesn't work anymore on Python3.10 (Note: read https://docs.python.org/3.10/whatsnew/3.10.html#id2)
After cloning the repo and running `python setup.py install`, I get this error ``` dist.py:474: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0' normalized_version, running install running bdist_egg running egg_info creating pcapy.egg-info writing...
Error: ... pcapy.cc(270): error C2375: 'PyInit_pcapy' : redefinition; different linkage pcapy.h(24): see declaration of 'PyInit_pcapy' ...
Hi, I've noticed, that pcapy 0.11.5 was released several weeks ago, but new version still missing from PyPI. It's a little inconvenient, since version 0.11.4 has a memory leak: https://github.com/helpsystems/pcapy/commit/20a533f014344f25bc859fef016f2766af008fdc,...
Hi, im trying to capture packets and im using open_live(timeout 0) with dispatch instead of next, and I dont know why but its sniffing only a few packets and then...
I added a function to support pcap_open_offline_with_tstamp_precision(). Do you want me to submit a pull request?