Page 1 of 1

IPTables Patch Problem!

PostPosted: Thu Dec 20, 2012 8:42 am
by mohs3n
Im trying to patch 'kernel 2.6.32.60' with 'grsecurity-2.2.0-iptables.patch' but i get this error :

Code: Select all
[root@srv06 linux-2.6.32.60]# patch -p1 < ../grsecurity-2.2.0-iptables.patch
The next patch would create the file extensions/libxt_gradm.c,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file extensions/libxt_gradm.man,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file include/linux/netfilter/xt_gradm.h,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored


Any suggestion would be appreciated.
My OS is CentOS 6.3 x86 with gcc 4.4.6 .

Re: IPTables Patch Problem!

PostPosted: Thu Dec 20, 2012 9:45 am
by spender
grsecurity-2.2.0-iptables.patch is a patch against the userland iptables package, not the kernel. Your log also seems to show you tried applying the patch twice to the kernel.

-Brad

Re: IPTables Patch Problem!

PostPosted: Thu Dec 20, 2012 10:36 am
by mohs3n
I have applied the grsecurity patch and then tried to apply the iptables patch .
I couldn't find any documentation about the 'iptables patch' in your website and it'll be nice if you explain me a little bit about this patch or gimme a link to a document.