Skip to contentSkip to conversation

how to upgrade an installed iptables?

DISCUSSION afshin lamei 3 participants 3 messages Jul 18, 2005

lore
Share & tools
lore
#0 lore raw

hi all,
2 questions:
is there any patched source of iptables (with p-o-m), which i can just compile and use?
how can i upgrade from iptables 1.2.8 to 1.2.9, 1.3, ... etc? there is a patch named patch-iptables-1.2.8-1.2.9, can i apply it on an installed 1.2.8 one?
regards
afshin

#1 lore raw
Quoted 6 lines · afshin lamei

hi all,
2 questions:
is there any patched source of iptables (with p-o-m), which i can just compile and use?

Nope. p-o-m is a separate patchset, which in order to use you must have sources of both kernel and iptables. It then do its magic (patching the source :)), and you then need to recompile kernel modules/iptables.

Quoted 9 lines

how can i upgrade from iptables 1.2.8 to 1.2.9, 1.3, ... etc? there is a patch named patch-iptables-1.2.8-1.2.9, can i apply it on an installed 1.2.8 one?
regards
afshin

Gee, I've no idea. I always get the newest (stable) source, build a package from it, and install... :) works pretty well. Basically... yes. Patches are usually containing some bugfixes/new features, so this may be the case... :) yet I dunno if you could dl patch 1.3.2 (for example) and apply it over the 1.2.8 source, resulting the 1.3.2... I think in order to get this source updated, you have to apply them one by one, till you get where you want to... (again, this might not be the case. I never did it that way).

#2 lore raw
In reply to afshin lamei
Quoted 3 lines · afshin lamei

how can i upgrade from iptables 1.2.8 to 1.2.9, 1.3, ... etc? there is a patch named patch-iptables-1.2.8-1.2.9, can i apply it on an installed 1.2.8 one?

I did it with 1.3.1->1.3.2 and it worked well. If you decide to compile your own iptables, you should take care of the paths. E.g. debian has /sbin/iptables and the sources from netfilter.org install in /usr/local/sbin. If you don't want this, edit the Makefile and chnge vars PREFIX, LIBDIR,..., to fit your needs.

Have a nice time,

Joerg