Hi sir. Can you share the code
of some simple applications built on hyperscan, not hyperscan examples?
Sent from Samsung Mobile
-------- Original message --------
From: hyperscan-request(a)lists.01.org
Date: 2016/10/25 2:00 AM (GMT+07:00)
To: hyperscan(a)lists.01.org
Subject: Hyperscan Digest, Vol 11, Issue 7
Send Hyperscan mailing list submissions to
hyperscan(a)lists.01.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/hyperscan
or, via email, send a message with subject or body 'help' to
hyperscan-request(a)lists.01.org
You can reach the person managing the list at
hyperscan-owner(a)lists.01.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Hyperscan digest..."
Today's Topics:
1. simple application (Hiep Pham)
2. Re: simple application (Nagaev Boris)
----------------------------------------------------------------------
Message: 1
Date: Mon, 24 Oct 2016 10:04:12 +0700
From: Hiep Pham <hieppso194(a)gmail.com>
To: hyperscan(a)lists.01.org
Subject: [Hyperscan] simple application
Message-ID:
<CAJWhGX-hUBPSnMAgxMdO3Vb3AMbkBQEAnOvcRMuuW1ZE9pcCXg(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi sir.
I wanna create a http header filter built on hyperscan. Do you instruct me
or give me some applications build on hyperscan?. Thank you so much.
Best regard.
Hiep
--
Hanoi University Of Science And Technology ,
School of Information and Technology,
KDE Laboratory,
Pham Tuan Hiep,
phone: (+84) 918632952
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<
http://lists.01.org/pipermail/hyperscan/attachments/20161024/f4708d59/att...
------------------------------
Message: 2
Date: Mon, 24 Oct 2016 10:41:26 +0100
From: Nagaev Boris <bnagaev(a)gmail.com>
To: Hyperscan regular expression matching library
<hyperscan(a)lists.01.org>
Subject: Re: [Hyperscan] simple application
Message-ID:
<CAFC_Vt7K_epgH0oKEZuMZ5+OObFt6Rcc-aoCXtj_HfJopXzDjA(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Mon, Oct 24, 2016 at 4:04 AM, Hiep Pham <hieppso194(a)gmail.com> wrote:
Hi sir.
I wanna create a http header filter built on hyperscan. Do you instruct me
or give me some applications build on hyperscan?. Thank you so much.
Hi
You can compile one hyperscan database as in simplegrep tool before
starting a server. The database can be shared between requests,
because it is used read-only. A scratch can be allocated once per
worker (OS thread). If your server is single-threaded, you need only
one scratch. In request handler you should call scanning function
similar to what is done in simplegrep tool for each line.
--
Best regards,
Boris Nagaev
------------------------------
Subject: Digest Footer
_______________________________________________
Hyperscan mailing list
Hyperscan(a)lists.01.org
https://lists.01.org/mailman/listinfo/hyperscan
------------------------------
End of Hyperscan Digest, Vol 11, Issue 7
****************************************