pypcap
pypcap copied to clipboard
pypcap - python libpcap module, forked from code.google.com/p/pypcap
I'm wondering if there's a workaround to interrupt pypcap process with `KeyboardInterrupt` if it received zero packets (e.g. with some filter set). Currently the only option seems to be `kill`....
Hi when i install pcap on centos 4u3, i find this error: Python 2.7.3 (default, Jan 8 2013, 14:35:04) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 Type "help", "copyright",...
There's a couple new fixes that would be nice to put up on PyPi. Lets a new PyPI release with a wheel for OSX.
As mentioned in https://github.com/pynetwork/pypcap/pull/47/files#r116732735 we can probably replace all of `pcap_ex.c` with code inside of `pcap.pyx`.
Currently when libpcap-dev is missing we don't provide any error message. We should instead probably tell the user that the problem is the missing libpcap-dev headers and give them instructions...
Are there any examples about filter vxlan packet by inner layer ether and ip?
fd returned by fileno() can't be used by select() or poll(), please refer http://www.tcpdump.org/manpages/pcap_get_selectable_fd.3pcap.html will pypcap add a new method to return fd by pcap_get_selectable_fd
I got this error while installing pypcap using pip and pip3 both . ``` pip3 install pypcap Defaulting to user installation because normal site-packages is not writeable Collecting pypcap Downloading...
Provisionally invoke `ctypes.util.find_library()` to find `libpcap` files. For Mac OS >= `11` and Python >= `3.8`, this change detects and returns the cached `libpcap.dylib` entry (cf., an actual file). It...
I need to install pypcap with Python 2 on Mac. **It failed when I use source install: python2 setup.py install** pcap_ex.c:292:10: warning: 'pcap_compile_nopcap' is deprecated: use pcap_open_dead(), pcap_compile() and pcap_close()...