I've been working on this for a few days straight, finally need to ask for help.
I'm running Slack 9 and I'm trying to add in a small netfilter module.
Here are the instructions to install it
Quote:
ipt_TRIBES.h
header file for kernel module - place in /usr/src/linux/include/linux/netfilter_ipv4/
ipt_TRIBES.c
kernel module. place in /usr/src/linux/net/ipv4/netfilter
You must modify the Makefile and Config.in files in that directory to include,
and also modify /usr/src/linux/Documentation/Configure.help (I copied TOS's lines)
make menuconfig and then recompile at least your modules with mangle table
and TRIBES support. Make sure everything is enabled with lsmod
|
Well, I think I'm having trouble modifying the Makefile and Config.in files.
I added this line to the Makefile:
Quote:
obj-$CONFIG_IP_NF_TARGET_TRIBES) += ipt_TRIBES.o
|
And this to the Config.in file:
Quote:
dep_tristate ' TRIBES support' CONFIG_IP_NF_TARGET_TRIBES $CONFIG_IP_NF_IPTA$
|
Well, first of all I'm trying to recompile my entire Kernel after this. If I compile just the modules I'm unsure of what to do? I do a make dep; make modules; make modules_install - would I just copy the compiled files into my existing Linux install's netfilter dirs with all the other existing mods then do a modinst (or whatever the module install command is) on them? I borked something during the Kernel compile, and I wasn't able to boot to the new Kernel. But when I tried the modinst (?) command on the modules I got some Unresolved Symbol errors.
Since I'm just guessing at what I'm adding to the config.in & makefile I think that is my problem.
This should allow me to read the server list for a game off of the 'master server' for the game and export it to a webpage w/ a combo of Apache, ANT and Tomcat. Someone else had this working but is no longer able to host it, that's why I'm working on this now.
Any help would be appreciated, I'm clueless with this Makefile & Config.in.
Thank you!