[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Iptables + string match



J'ai présentement de la misère à installer string.patch pour Iptables. Voici ce que j'ai fait:

make pending-patches KERNEL_DIR=/usr/src/kernel-source-2.4.18/
make patch-o-matic KERNEL_DIR=/usr/src/kernel-source-2.4.18/
The extra/string patch:
  Author: Emmanuel Roger <winfield@freegates.be>
  Status: Working, not with kernel 2.4.9

  This patch adds CONFIG_IP_NF_MATCH_STRING which allows you to
  match a string in a whole packet.

  THIS PATCH DOES NOT WORK WITH KERNEL 2.4.9 !!!

  Do you want to apply this patch [N/y/t/f/q/?] y

make KERNEL_DIR=/usr/src/kernel-source-2.4.18/
make install KERNEL_DIR=/usr/src/kernel-source-2.4.18/
cd KERNEL_DIR=/usr/src/kernel-source-2.4.18/
make menuconfig

Dans le menu de Netfilter je n'ai pas l'option: String match support

Sauf que si je tests pour savoir si iptables fonctionne avec le string
/usr/local/sbin/iptables -m string -help

STRING match v1.2.6a options:
--string [!] string             Match a string in a packet

backup:/home/dominique/iptables-1.2.6a# /usr/local/sbin/iptables -m string --string "Ceci est un test" -j DROP
iptables v1.2.6a: no command specified
Try `iptables -h' or 'iptables --help' for more information.


merci

--

Dominique Arpin___________________________[    espace
gestionnaire réseau                          courbe    ]

                                         http://www.espacecourbe.com/
                                         téléphone    514.933.9861
                                         télécopieur  514.933.9546






--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: