Linux Netfilter discussions
 help / color / mirror / Atom feed
* string matching in kernel 2.6
@ 2005-07-21  4:56 muhaimin
  2005-07-21  2:09 ` Ming-Ching Tiew
  0 siblings, 1 reply; 11+ messages in thread
From: muhaimin @ 2005-07-21  4:56 UTC (permalink / raw)
  To: netfilter


I found netfilter in kernel 2.6 doesnt support packet 
string-matching.How do i make it works in kernel 2.6?

-- 
Muhaimin Dzulfakar
Security Engineer
Extol Corporation (M) Sdn Bhd



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: string matching in kernel 2.6
@ 2005-07-25  3:33 Ming-Ching Tiew
  2005-07-25  6:17 ` Jan Engelhardt
  0 siblings, 1 reply; 11+ messages in thread
From: Ming-Ching Tiew @ 2005-07-25  3:33 UTC (permalink / raw)
  To: netfilter


> 
> From: "Jan Engelhardt" <jengelh@linux01.gwdg.de>
> > 
> > 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.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-25  6:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-21  4:56 string matching in kernel 2.6 muhaimin
2005-07-21  2:09 ` Ming-Ching Tiew
2005-07-21  3:17   ` Ming-Ching Tiew
2005-07-21  6:13     ` Jan Engelhardt
2005-07-21  6:32       ` Ming-Ching Tiew
2005-07-21  6:45         ` Jan Engelhardt
2005-07-21  7:03     ` Jozsef Kadlecsik
2005-07-21  7:11       ` Ming-Ching Tiew
2005-07-21  7:38         ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2005-07-25  3:33 Ming-Ching Tiew
2005-07-25  6:17 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox