From: "Patrick" Subject: string match patch Date: Mon, 12 Jul 2004 17:47:12 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <00c801c46827$8039c760$0200a8c0@milchreis> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C5_01C46838.43278FE0" Return-path: To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_00C5_01C46838.43278FE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am worried .. after I upgraded my kernel to 2.4.27-rc3 I also noticed = that theres a new iptables version ( 1.2.11 ) .. I updated it, after = this I noticed that I forgot to patch my kernel with the pom-ng = extra/string patch .. after I patched it I noticed that I dont have any = new menu point nor do I have CONFIG_IP_NF_MATCH_STRING in my kernel = config .. the patch pretends to be applied correctly, which I can also = verify, because the header files are present. After booting my new kernel I recompiled iptables .. it also built the = libipt_string.so as it is supposed to .. to verify that its included = successfully I used 'iptables -m string -h' which returns: STRING match v1.2.11 options: --string [!] string Match a string in a packet --hex-string [!] string Match a hex string in a packet It looks as if everything's correct, but it is not. I cant use the = string match at all. Everytime I get the reply "iptables: No = chain/target/match by that name" .. the syntax is correct .. e.g. the = syntax from the example of the POM page: iptables -A INPUT -m string --string 'cmd.exe' -j QUEUE iptables: No chain/target/match by that name I am not sure wether it has something to do with the kernel or not .. = but I tried all kernels between 2.4.20 and 2.4.27-rc3 and the entry = 'CONFIG_IP_NF_MATCH_STRING' did never appear ..=20 Any further help's appreciated Sincerely yours Patrick ------=_NextPart_000_00C5_01C46838.43278FE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I am worried .. after I upgraded my = kernel to=20 2.4.27-rc3 I also noticed that theres a new iptables version ( 1.2.11 ) = .. I=20 updated it, after this I noticed that I forgot to patch my kernel with = the=20 pom-ng extra/string patch .. after I patched it I noticed that I dont = have any=20 new menu point nor do I have CONFIG_IP_NF_MATCH_STRING in my kernel = config ..=20 the patch pretends to be applied correctly, which I can also verify, = because the=20 header files are present.
 
After booting my new kernel I = recompiled iptables=20 .. it also built the libipt_string.so as it is supposed to .. to verify = that its=20 included successfully I used 'iptables -m string -h' which = returns:
 
STRING match v1.2.11 = options:
--string [!]=20 string          Match a = string in a=20 packet
--hex-string [!] string      Match a = hex=20 string in a packet
 
It looks as if everything's correct, = but it is not.=20 I cant use the string match at all. Everytime I get the reply "iptables: = No=20 chain/target/match by that name" .. the syntax is correct .. e.g. the = syntax=20 from the example of the POM page:
 
iptables -A INPUT -m string --string = 'cmd.exe' -j=20 QUEUE
iptables: No chain/target/match by that name
 
I am not sure wether it has something = to do with=20 the kernel or not .. but I tried all kernels between 2.4.20 and = 2.4.27-rc3 and=20 the entry 'CONFIG_IP_NF_MATCH_STRING' did never appear ..
 
Any further help's appreciated
 
 
Sincerely yours
Patrick
 
 
------=_NextPart_000_00C5_01C46838.43278FE0--