Re: IPtables l7 string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 12 Apr 2007 13:12:22 -0300
"Stephan Higuti" <higuti.sam@xxxxxxxxx> wrote:

> > from iptables man page:
> >
> > --algo  bm|kmp
> >            Select the pattern matching strategy. (bm = Boyer-Moore,
> >              kmp  = Knuth-Pratt-Morris)
> >
> > Ethy
> 
> So, should i use --algo bm or --algo kmp right?
> Wich is better?

Depends on what you are triyng to achieve.
Take some time to read the first lines from lib/ts_bm.c and lib/ts_kmp.c
under kernel tree. 
The answer is there (I think!).

Ethy



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux