bon voilà ce que ça donne, certaines commandes ne sont pas appropriées, mais je rectifie plus loin :
###### commandes avec 2.6.16-cam ############################
jcode@debian:~$ locate ip_tables
/lib/modules/2.6.8-2-386/kernel/net/ipv4/netfilter/ip_tables.ko
/usr/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel_bidouille/kernel-headers-2.6.16-jcode/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel_bidouille/kernel-source-2.6.16-jcode/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel_bidouille/kernel-source-2.6.16-jcode/net/ipv4/netfilter/ip_tables.c
/usr/src/kernel-headers-2.6.8-2/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel/linux-source-2.6.16/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.c
/usr/src/linux-source-2.6.16/debian/linux-headers-2.6.16-cam/usr/src/linux-headers-2.6.16-cam/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/linux-source-2.6.16/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.c
jcode@debian:~$ grep ipt_register /boot/System-2.6.16-cam.map
grep: /boot/System-2.6.16-cam.map: Aucun fichier ou répertoire de ce type
jcode@debian:~$ grep ipt_register /boot/System-2.6.16-cam.map
grep: /boot/System-2.6.16-cam.map: Aucun fichier ou répertoire de ce type
jcode@debian:~$ ls /boot
config-2.6.16-cam System.map-2.6.16-cam
config-2.6.16camiptables System.map-2.6.16camiptables
config-2.6.16-jcode System.map-2.6.16-jcode
config-2.6.8-2-386 System.map-2.6.8-2-386
grub vmlinuz-2.6.16-cam
initrd.img-2.6.16-cam vmlinuz-2.6.16camiptables
initrd.img-2.6.16camiptables vmlinuz-2.6.16-jcode
initrd.img-2.6.16-jcode vmlinuz-2.6.8-2-386
initrd.img-2.6.8-2-386
jcode@debian:~$ grep ip_tables /lib/modules/2.6.16-cam/modules.dep
jcode@debian:~$
###### commandes avec 2.6.16camiptables ######################
debian:~# updatedb
debian:~# locate ip_tables
/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko
/lib/modules/2.6.8-2-386/kernel/net/ipv4/netfilter/ip_tables.ko
/usr/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel_bidouille/kernel-headers-2.6.16-jcode/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel_bidouille/kernel-source-2.6.16-jcode/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel_bidouille/kernel-source-2.6.16-jcode/net/ipv4/netfilter/ip_tables.c
/usr/src/kernel-headers-2.6.8-2/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel/linux-source-2.6.16/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/Kernel/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.c
/usr/src/linux-source-2.6.16/debian/linux-headers-2.6.16camiptables/usr/src/linux-headers-2.6.16camiptables/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/linux-source-2.6.16/debian/linux-image-2.6.16camiptables/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko
/usr/src/linux-source-2.6.16/include/linux/netfilter_ipv4/ip_tables.h
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.c
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.ko
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/.ip_tables.ko.cmd
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.mod.c
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.mod.o
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/.ip_tables.mod.o.cmd
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/ip_tables.o
/usr/src/linux-source-2.6.16/net/ipv4/netfilter/.ip_tables.o.cmd
/usr/src/linux-source-2.6.16/.tmp_versions/ip_tables.mod
debian:~# grep ipt_register /boot/System-2.6.16-cam.map
grep: /boot/System-2.6.16-cam.map: Aucun fichier ou répertoire de ce type
debian:~# ls /boot
config-2.6.16-cam System.map-2.6.16-cam
config-2.6.16camiptables System.map-2.6.16camiptables
config-2.6.16-jcode System.map-2.6.16-jcode
config-2.6.8-2-386 System.map-2.6.8-2-386
grub vmlinuz-2.6.16-cam
initrd.img-2.6.16-cam vmlinuz-2.6.16camiptables
initrd.img-2.6.16camiptables vmlinuz-2.6.16-jcode
initrd.img-2.6.16-jcode vmlinuz-2.6.8-2-386
initrd.img-2.6.8-2-386
debian:~# grep ipt_register /boot/System.map-2.6.16-cam
debian:~# grep ipt_register /boot/System.map-2.6.16camiptables
debian:~# grep ipt_register /boot/System.map-2.6.8-2-386
debian:~# grep ipt_register /boot/System.map-2.6.16-jcode
debian:~# grep ip_tables /lib/modules/2.6.16-cam/modules.dep
debian:~# grep ip_tables /lib/modules/2.6.16camiptables/modules.dep
/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/iptable_raw.ko: /lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko /lib/modules/2.6.16camiptables/kernel/net/netfilter/x_tables.ko
/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/iptable_nat.ko: /lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_nat.ko /lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko /lib/modules/2.6.16camiptables/kernel/net/netfilter/x_tables.ko
/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/iptable_mangle.ko: /lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko /lib/modules/2.6.16camiptables/kernel/net/netfilter/x_tables.ko
/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/iptable_filter.ko: /lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko /lib/modules/2.6.16camiptables/kernel/net/netfilter/x_tables.ko
/lib/modules/2.6.16camiptables/kernel/net/ipv4/netfilter/ip_tables.ko: /lib/modules/2.6.16camiptables/kernel/net/netfilter/x_tables.ko
debian:~#
je sais, c’est un peu le foutoir, mais tu as les résultats des commandes
il y a de mulitples options de networking, j’ai modifié les options de :
[quote]Location: │
│ -> Networking │
│ -> Networking support (NET [=y]) │
│ -> Networking options │
│ -> Network packet filtering (replaces ipchains) (NETFILTER [= │
│ -> IP: Netfilter Configuration │
│
[/quote]
Donc, à partir de IP Tables support, jusqu’à ARPTABLES (exclue), j’ai tout mis à M, alors que c’était à <>
Bon pour la compil, bien sur, se référer à Truc & Astuces, Ashgenesis - recompiler son kernel ., car il y a des paquets nécessaires d’installer …
en résumé :
### je sauvegarde la config utilisée lors de la dernière compilation
# mv /usr/src/linux-source-2.6.16/.config /usr/src/linux-source-2.6.16/.config_defaut_iptables
### je copie la config du noyau sur lequel j'ai booté, dans les sources
cp /boot/config-2.6.16-cam /usr/src/linux-source-2.6.16/.config
### je me place dans les sources
# cd /usr/src/linux-source-2.6.16
### je lance le bins, mais avant je fait un clean ?? est-ce util ??
# make-kpkg clean
# make-kpkg --append-to-version "camiptables" --revision "1" --initrd
buildpackage --config menuconfig
### si on te demande oui, dit oui -pour l'initrd-
### options (entre autres), voir plus haut "Location" ...
### je sors des sources, J'installe à partir de l'image créée .
# cd ..
# dpkg -i linux-image-2.6.16camiptables_1_i386.deb
Cependant, j’ai quelques erreurs, si quelqu’un peut me dire ce qu’il faut que je fasse ? les voici :
[quote]# pendant la compil :
CC drivers/pci/pcie/portdrv_pci.o
drivers/pci/pcie/portdrv_pci.c:86: attention : pcie_portdrv_save_config' defined but not used drivers/pci/pcie/portdrv_pci.c:95: attention :
pcie_portdrv_restore_config’ defined but not used
CC drivers/pci/pcie/portdrv_bus.o[/quote]
et : [quote]====== making target stamp-binary-arch [new prereqs: linux-headers-2.6.16camipta bles linux-image-2.6.16camiptables linux-uml-2.6.16camiptables linux-xen0-2.6.16 camiptables linux-xenu-2.6.16camiptables]======
====== making target binary-arch [new prereqs: stamp-binary-arch]======
====== making target stamp-binary [new prereqs: binary-indep binary-arch]======
====== making target binary [new prereqs: stamp-binary]======
arch package = linux-headers-2.6.16camiptables linux-image-2.6.16camiptables lin ux-uml-2.6.16camiptables linux-xen0-2.6.16camiptables linux-xenu-2.6.16camiptabl es
indep packages = linux-source-2.6.16camiptables linux-doc-2.6.16camiptables linu x-manual-2.6.16camiptables
make[1]: quittant le répertoire « /usr/src/linux-source-2.6.16 »
dpkg-genchanges -b -mUnknown Kernel Package Maintainer <unknown@unconfigured.in .etc.kernel-pkg.conf>
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-uml-2.6.16camiptables in control file bu t not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xenu-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: warning: package linux-xen0-2.6.16camiptables in control file b ut not in files list
dpkg-genchanges: binary-only upload - not including any source code
dpkg-buildpackage: binary only upload (no source included)
rm -f stamp-building
echo done > stamp-buildpackage[/quote]