From owner-freebsd-net@FreeBSD.ORG Fri Jul 21 17:42:28 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD0EB16A4E0 for ; Fri, 21 Jul 2006 17:42:28 +0000 (UTC) (envelope-from clemun@gmail.com) Received: from gruik.clem1.be (clem1.be [81.56.211.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A16843D45 for ; Fri, 21 Jul 2006 17:42:26 +0000 (GMT) (envelope-from clemun@gmail.com) Received: from [192.168.2.5] (pouik.clem1.be [192.168.2.5]) by gruik.clem1.be (8.13.5.20060308/8.13.4) with ESMTP id k6LHgtDV006150 for ; Fri, 21 Jul 2006 19:42:56 +0200 (CEST) Message-ID: <44C11242.9090300@gmail.com> Date: Fri, 21 Jul 2006 19:43:30 +0200 From: =?ISO-8859-1?Q?Cl=E9ment_Lecigne?= User-Agent: Thunderbird 1.5.0.2 (X11/20060420) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <44BF95E9.2030102@mac.com> <3724C08A-4ADD-4294-8953-A4ADA2326577@mac.com> In-Reply-To: <3724C08A-4ADD-4294-8953-A4ADA2326577@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Packet Construction and Protocol Testing... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 17:42:28 -0000 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