by bykhun on 8/22/23, 8:48 PM with 29 comments
by hdmoore on 8/22/23, 10:32 PM
Salient quote below:
>In May 2005, Georgi Guninski published "64 bit qmail fun", three vulnerabilities in qmail (CVE-2005-1513, CVE-2005-1514, CVE-2005-1515):
[snip]
>Surprisingly, we re-discovered these vulnerabilities during a recent qmail audit; they have never been fixed because, as stated by qmail's author Daniel J. Bernstein (in https://cr.yp.to/qmail/guarantee.html):
>>"This claim is denied. Nobody gives gigabytes of memory to each qmail-smtpd process, so there is no problem with qmail's assumption that allocated array lengths fit comfortably into 32 bits."
1. https://www.qualys.com/2020/05/19/cve-2005-1513/remote-code-...
edit: added quote from referenced url
by kens on 8/22/23, 10:48 PM
by jongjong on 8/22/23, 11:33 PM
Correct code is easy to read because it's close to its theoretical minimum size. It reminds me of the quote "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."
by gerdesj on 8/22/23, 11:26 PM
I also ran several other mail systems at the same time (and still do). Exchange's smtpd is still a bit of a pain and I never put it on the internet directly.
Nowadays (last 15 years) I use Exim for a MTA/proxy - at home and at work.
by lockhouse on 8/23/23, 12:59 AM
by latenightcoding on 8/22/23, 10:33 PM
by daneel_w on 8/22/23, 10:30 PM
by technick on 8/22/23, 11:16 PM
by johnea on 8/23/23, 1:46 AM
So much could be learned in modern *nix distributions from this philosophy...