🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86519

Re: NNTP article headers sequence

#86519
From: Doc O'Leary
Date: Thu, 09 Apr 2015 15:10
28 lines
2743 bytes
For your reference, records indicate that 
Russ Allbery <eagle@eyrie.org> wrote:

> Doc O'Leary  <droleary@2usenet2014.subsume.com> writes:
> 
> > It might not be “guaranteed”, but I think you’ll find that the
> > implementation of most hash tables is generally going to return keys in
> > the same order for any hash that had all the same keys inserted in the
> > same order.
> 
> That used to be the case, and then security researchers uncovered a lot of
> interesting denial of service attacks that can be launched against any
> program that has that property.  (The short version is that hashing
> algorithms always have distribution issues, and if you know what keys that
> algorithm has trouble with and some control over what's being hashed, you
> can reduce a lot of hashes to effectively a linked list.)

I did not know that; thanks for the correction.  I’d expect a good hash
library that implements that (universal hashing) to also preserve key
order externally (assuming it was deterministic in previous versions)
for maximum backward compatibility, though.  Regardless, I guess I’m
going to have to look into sorting any key arrays I use, just in case.

-- 
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

Technical Details
Message-ID: <mg64op$62r$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
References: <mg2271$o60$1@news.mixmin.net> <87d23fe3nx.fsf@hope.eyrie.org> <mg273j$33l$1@news.mixmin.net> <mg3dj8$m5k$1@dont-email.me> <mg44hq$eeu$1@news.mixmin.net> <mg4ogm$nff$1@dont-email.me> <87y4m22btz.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <mg64op$62r$1@dont-email.me>
Subject: Re: NNTP article headers sequence
Date: Thu, 09 Apr 2015 15:10:17 +0000
From: Doc O'Leary <droleary@2usenet2014.subsume.com>
References: <mg2271$o60$1@news.mixmin.net> <87d23fe3nx.fsf@hope.eyrie.org> <mg273j$33l$1@news.mixmin.net> <mg3dj8$m5k$1@dont-email.me> <mg44hq$eeu$1@news.mixmin.net> <mg4ogm$nff$1@dont-email.me> <87y4m22btz.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Subsume Technologies, Inc.
Lines: 28
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 9 Apr 2015 15:10:17 +0000 (UTC)
Injection-Info: mx02.eternal-september.org;
 posting-host="35a2a0a28e4aa659e58d71f46ac8d861";
 logging-data="6235"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18iCdg7CafrQsmHwGft578tN5wa76mBJCc="
User-Agent: com.subsume.NNTP/1.0.0
Cancel-Lock: sha1:yGjiNdftK7sG9tlJf/BVWPHYrM4=