From owner-freebsd-questions Wed Feb 21 23:34:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 88FEB37B491 for ; Wed, 21 Feb 2001 23:34:17 -0800 (PST) (envelope-from cjc@rfx-216-196-73-168.users.reflexcom.com) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 21 Feb 2001 23:32:14 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f1M7Y4p90099; Wed, 21 Feb 2001 23:34:04 -0800 (PST) (envelope-from cjc) Date: Wed, 21 Feb 2001 23:34:03 -0800 From: "Crist J. Clark" To: Nick Popoff Cc: questions@FreeBSD.ORG Subject: Re: Building Libnet with the bpf-lkm etherspoof module Message-ID: <20010221233403.C89396@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mouse@bloodletting.com on Wed, Feb 21, 2001 at 01:18:14PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 21, 2001 at 01:18:14PM -0800, Nick Popoff wrote: > > Greetings. I just tried installing libnet via a recently cvsup'd port and > I'm having trouble getting the optional LKM working which enables spoofing > of ethernet source addresses. Has anyone else had luck doing this? The > module was included by the Libnet authors to allow users to get around BSD's > BPF implementation which does not allow this. Is this still true? > > The README makes reference to FreeBSD 3.x so I wonder if the code is > oudated. The compile of Libnet-1.0.1b/support/FreeBSD failes with: > > ether_mod_load.c 107: 'lkm_nullcmd' undeclared > > Any help would be much appreciated. Is this a 4.x system? LKMs have been depricated for KLDs. Anyway, I am not sure if a kernel module is needed, # ifconfig lladdr As for how libnet can do it in code... Haven't looked at this lately. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message