From: Jan Kogut <jkogut@genesilico.pl>
To: Werner Maier <maier@fidion.de>
Cc: netfilter@lists.netfilter.org
Subject: Re: Netfilter Hooks
Date: Thu, 21 Jun 2007 17:30:02 +0200 [thread overview]
Message-ID: <467A997A.9080706@genesilico.pl> (raw)
In-Reply-To: <498E8850061D9A008669D70D@[192.168.42.19]>
Hi,
>
> look for "string" in the manpage to iptables.
>
> iptables ... -m string --string "GOOGLE" --algo bm ...
>
> should be the right pointer for you.
>
I am wondering about the usability of the Knuth-Pratt-Morris algorithm
(--algo kmp).
here
http://www-igm.univ-mlv.fr/~lecroq/string/node14.html#SECTION00140
vs
http://www-igm.univ-mlv.fr/~lecroq/string/node8.html#SECTION0080
we can see that Boyer-Moore gives definitely better performance than
Knuth-Pratt-Morris.
That is why I am curious about when kmp is better than bm ?
Cheers,
JK
--
Regards,
Jan Kogut
Computer Systems Administrator
Laboratory of Bioinformatics and Protein Engineering
International Institute of Molecular and Cell Biology
ul. Ks. Trojdena 4
02-109 Warsaw, Poland
http://genesilico.pl
:.
next prev parent reply other threads:[~2007-06-21 15:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 1:41 Netfilter Hooks Tercio F. Gaudencio Filho
2007-06-21 7:09 ` Werner Maier
2007-06-21 15:30 ` Jan Kogut [this message]
2007-06-21 18:14 ` Juan León
2007-06-21 18:29 ` Jan Kogut
2007-06-21 12:09 ` Elvir Kuric
-- strict thread matches above, loose matches on Subject: below --
2001-12-04 13:20 Netfilter hooks Simona
2001-12-04 21:58 ` José Luis Domingo López
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=467A997A.9080706@genesilico.pl \
--to=jkogut@genesilico.pl \
--cc=maier@fidion.de \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.