I've tried the latest patch-o-matic on the gentoo-sources kernel with the following command:
but the script returns that the code has already been patched and should be up to date
Code: Select all
Welcome to Rusty's Patch-o-matic!
Kernel: /usr/src/linux-2.4.20-gentoo-r6
Userspace: /tmp
Each patch is a new feature: many have minimal impact, some do not.
Almost every one has bugs, so I don't recommend applying them all!
-------------------------------------------------------
Already applied: extra/string
-----------------------------------------------------------------
No more patches to apply! Q to Quit or ? for options [Q/a/r/b/?]
so i tried recompiling the kernel and iptables one more time (I compiled the match string into the kernel, not as a module)
and ran
but it returned as always
Code: Select all
iptables v1.2.8: Couldn't load match `string':/lib/iptables/libipt_string.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
does anyone have netfilter string support working with gentoo-sources?
doesn't the .so file imply that it is trying to load it from a module? If so, it was compiled into the kernel, not a module.
thanks
Wing
also, while going throught the make bzImage output, i found the following
Code: Select all
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_string -c -o ipt_string.o ipt_string.c
ipt_string.c: In function `search_sublinear':
ipt_string.c:53: warning: subscript has type `char'
ipt_string.c:78: warning: subscript has type `char'
most of the other functions didn't have warnings...