* pom-ng "condition" for 2.6 kernels
@ 2006-01-01 22:06 Samuel Díaz García
2006-01-02 17:53 ` Jorge Davila
0 siblings, 1 reply; 7+ messages in thread
From: Samuel Díaz García @ 2006-01-01 22:06 UTC (permalink / raw)
To: netfilter
Is there any way to apply "condition" patch into 2.6.14 kernel?
I can see "linux" directory into "patchlets/condition" but not a
"linux-2.6" directory.
Any help about it?
Thanks
--
Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.
CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz
http://www.arcoscom.com
mailto:samueldg@arcoscom.com
msn: samueldg@arcoscom.com
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pom-ng "condition" for 2.6 kernels
2006-01-01 22:06 pom-ng "condition" for 2.6 kernels Samuel Díaz García
@ 2006-01-02 17:53 ` Jorge Davila
2006-01-03 14:17 ` Samuel Díaz García
0 siblings, 1 reply; 7+ messages in thread
From: Jorge Davila @ 2006-01-02 17:53 UTC (permalink / raw)
To: Samuel Díaz García; +Cc: netfilter
In the patches source code directory:
KERNEL_DIR=/the/path/to/kernel-2.6.14/source/code/directory
IPTABLES_DIR=/the/path/to/iptables/source/code/directory ./runme
<pending|base|extras>
Of course, you need the source code for your kernel and for iptables.
Jorge.
El dom, 01-01-2006 a las 23:06 +0100, Samuel Díaz García escribió:
> Is there any way to apply "condition" patch into 2.6.14 kernel?
>
> I can see "linux" directory into "patchlets/condition" but not a
> "linux-2.6" directory.
>
> Any help about it?
>
> Thanks
>
--
Jorge Isaac Davila Lopez
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pom-ng "condition" for 2.6 kernels
2006-01-02 17:53 ` Jorge Davila
@ 2006-01-03 14:17 ` Samuel Díaz García
2006-01-03 14:25 ` Jorge Davila
0 siblings, 1 reply; 7+ messages in thread
From: Samuel Díaz García @ 2006-01-03 14:17 UTC (permalink / raw)
To: Jorge Davila; +Cc: netfilter
Fine, I know how to apply pom without problems.
The problem is that applying over a 2.6.14.5 kernel (2.6.x kernels) the
"condition" patch isn't showed for the apply.
"Kovacs Krisztian" (hidden_#arroba#_balabit.hu) sent to me the patch to
apply over an 2.6.14.5 kernel and appears to be working fine (at least
applied, compiled and installed with the new compiled kernel).
I had tried to found the problem, and I think that the "condition" isn't
ported into 2.6.x kernels because a "linux-2.6" directory doesn't exist
into the "patchlets/condition", and that (I think) is because
"condition" isn't showed while "./runme extra" is running.
I want to know if really "condition" is included for 2.6 kernels into
pom-ng and why is failing the "./runme".
Sorry for my poor english.
Regards.
Jorge Davila escribió:
> In the patches source code directory:
>
> KERNEL_DIR=/the/path/to/kernel-2.6.14/source/code/directory
> IPTABLES_DIR=/the/path/to/iptables/source/code/directory ./runme
> <pending|base|extras>
>
> Of course, you need the source code for your kernel and for iptables.
>
> Jorge.
>
> El dom, 01-01-2006 a las 23:06 +0100, Samuel Díaz García escribió:
>
>>Is there any way to apply "condition" patch into 2.6.14 kernel?
>>
>>I can see "linux" directory into "patchlets/condition" but not a
>>"linux-2.6" directory.
>>
>>Any help about it?
>>
>>Thanks
>>
--
Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.
CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz
http://www.arcoscom.com
mailto:samueldg@arcoscom.com
msn: samueldg@arcoscom.com
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pom-ng "condition" for 2.6 kernels
2006-01-03 14:17 ` Samuel Díaz García
@ 2006-01-03 14:25 ` Jorge Davila
2006-01-03 14:48 ` Samuel Díaz García
0 siblings, 1 reply; 7+ messages in thread
From: Jorge Davila @ 2006-01-03 14:25 UTC (permalink / raw)
To: Samuel Díaz García; +Cc: netfilter
well, you can do the next to avoid write some vars in the ./runme
command:
export KERNEL_DIR=/path/to/kernel/source/code
export IPTABLES_DIR=/path/to/iptables/source/code
in the patches source code, run:
./runme <pending|base|extras>
I don't exactly what option will show you the patch that you want apply.
Jorge.
El mar, 03-01-2006 a las 15:17 +0100, Samuel Díaz García escribió:
> Fine, I know how to apply pom without problems.
>
> The problem is that applying over a 2.6.14.5 kernel (2.6.x kernels) the
> "condition" patch isn't showed for the apply.
>
> "Kovacs Krisztian" (hidden_#arroba#_balabit.hu) sent to me the patch to
> apply over an 2.6.14.5 kernel and appears to be working fine (at least
> applied, compiled and installed with the new compiled kernel).
>
> I had tried to found the problem, and I think that the "condition" isn't
> ported into 2.6.x kernels because a "linux-2.6" directory doesn't exist
> into the "patchlets/condition", and that (I think) is because
> "condition" isn't showed while "./runme extra" is running.
>
> I want to know if really "condition" is included for 2.6 kernels into
> pom-ng and why is failing the "./runme".
>
> Sorry for my poor english.
>
> Regards.
>
> Jorge Davila escribió:
>
> > In the patches source code directory:
> >
> > KERNEL_DIR=/the/path/to/kernel-2.6.14/source/code/directory
> > IPTABLES_DIR=/the/path/to/iptables/source/code/directory ./runme
> > <pending|base|extras>
> >
> > Of course, you need the source code for your kernel and for iptables.
> >
> > Jorge.
> >
> > El dom, 01-01-2006 a las 23:06 +0100, Samuel Díaz García escribió:
> >
> >>Is there any way to apply "condition" patch into 2.6.14 kernel?
> >>
> >>I can see "linux" directory into "patchlets/condition" but not a
> >>"linux-2.6" directory.
> >>
> >>Any help about it?
> >>
> >>Thanks
> >>
>
--
Jorge Isaac Davila Lopez
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pom-ng "condition" for 2.6 kernels
2006-01-03 14:25 ` Jorge Davila
@ 2006-01-03 14:48 ` Samuel Díaz García
2006-01-03 15:03 ` KOVACS Krisztian
0 siblings, 1 reply; 7+ messages in thread
From: Samuel Díaz García @ 2006-01-03 14:48 UTC (permalink / raw)
To: Jorge Davila; +Cc: netfilter
Jorge, I don't know if you stand me, but the problem isn't if I know how
to use patch-o-matic.
The problem is a bug in patch-o-matic (or mistake) that don't allow to
use "condition" patch with 2.6.x kernels.
I explain in the message you reply.
Regards
Jorge Davila escribió:
> well, you can do the next to avoid write some vars in the ./runme
> command:
>
> export KERNEL_DIR=/path/to/kernel/source/code
> export IPTABLES_DIR=/path/to/iptables/source/code
>
> in the patches source code, run:
>
> ./runme <pending|base|extras>
>
> I don't exactly what option will show you the patch that you want apply.
>
> Jorge.
>
> El mar, 03-01-2006 a las 15:17 +0100, Samuel Díaz García escribió:
>
>>Fine, I know how to apply pom without problems.
>>
>>The problem is that applying over a 2.6.14.5 kernel (2.6.x kernels) the
>>"condition" patch isn't showed for the apply.
>>
>>"Kovacs Krisztian" (hidden_#arroba#_balabit.hu) sent to me the patch to
>>apply over an 2.6.14.5 kernel and appears to be working fine (at least
>>applied, compiled and installed with the new compiled kernel).
>>
>>I had tried to found the problem, and I think that the "condition" isn't
>>ported into 2.6.x kernels because a "linux-2.6" directory doesn't exist
>>into the "patchlets/condition", and that (I think) is because
>>"condition" isn't showed while "./runme extra" is running.
>>
>>I want to know if really "condition" is included for 2.6 kernels into
>>pom-ng and why is failing the "./runme".
>>
>>Sorry for my poor english.
>>
>>Regards.
>>
>>Jorge Davila escribió:
>>
>>
>>>In the patches source code directory:
>>>
>>>KERNEL_DIR=/the/path/to/kernel-2.6.14/source/code/directory
>>>IPTABLES_DIR=/the/path/to/iptables/source/code/directory ./runme
>>><pending|base|extras>
>>>
>>>Of course, you need the source code for your kernel and for iptables.
>>>
>>>Jorge.
>>>
>>>El dom, 01-01-2006 a las 23:06 +0100, Samuel Díaz García escribió:
>>>
>>>
>>>>Is there any way to apply "condition" patch into 2.6.14 kernel?
>>>>
>>>>I can see "linux" directory into "patchlets/condition" but not a
>>>>"linux-2.6" directory.
>>>>
>>>>Any help about it?
>>>>
>>>>Thanks
>>>>
>>
--
Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.
CIF: B11828068
c/ Romero Gago, 19
Arcos de la Frontera
11630 - Cadiz
http://www.arcoscom.com
mailto:samueldg@arcoscom.com
msn: samueldg@arcoscom.com
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pom-ng "condition" for 2.6 kernels
2006-01-03 14:48 ` Samuel Díaz García
@ 2006-01-03 15:03 ` KOVACS Krisztian
2006-01-04 11:26 ` Pedro Drimel Neto
0 siblings, 1 reply; 7+ messages in thread
From: KOVACS Krisztian @ 2006-01-03 15:03 UTC (permalink / raw)
To: netfilter; +Cc: Samuel Díaz García
Hi,
On Tuesday 03 January 2006 15.48, Samuel Díaz García wrote:
> Jorge, I don't know if you stand me, but the problem isn't if I know how
> to use patch-o-matic.
>
> The problem is a bug in patch-o-matic (or mistake) that don't allow to
> use "condition" patch with 2.6.x kernels.
>
> I explain in the message you reply.
It's not a bug, pom-ng simply does not contain the 2.6 version of the
condition match.
--
KOVACS Krisztian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pom-ng "condition" for 2.6 kernels
2006-01-03 15:03 ` KOVACS Krisztian
@ 2006-01-04 11:26 ` Pedro Drimel Neto
0 siblings, 0 replies; 7+ messages in thread
From: Pedro Drimel Neto @ 2006-01-04 11:26 UTC (permalink / raw)
To: netfilter
I'm trying to apply patch-o-matic-ng on fedora core 4 2.6.11 kernel, what I
did was:
cd /usr/src
ln -s kernels/2.6.11-1.1369_FC4-smp-i686/ linux
cd /usr/src/linux
wget
ftp://ftp.netfilter.org/pub/iptables/snapshot/iptables-1.3.4-20060103.tar.bz2
wget
ftp://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20060103.tar.bz2
tar -xjvf iptables-1.3.4-20060103.tar.bz2
mv iptables-1.3.4-20060103 iptables
tar -xjvf patch-o-matic-ng-20060103.tar.bz2
mv patch-o-matic-ng-20060103 patch-o-matic-ng
export KERNEL_DIR=/usr/src/linux
export IPTABLES_DIR=/usr/src/linux/iptables/
cd patch-o-matic-ng/
./runme extra
And in the enf of command ./runme extra :
Excellent! Source trees are ready for compilation.
Recompile the kernel image.
Recompile the netfilter kernel modules.
Recompile the iptables binaries.
After recompile the kernel, do I have do recompile "/usr/src/linux/iptables"
? And replace the binaries of iptables ?
Does someone has a HOWTO about this ? In
http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO.html
had only to recompile the kernel...
Sorry for my bad english.
Regards,
Pedro Drimel Neto.
----- Original Message -----
From: "KOVACS Krisztian" <hidden@sch.bme.hu>
To: <netfilter@lists.netfilter.org>
Cc: "Samuel Díaz García" <samueldg@arcoscom.com>
Sent: Tuesday, January 03, 2006 1:03 PM
Subject: Re: pom-ng "condition" for 2.6 kernels
Hi,
On Tuesday 03 January 2006 15.48, Samuel Díaz García wrote:
> Jorge, I don't know if you stand me, but the problem isn't if I know how
> to use patch-o-matic.
>
> The problem is a bug in patch-o-matic (or mistake) that don't allow to
> use "condition" patch with 2.6.x kernels.
>
> I explain in the message you reply.
It's not a bug, pom-ng simply does not contain the 2.6 version of the
condition match.
--
KOVACS Krisztian
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-01-04 11:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-01 22:06 pom-ng "condition" for 2.6 kernels Samuel Díaz García
2006-01-02 17:53 ` Jorge Davila
2006-01-03 14:17 ` Samuel Díaz García
2006-01-03 14:25 ` Jorge Davila
2006-01-03 14:48 ` Samuel Díaz García
2006-01-03 15:03 ` KOVACS Krisztian
2006-01-04 11:26 ` Pedro Drimel Neto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox