compiling netfilter modules outside of kernel tree
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
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