Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2006 19:43:30 +0200
From:      =?ISO-8859-1?Q?Cl=E9ment_Lecigne?= <clemun@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: Packet Construction and Protocol Testing...
Message-ID:  <44C11242.9090300@gmail.com>
In-Reply-To: <3724C08A-4ADD-4294-8953-A4ADA2326577@mac.com>
References:  <m2bqrkr5a5.wl%gnn@neville-neil.com> <44BF95E9.2030102@mac.com>	<m2hd1bpv0t.wl%gnn@neville-neil.com> <3724C08A-4ADD-4294-8953-A4ADA2326577@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey,

Charles Swiger wrote:
> On Jul 20, 2006, at 10:10 PM, gnn@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C11242.9090300>