From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ming-Ching Tiew" Subject: Re: string matching in kernel 2.6 Date: Mon, 25 Jul 2005 11:33:44 +0800 Message-ID: <00bf01c590c9$abb6b030$0100a8c0@newlife> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org > > From: "Jan Engelhardt" > > > > If neither works, you can try abusing ipt_layer7 ;-) > > See http://l7-filter.sf.net/ > > > I had a quick look at the source of ipt_layer7, it's linearising the skb so that the pattern can be matched. For ipp2p, it simply skip the non-linear skb (and it has been accepted into pom-ng). So I think it should be quite easy if one wants to also handle the non-linear case, ie just linearise the skb. Not efficient, but it should work. Right ? Cheers.