Skip to contentSkip to conversation

PATCH-O-MATIC (installation issue)

DISCUSSION Joshua C. Clark 3 participants 13 messages Mar 29, 2006

lore
Share & tools
lore
#0 lore raw

I am new to the forum so hopefully I am doing this right, I am trying to install PATCH-O-MATIC on either RedHat or CentOS but I dont know where the iptables source installation is, sorry if this is posted elsewhere..

#1 lore raw
Quoted 5 lines

I am new to the forum so hopefully I am doing this right, I am trying to
install PATCH-O-MATIC on either RedHat or CentOS but I dont know where the
iptables source installation is, sorry if this is posted elsewhere..

If you installed the kernel source (it's a package), you probably find it in /usr/src

Gr,
Rob

#2 lore raw

I can find the kernerl source but I cannot seem to find the iptables source, and when I point it to the same location as my linux kernel it fails saying it doesnt know the IPTABLES source, does this make sense, and thank you for following up!
----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:15 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 15 lines
Quoted 5 lines

I am new to the forum so hopefully I am doing this right, I am trying to
install PATCH-O-MATIC on either RedHat or CentOS but I dont know where the
iptables source installation is, sorry if this is posted elsewhere..

If you installed the kernel source (it's a package), you probably find it in /usr/src

Gr,
Rob

#3 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Joshua C. Clark
Sent: Wednesday, March 29, 2006 1:19 PM
To: [email protected]
Subject: Re: PATCH-O-MATIC (installation issue)

Quoted 7 lines

I can find the kernerl source but I cannot seem to find the iptables source,
and when I point it to the same location as my linux kernel it fails saying
it doesnt know the IPTABLES source, does this make sense, and thank you for
following up!

Download the iptables source from:

http://www.netfilter.org

Specifically below (or previous releases):

http://www.netfilter.org/projects/iptables/downloads.html#iptables-1.3.5

Cheers,
-pablo

#4 lore raw
In reply to Joshua C. Clark
Quoted 4 lines

I can find the kernerl source but I cannot seem to find the iptables source, and when I point it to the same location as my linux kernel it fails saying it doesnt know the IPTABLES source, does this make sense, and thank you for following up!

Ah, yes you did write that.. Sorry about that.
All sources are separate packages. I don't know if you have installed the iptables source.
However, I'd recommend to download the source of both iptables and POM snapshots from the ftp site of the Netfilter project as you can download more up-to-date sources.

Gr,
Rob

Quoted 18 lines

----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:15 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 11 lines
Quoted 4 lines

I am new to the forum so hopefully I am doing this right, I am trying to install PATCH-O-MATIC on either RedHat or CentOS but I dont know where the iptables source installation is, sorry if this is posted elsewhere..

If you installed the kernel source (it's a package), you probably find it in /usr/src

Gr,
Rob

Signature · 20 lines
IMPORTANT: This email is intended for the use of  the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive persons
with low self-esteem, no sense of humour or irrational religious
beliefs. If you are not  the intended recipient, any dissemination,
distribution or copying of this email is not     
authorised (either explicitly or implicitly) and constitutes an
irritating social faux pas. Unless the word absquatulation has been
used in its correct context somewhere other than in this warning, it
does not have any legal or grammatical use and may be ignored. No
animals were harmed in the transmission of this email, although the
yorkshire terrier next door is living on borrowed time, let me tell
you. Those of you with an overwhelming fear of the unknown will be
gratified to learn that there is no hidden message revealed by reading
this warning backwards, so just ignore that Alert Notice from
Microsoft: However, by pouring a complete circle of salt around
yourself and your computer you can ensure that no harm befalls you and
your pets. If you have received this email in error, please add some
nutmeg and egg whites and place it in a warm oven for 40 minutes. Whisk
briefly and let it stand for 2 hours before icing.             
#5 lore raw

I am so stupid, I didnt realize that by simply downloading the package that was the IPTABLES source directory, however when I run the runme it asks if i want to patch but when I say yes to any of them it tells me it is missing files.. Any ideas?

----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:25 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 62 lines
Quoted 4 lines

I can find the kernerl source but I cannot seem to find the iptables source, and when I point it to the same location as my linux kernel it fails saying it doesnt know the IPTABLES source, does this make sense, and thank you for following up!

Ah, yes you did write that.. Sorry about that.
All sources are separate packages. I don't know if you have installed the iptables source.
However, I'd recommend to download the source of both iptables and POM snapshots from the ftp site of the Netfilter project as you can download more up-to-date sources.

Gr,
Rob

Quoted 18 lines

----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:15 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 11 lines
Quoted 4 lines

I am new to the forum so hopefully I am doing this right, I am trying to install PATCH-O-MATIC on either RedHat or CentOS but I dont know where the iptables source installation is, sorry if this is posted elsewhere..

If you installed the kernel source (it's a package), you probably find it in /usr/src

Gr,
Rob

Signature · 20 lines
IMPORTANT: This email is intended for the use of  the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive persons
with low self-esteem, no sense of humour or irrational religious
beliefs. If you are not  the intended recipient, any dissemination,
distribution or copying of this email is not
authorised (either explicitly or implicitly) and constitutes an
irritating social faux pas. Unless the word absquatulation has been
used in its correct context somewhere other than in this warning, it
does not have any legal or grammatical use and may be ignored. No
animals were harmed in the transmission of this email, although the
yorkshire terrier next door is living on borrowed time, let me tell
you. Those of you with an overwhelming fear of the unknown will be
gratified to learn that there is no hidden message revealed by reading
this warning backwards, so just ignore that Alert Notice from
Microsoft: However, by pouring a complete circle of salt around
yourself and your computer you can ensure that no harm befalls you and
your pets. If you have received this email in error, please add some
nutmeg and egg whites and place it in a warm oven for 40 minutes. Whisk
briefly and let it stand for 2 hours before icing.
#6 lore raw
Quoted 4 lines

I am so stupid, I didnt realize that by simply downloading the package that was the IPTABLES source directory, however when I run the runme it asks if i want to patch but when I say yes to any of them it tells me it is missing files.. Any ideas?

Yes, well, where did you untar the iptables source ? You have to tell POM where it is, just like it has to know where the kernel-source is. Try running POM like this :

KERNEL_DIR=/path/to/kernel-src IPTABLES_DIR=/path/to/iptables-src \
./runme [base|extra]

You have to fill in the real paths, I can't do that for you.

Gr,
Rob

Quoted 17 lines

----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:25 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 10 lines
Quoted 4 lines

I can find the kernerl source but I cannot seem to find the iptables source, and when I point it to the same location as my linux kernel it fails saying it doesnt know the IPTABLES source, does this make sense, and thank you for following up!

Ah, yes you did write that.. Sorry about that.
All sources are separate packages. I don't know if you have installed the iptables source. However, I'd recommend to download the source of both iptables and POM snapshots from the ftp site of the Netfilter project as you can download more up-to-date sources.

#7 lore raw

I can get past that it just fails whenever I try to click 'y' to install the atches comlaining about missing files, really I only want to be able to use time features with IPTABLES, but I dont see that in the POM, what am I doing wrong, thanks in advance!!!

----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:43 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 39 lines
Quoted 4 lines

I am so stupid, I didnt realize that by simply downloading the package that was the IPTABLES source directory, however when I run the runme it asks if i want to patch but when I say yes to any of them it tells me it is missing files.. Any ideas?

Yes, well, where did you untar the iptables source ? You have to tell POM where it is, just like it has to know where the kernel-source is. Try running POM like this :

KERNEL_DIR=/path/to/kernel-src IPTABLES_DIR=/path/to/iptables-src \
./runme [base|extra]

You have to fill in the real paths, I can't do that for you.

Gr,
Rob

Quoted 17 lines

----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:25 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 10 lines
Quoted 4 lines

I can find the kernerl source but I cannot seem to find the iptables source, and when I point it to the same location as my linux kernel it fails saying it doesnt know the IPTABLES source, does this make sense, and thank you for following up!

Ah, yes you did write that.. Sorry about that.
All sources are separate packages. I don't know if you have installed the iptables source. However, I'd recommend to download the source of both iptables and POM snapshots from the ftp site of the Netfilter project as you can download more up-to-date sources.

#8 lore raw
Quoted 4 lines

I can get past that it just fails whenever I try to click 'y' to install the atches comlaining about missing files, really I only want to be able to use time features with IPTABLES, but I dont see that in the POM, what am I doing wrong, thanks in advance!!!

According to the Netfilter website, the time patch is in the base part of POM so you can start POM with either "base" or "extra".
http://www.netfilter.org/projects/patch-o-matic/pom-base.html#pom-base-t
ime

If that doesn't work...
I'm not familiar with Redhat kernels, but I do know that some distro's use their own patched kernels (Redhat does) which can cause troubles if you try to apply patches to them. Maybe POM doesn't "like" the Redhat kernel.
Maybe it works when you download and patch a vanilla kernel source from kernel.org.

Gr,
Rob

#9 lore raw

maybe this is a dumb question maybe it isnt, but can I download the vanilla kernel and run it on my redhat box?
----- Original Message -----
From: "Rob Sterenborg" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 1:59 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 24 lines
Quoted 4 lines

I can get past that it just fails whenever I try to click 'y' to install the atches comlaining about missing files, really I only want to be able to use time features with IPTABLES, but I dont see that in the POM, what am I doing wrong, thanks in advance!!!

According to the Netfilter website, the time patch is in the base part of POM so you can start POM with either "base" or "extra".
http://www.netfilter.org/projects/patch-o-matic/pom-base.html#pom-base-t
ime

If that doesn't work...
I'm not familiar with Redhat kernels, but I do know that some distro's use their own patched kernels (Redhat does) which can cause troubles if you try to apply patches to them. Maybe POM doesn't "like" the Redhat kernel.
Maybe it works when you download and patch a vanilla kernel source from kernel.org.

Gr,
Rob

#10 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Joshua C. Clark
Sent: Wednesday, March 29, 2006 2:47 PM
To: [email protected]
Subject: Re: PATCH-O-MATIC (installation issue)

Quoted 3 lines

maybe this is a dumb question maybe it isnt, but can I download the vanilla
kernel and run it on my redhat box?

More than likely you will be able to. FWIW, on my Suse 10.x box, I downloaded the vanilla kernel, compiled it and am running with it. From there, I was able to compile iptables and build from there.

Before I did the above, I had a whack of problems.

Cheers,
-pablo

#11 lore raw

I guess I am confused, when you say recompile do you mean the os kernel or just iptables?

----- Original Message -----
From: "Pablo Sanchez" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 29, 2006 2:51 PM
Subject: RE: PATCH-O-MATIC (installation issue)

Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Joshua C. Clark
Sent: Wednesday, March 29, 2006 2:47 PM
To: [email protected]
Subject: Re: PATCH-O-MATIC (installation issue)

Quoted 3 lines

maybe this is a dumb question maybe it isnt, but can I download the vanilla
kernel and run it on my redhat box?

More than likely you will be able to. FWIW, on my Suse 10.x box, I downloaded the vanilla kernel, compiled it and am running with it. From there, I was able to compile iptables and build from there.

Before I did the above, I had a whack of problems.

Cheers,
-pablo

#12 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Joshua C. Clark
Sent: Wednesday, March 29, 2006 2:55 PM
To: [email protected]
Subject: Re: PATCH-O-MATIC (installation issue)

Quoted 2 lines

I guess I am confused, when you say recompile do you mean the os kernel or just iptables?

[ Also, please stop top-posting, respond at the bottom if you'd like my response. ]

Okay, I believe I see the problem. We're not communicating properly.

When you say can I 'download the vanilla kernel', what you _meant_ by that is (even though you didn't say it ... and possibly didn't know it! <g>):

1) You download the kernel _source_ from kernel.org
2) You config the kernel on your box
3) You compile it on your box
4) You reboot your machine with the new kernel

What I was trying to say is I had to do the above before I could use POM, much less before I could compile IPTABLE's.

I hope that helps.
-pablo