From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Subject: [PATCH] Add support of Boyer-Moore to the string match Date: Fri, 26 Aug 2005 01:49:08 +0200 Message-ID: <430E58F4.6090008@eurodev.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070604030000060400090000" Cc: Harald Welte , Patrick McHardy Return-path: To: Netfilter Development Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. --------------070604030000060400090000 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, Davem has recently applied my patch to add support for Boyer-Moore algorithm. So, the patch attached enables the use of it in the string match for iptables that I submitted[1] some days ago. [1]https://lists.netfilter.org/pipermail/netfilter-devel/2005-August/021002.html Signed-off-by: Pablo Neira Ayuso --------------070604030000060400090000 Content-Type: text/plain; name="x" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="x" Index: netfilter-2.6.14/net/ipv4/netfilter/Kconfig =================================================================== --- netfilter-2.6.14.orig/net/ipv4/netfilter/Kconfig 2005-08-25 21:22:55.000000000 +0200 +++ netfilter-2.6.14/net/ipv4/netfilter/Kconfig 2005-08-26 01:41:51.000000000 +0200 @@ -416,6 +416,7 @@ select TEXTSEARCH select TEXTSEARCH_KMP select TEXTSEARCH_FSM + select TEXTSEARCH_BM help This option adds a `string' match, which allows you to look for pattern matchings in packets. --------------070604030000060400090000--