Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 23:34:03 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        Nick Popoff <mouse@bloodletting.com>
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>
In-Reply-To: <NEBBJGPHMLKPJGJPAFJHOEEKCAAA.mouse@bloodletting.com>; from mouse@bloodletting.com on Wed, Feb 21, 2001 at 01:18:14PM -0800
References:  <NEBBJGPHMLKPJGJPAFJHOEEKCAAA.mouse@bloodletting.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ifn> lladdr <hardware address>

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




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