Iptables + string match

2002-05-21 Par sujet dominique
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 [EMAIL PROTECTED]
  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éphone514.933.9861
 télécopieur  514.933.9546






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Iptables + string match

2002-05-21 Par sujet Aurélien Le Provost
Salut

Le Tuesday 21 May 2002 17:36, dominique a écrit dans le message :
THIS PATCH DOES NOT WORK WITH KERNEL 2.4.9 !!!

Ça veut dire ce que ça veut dire : ce patch ne marche pas avec le noyau 
2.4.9. Essaye avec un autre plus récent.

@+


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]