IPTables Patch Problem!

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

IPTables Patch Problem!

Postby mohs3n » Thu Dec 20, 2012 8:42 am

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 .
mohs3n
 
Posts: 20
Joined: Fri Dec 07, 2012 3:21 pm

Re: IPTables Patch Problem!

Postby spender » Thu Dec 20, 2012 9:45 am

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
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: IPTables Patch Problem!

Postby mohs3n » Thu Dec 20, 2012 10:36 am

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.
mohs3n
 
Posts: 20
Joined: Fri Dec 07, 2012 3:21 pm


Return to grsecurity support