Packet Construction and Protocol Testing...
Clément Lecigne
clemun at gmail.com
Fri Jul 21 17:42:28 UTC 2006
Hey,
Charles Swiger wrote:
> On Jul 20, 2006, at 10:10 PM, gnn at freebsd.org wrote:
>>> [1]: If I could only get net/py-pcap to build, I might be able to do
>>> a little
>>> more... :-)
>>
>> You only need net/py-pypcap, but if that's what you meant please let
>> me know what the build problem is.
> (...)
>
> 44-pi# grep -l pcap_inject /usr/lib/libpcap*
> 45-pi# nm -g /usr/local/lib/python2.4/site-packages/pcap.so | grep
> pcap_inject
> U pcap_inject
Have you disable bpf support ? Which version of libpcap do you use ?
The problem seems due to your libpcap library which doesn't have the
pcap_inject() API.
Personally, I've just tried the py-pypcap port from George and it works
well. i.e, I was able to inject packets...
Best regards,
- Clem
More information about the freebsd-net
mailing list