patching iptables - how?
Hi all,
just joined the list.
Pretty new to linux/iptables (on SuSE8.0). I'm trying to patch from 1.2.5 to 1.2.6a and then to 1.2.7a.
Do have all patches. Tried "patch" command, but I seem can't figure it out properly. Would someone explain how to do this in couple of steps, please? Also, from reading other articles, after patching up or reinstalling iptables from scratch, is it necessary to recompile the kernel?
Cheers,
Mladen
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Quoted 2 lines · Mladen Meduric
Pretty new to linux/iptables (on SuSE8.0). I'm trying to patch from 1.2.5 to 1.2.6a and then to 1.2.7a.
It would probably be easier to just grab the tar ball of 1.2.7a:
http://www.netfilter.org/downloads.html#1.2.7a
Quoted 4 lines
Do have all patches. Tried "patch" command, but I seem can't figure it out properly. Would someone explain how to do this in couple of steps, please? Also, from reading other articles, after patching up or reinstalling iptables from scratch, is it necessary to recompile the kernel?
Depends what features you're trying to make use of. What's your
current kernel version (uname -r) ?
The only thing I've personally found not working on 2.4.20 is ECN
mangle'ing for which you need this patch to the kernel:
http://www.netfilter.org/documentation/pomlist/pom-pending.html#05_ECN-tcpchecksum-littleendian-fix
HTH,
-Ath
-Ath
Signature · 4 lines
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
Finger athan(at)fysh.org for PGP key
"And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - MEQuoted 6 lines · Mladen Meduric
Hi all,
just joined the list.
Pretty new to linux/iptables (on SuSE8.0). I'm trying to patch from 1.2.5 to 1.2.6a and then to 1.2.7a.
Why not just use 1.2.7a instead?
Anyway, the patch command should be like this:
# cd /path/to/iptables/source # patch -p1 < /path/to/patch
Do this for all remaining patches.
Quoted 4 lines
Do have all patches. Tried "patch" command, but I seem can't figure it out properly. Would someone explain how to do this in couple of steps, please? Also, from reading other articles, after patching up or reinstalling iptables from scratch, is it necessary to recompile the kernel?
In most cases (AFAIK), no. If you're using the same kernel during the compilation (of iptables), iptables will reference whatever libraries that exist for the current kernel. If you decide to switch kernels, you probably might need to recompile iptables as certain libraries might have underwent a significant tweak/hack/modification and might render iptables in-operable.
Signature · 4 lines
Vincent Lim Software Engineer NESTAC Solution Sdn Bhd [email protected] | +(6012) 659-6609
Quoted 8 lines · Mladen Meduric
Hi all,
just joined the list.
Pretty new to linux/iptables (on SuSE8.0). I'm trying to patch from 1.2.5 to 1.2.6a and then to 1.2.7a.
Do have all patches. Tried "patch" command, but I seem can't figure it out properly. Would someone explain how to do this in couple of steps, please? Also, from reading other articles, after patching up or reinstalling iptables from scratch, is it necessary to recompile the kernel?
Hello,
If all you want is to apply the patches from patch-o-matic (especially the extensions), you can have a look at the netfilter-extension-HOWTO:
http://www.netfilter.org/documentation/HOWTO/netfilter-extensions-HOWTO.html
there is a little paragraph explaining how to use p-o-m.
For upgrading your iptables only, see the reply from Athan.
Have a nice day,
Fabrice.
--
Fabrice MARIE
"Silly hacker, root is for administrators"
-Unknown
Whoa!!!
What a list! Thank you all very much!
I thought on just installing 1.2.7a from scratch, but didn't know what effect would it have on old (1.2.5) version. Do I need to uninstall that one first? If yes, is it best to use Sytem->Package->uninstall or rpm -u
...
All the best and cheers
Mladen
BTW, kernel is 2.4.18
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
On Thu, 9 Jan 2003 03:42:50 +0000 (GMT),
Mladen Meduric <[email protected]> wrote in message <[email protected]>:
Quoted 7 lines
Whoa!!!
What a list! Thank you all very much!
I thought on just installing 1.2.7a from scratch, but didn't know what effect would it have on old (1.2.5) version. Do I need to uninstall that one first? If yes, is it best to useSytem->Package->uninstallor rpm -u
..'rpm -e iptables' will do nicely. ;-)
Signature · 4 lines
..med vennlig hilsen = with Kind Regards from Arnt... ;-) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case.