Date: Thu, 27 May 1999 12:52:26 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Eric Perie <ericp@eicon.com> Cc: questions@FreeBSD.ORG Subject: Re: LKM and libnet library Message-ID: <Pine.BSF.4.03.9905271251460.16577-100000@resnet.uoregon.edu> In-Reply-To: <5854E0C731A0D211B30400805FFED54101194D2C@montreal.eicon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 May 1999, Eric Perie wrote: > I would like to use the libnet library with either FreeBSD 3.1 RELEASE for > forging > ethernet frames with arbitrary physical source addresses. > (testing purpose only...) > > http://www.packetfactory.net/libnet/ > > As stated in the documentation I need to compile a new version of > if_ethersubr.c and > to load it as a LKM: BPF is overiding the physical address provided in the > packet it is > getting from the write() system call with the one of the network adapter. And this is a problem? This is normal, expected behavior. Most ether cards I know of can't override the source Ether address. I could be wrong. > I did compile the code for the KLM module successfully, I have added LKM > support in my > kernel, but modload is displaying an error message related to the format of > the ether_spoof.o file > I am trying to load. LKMs are deprecated. Did you try the libnet port? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org 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?Pine.BSF.4.03.9905271251460.16577-100000>