Skip to contentSkip to conversation

compiling netfilter modules outside of kernel tree

DISCUSSION Krishna Ramachandran 2 participants 2 messages Oct 3, 2003 – Oct 11, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,
I am facing a sort of a deployment issue ... I need to install a
netfilter module i developed on several Linux systems. I understand that it is easiest to compile a netfilter module inside the kernel tree. However, it'd be impossible for me to ask each of the users to install the kernel source and then compile my module. I am hoping that there is a better way to do this. I'd appreciate any help you can provide.

Thanks in advance,
Krishna

#1 lore raw
Quoted 6 lines · Krishna Ramachandran

I am facing a sort of a deployment issue ... I need to install a
netfilter module i developed on several Linux systems. I understand that it is easiest to compile a netfilter module inside the kernel tree. However, it'd be impossible for me to ask each of the users to install the kernel source and then compile my module. I am hoping that there is a better way to do this. I'd appreciate any help you can provide.

Compiling kernel modules outside of the kernel is a little tricky. To correctly compile a kernel module for a kernel you must have access to the exact same kernel headers after "make dep" as when the kernel was built.

Regards
Henrik