Re: Cost analysis: (was: Getting to Consensus: CONTINUATION-related issues)

In message <>
, Roberto Peon writes:

> How does the client know that 1MB cannot compress to 16KB? 1MB *can*
> compress to 16kb.

Thanks for bringing this up:

A 1 megabyte request can indeed be compressed to 16KB, if

A) it is a DoS attack

B) it is utterly demented.  See also A.


C) up to 64 requests were spent previously priming the compressor state
   on the other side for this very purpose.  See also A.

Implementors beware.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Received on Sunday, 20 July 2014 07:15:25 UTC