Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getting "packet" protocol running without re-compiling kernal

0 views
Skip to first unread message

doug reeder

unread,
Sep 1, 2001, 9:23:28 PM9/1/01
to

I'd like to get the "packet" protocol (controlled by the CONFIG_PACKET
switch when compiling, and when compiled as a module, contained in the
module af_packet.o) running on a RH 6.1 (kernel 2.2.12-32) system on a
HP Kayak (Pentium II processor).

The packet protocol is needed by libpcap, which is required by every
firewall testing tool.

I'd like to get the "packet" protocol running, without re-compiling
the kernal and all the headaches that involves.

1) is af_packet.o available somewhere for downloading for a Pentium II
(i686) system?

2) Would I need to do anything more than load af_packet.o with
the modules utilities?


--
P. Douglas Reeder Lecturer, Dept. Computer/Info. Science, Ohio State Univ.
ree...@cis.ohio-state.edu http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++

Pete Ware

unread,
Sep 2, 2001, 2:24:57 PM9/2/01
to
Looking at /usr/src/linux-2.4.3/net/packet/af_packet.c it should be
installable as a module. Try compiling it with:

gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -m486 -c af_packet.c

with the currently running kernel's sources installed and seeing if
"insmod af_packet.o" works.

--pete

0 new messages