svn commit: r352228 - head/sys/netinet

Andrew Gallatin gallatin at cs.duke.edu
Fri Sep 13 12:24:22 UTC 2019


On 2019-09-11 17:16, Conrad Meyer wrote:
> Small nitpick:
> 
> On Wed, Sep 11, 2019 at 11:48 AM Andrew Gallatin <gallatin at freebsd.org> wrote:
>>    Note that on a system under a syn flood attack, arc4random()
>>    becomes quite expensive, and the chacha_poly crypto that it calls
> 
> arc4random uses chacha20 — there is no "poly" involved.
> 
> Best,
> Conrad
> 

Sorry for the mis-statement.  poly is associated with chacha in my mind.
In any case, calling arc4random() and the chacha it uses millions of
times per second is expensive, and avoiding it provides some headroom.

Drew


More information about the svn-src-all mailing list