All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: How to install patch-o-matic
@ 2004-08-28 13:46 Alistair Tonner
  0 siblings, 0 replies; 7+ messages in thread
From: Alistair Tonner @ 2004-08-28 13:46 UTC (permalink / raw)
  To: netfilter

On August 27, 2004 04:50 am, Bassam A. Al-Khaffaf wrote:
> Thanks for the great information,
> 	I have successfully upgraded and recompiled the kernel according to
> the URL you gave to me.
>
> You have mentioned to compile the user space, so what do u mean by user
> space and how to compile it, do you mean I have to go inside the
> /usr/src/iptables-1.2.11 and write the following instructions again:
>
> make KERNEL_DIR=/usr/src/linux-2.4.27
> make install KERNEL_DIR=/usr/src/linux-2.4.27
>
> Do I need to compile this user space before I start the actual
> configuration and compilation for the kernel as described in the URL
> http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html?

>
> Regards
> Bassam
>

	Short answer is yes.

	iptables userspace refers to the iptables code itself that is NOT part of the 
kernel (kernelspace)
	Thus the iptables package itself.

	Alistair



^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: How to install patch-o-matic
@ 2004-08-28 14:42 Jason Opperisano
  2004-08-28 16:59 ` Jose Maria Lopez
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Opperisano @ 2004-08-28 14:42 UTC (permalink / raw)
  To: netfilter

> On August 27, 2004 04:50 am, Bassam A. Al-Khaffaf wrote:
> > Thanks for the great information,
> >     I have successfully upgraded and recompiled the kernel according to
> > the URL you gave to me.
> >
> > You have mentioned to compile the user space, so what do u mean by user
> > space and how to compile it, do you mean I have to go inside the
> > /usr/src/iptables-1.2.11 and write the following instructions again:
> >
> > make KERNEL_DIR=/usr/src/linux-2.4.27
> > make install KERNEL_DIR=/usr/src/linux-2.4.27
> >
> > Do I need to compile this user space before I start the actual
> > configuration and compilation for the kernel as described in the URL
> > http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html?
>
> >
> > Regards
> > Bassam
> >
>
>       Short answer is yes.
>
>       iptables userspace refers to the iptables code itself that is NOT part of the
> kernel (kernelspace)
>       Thus the iptables package itself.

and regarding the order:  patch & recompile kernel, then recompile userspace.  the userspace tools are compiled against the kernel sources, and detect the patches you have applied.

-j

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: How to install patch-o-matic
@ 2004-08-18 18:09 Jason Opperisano
  2004-08-27  8:50 ` Bassam A. Al-Khaffaf
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Opperisano @ 2004-08-18 18:09 UTC (permalink / raw)
  To: netfilter

> During my research on the net, I found that I need to load two modules in
> the kernel in order to enable this function; the modules (please correct me
> if I am mistaken) are "ip_conntrack_pptp" & "ip_nat_pptp".
>
> And I found that these two modules come with patch "patch-o-matic". I have
> kernel version "2.4.20-8" and iptables version "v1.2.7a", and hence I
> downloaded the "patch-o-matic-20030107.tar.bz2" in accordance.
>
> I decompressed and untar that patch inside "/root" directory.
> Then I get inside the directory "/root/patch-o-matic-20030107" and I found a
> list of files and other directories.
> In fact I don't know how to complete the installation process after that and
> which file I should start with in order to have these two modules in hand;
> it is not mentioned precisely in the README file.

you need to have the kernel source code available on your system, and run (for example):

KERNEL_DIR=/usr/src/linux-2.4.20-8  ./runme pending
KERNEL_DIR=/usr/src/linux-2.4.20-8  ./runme extra/pptp-conntrack-nat

(the KERNEL_DIR above is just an example)

> It is required to recompile and build the Red Hat 9.0 kernel after
> installation that patch, so can you refer me where can I find a detailed
> instructions and steps on how to compile the kernel?

yes--recompiling the kernel is required.  refer to the kernel how-to:

  http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

it's usually a good idea to rebuild the userspace iptables after applying pom; though, i don't think it's necessarily "required" in your case.

-j


^ permalink raw reply	[flat|nested] 7+ messages in thread
* How to install patch-o-matic
@ 2004-08-18  3:34 Bassam A. Al-Khaffaf
  0 siblings, 0 replies; 7+ messages in thread
From: Bassam A. Al-Khaffaf @ 2004-08-18  3:34 UTC (permalink / raw)
  To: netfilter

Hi All,
   I am new to Linux, I have been asked to enable multiple VPN clients
(PPTP) on the LAN side to pass through the Linux Red Hat 9.0 box and get
connected to the VPN server on the WAN side at the same time.

--------------	--------------				--------------
|VPN-Client-1|	|VPN-Client-2|	.............	|VPN-Client-n|
--------------	--------------				--------------
	|			|
|
	|			|
|
	-------------------------------------------------------
				|
				|
				| LAN Side
				|
				|
			-------------------
			|Red Hat 9.0 Box	|
			-------------------
				|
				|
				| WAN side
				|
				|
			------------
			|VPN Server|
			------------

During my research on the net, I found that I need to load two modules in
the kernel in order to enable this function; the modules (please correct me
if I am mistaken) are "ip_conntrack_pptp" & "ip_nat_pptp".

And I found that these two modules come with patch "patch-o-matic". I have
kernel version "2.4.20-8" and iptables version "v1.2.7a", and hence I
downloaded the "patch-o-matic-20030107.tar.bz2" in accordance.

I decompressed and untar that patch inside "/root" directory.
Then I get inside the directory "/root/patch-o-matic-20030107" and I found a
list of files and other directories.
In fact I don't know how to complete the installation process after that and
which file I should start with in order to have these two modules in hand;
it is not mentioned precisely in the README file.


It is required to recompile and build the Red Hat 9.0 kernel after
installation that patch, so can you refer me where can I find a detailed
instructions and steps on how to compile the kernel?

Please describe for me in details.

I highly appreciate your cooperation about this matter


Regards
Bassam

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
 



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-31 13:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-28 13:46 How to install patch-o-matic Alistair Tonner
  -- strict thread matches above, loose matches on Subject: below --
2004-08-28 14:42 Jason Opperisano
2004-08-28 16:59 ` Jose Maria Lopez
2004-08-31 13:17   ` Bassam Abdul Munim
2004-08-18 18:09 Jason Opperisano
2004-08-27  8:50 ` Bassam A. Al-Khaffaf
2004-08-18  3:34 Bassam A. Al-Khaffaf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.