conf/178504: [patch] switch logs compression from bzip2 to xz

Ulrich Spörlein uqs at FreeBSD.org
Wed May 15 14:00:01 UTC 2013


The following reply was made to PR conf/178504; it has been noted by GNATS.

From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs at FreeBSD.org>
To: freebsd-gnats-submit at freebsd.org
Cc: eadler at freebsd.org
Subject: Re: conf/178504: [patch] switch logs compression from bzip2 to xz
Date: Wed, 15 May 2013 15:50:09 +0200

 This is not only an issue for CPU, but more for RAM. XZ uses a lot more
 RAM to compress files, and if an attacker can spam logfiles fast enough,
 especially those that are not rotated on size, like maillog, then they
 can probably gobble up enough RAM to make it be a problem.
 
 I guess the low entropy of logfiles works in our favor here, however.
 
 Cheers,
 Uli


More information about the freebsd-bugs mailing list