[Click] background processing?
Bart Braem
bart.braem at ua.ac.be
Fri Jan 26 02:26:11 EST 2007
On Thursday 25 January 2007 21:48, Roman Chertov wrote:
> Nicholas Murphy wrote:
> > Thanks for the reply. In a nutshell, here's what I want to do: I'm
> > including cryptographic signatures in every packet. I want those
> > signatures to be verified _eventually_, but I don't want verification
> > to happen synchronously with packet reception. I just want it to be
> > a background process that grabs spare cpu cycles. Unfortunately, I
> > don't think co-operative multitasking is quite what I want here as I
> > don't want the verification code, which is potentially long-running,
> > to interfere with packet processing.
>
> Store the packets on disk, in a circular/linear type buffer and then
> analyze them at your own leisure time. I've made a post a while ago
> with the code for device drivers which allow you to do just that.
Or pass them to a second, separate Click instance that runs on a dedicated
tun/tap device. Then you can buffer packets in Queue elements there like in
any other Click configuration...
Bart
--
Bart Braem
PATS research group
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G2.36
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.35.19
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20070126/1cf43709/attachment.pgp
More information about the click
mailing list