Re: Add patch for string
- From: buck <buck@xxxxxxxxxxx>
- Date: Wed, 24 May 2006 12:25:30 -0700
On 23 May 2006 22:25:44 -0700, "RajKodali" <rajeshkodali@xxxxxxxxx>
wrote:
Hi,
I am using RHEL4AS and iptables-1.2.11-3.1.RHEL4. I want to know how to
add -m string option .. if it needs patching pls help me how to do that
in pom as I am very new to Patch-O-Magic ..
Thanks,
Rajesh.K
Yes, you do need to patch to use the STRING match. AFAIK, no distro
includes it by default. Be darn sure STRING is the only way because
it is a bitch to figure out a match that will work without shooting
yourself in the foot.
NOTE: The string to match may not contain any white space. Don't
know for sure, but it likely it cannot contain a hyphen either.
Everything else is a literal, so don't put the string inside " or '.
The instructions in the POM are thorough enough that you should be
able to follow them, but an overview is:
Pur kernel source and .config in
/usr/src/linux-VERSION
ln -s /usr/src/linux-VERSION /usr/src/linux
Make sure .config matches your running kernel!
Put iptables source in
/usr/src/iptables-VERSION
ln -s /usr/src/iptables-VERSION /usr/src/iptables
Download (it is not easy to find) a POM that contains STRING. Extract
it into /usr/src
cd /usr/src/patch-o-matic
../runme extra
That's all the help you're going to get from me <smile>.
--
buck
.
- References:
- Add patch for string
- From: RajKodali
- Add patch for string
- Prev by Date: Re: Linux Firewall
- Next by Date: Re: Linux Firewall
- Previous by thread: Add patch for string
- Index(es):