pom-ng "condition" for 2.6 kernels
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
Signature · 17 lines
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:[email protected]
msn: [email protected]
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83In 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.
Quoted 9 lines · Samuel Díaz García
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
Signature · 1 line
Jorge Isaac Davila Lopez
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.
Quoted 20 lines · Jorge Davila
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.
Quoted 8 lines · Samuel Díaz García
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
Signature · 17 lines
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:[email protected]
msn: [email protected]
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83well, 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.
Quoted 45 lines · Samuel Díaz García
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.
Quoted 21 lines · Jorge Davila
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.
Quoted 9 lines · Samuel Díaz García
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
Signature · 1 line
Jorge Isaac Davila Lopez
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
Quoted 55 lines · Jorge Davila
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/codein 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.
Quoted 39 lines · Samuel Díaz García
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.
Quoted 21 lines · Jorge Davila
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.
Quoted 8 lines · Samuel Díaz García
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
Signature · 17 lines
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:[email protected]
msn: [email protected]
Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax: 956 70 34 83Hi,
Quoted 7 lines · Samuel Díaz García
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.
Signature · 1 line
KOVACS Krisztian
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" <[email protected]>
To: <[email protected]>
Cc: "Samuel Díaz García" <[email protected]>
Sent: Tuesday, January 03, 2006 1:03 PM
Subject: Re: pom-ng "condition" for 2.6 kernels
Hi,
Quoted 7 lines · Samuel Díaz García
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.
Signature · 1 line
KOVACS Krisztian