Created attachment 206313 [details]
poudriere jail build/install capture
I was surprised to find that py-pcap does not work with python 3. For example in a poudriere jail running 11.2-RELEASE-p10 if I build and install py36-pcap, attempting to import it results in a stack trace ending with:
ModuleNotFoundError: No module named '_pcap'
This seems to be related to swig and might well be an upstream problem.
I'll attach a log that shows my test.
Yes I saw it too the other day. Maybe we should move forward to net/py-pycap. Scapy works with it. Actually supports py-pcapy too. I am just trying to find which one works better. Seems like py-pycap is well maintained. Any advices?