🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69744

Re: Rejecting bad Message-IDs

#69744
From: Frank
Date: Sat, 14 Aug 2004 00:31
70 lines
4606 bytes
On 13 Aug 2004 20:55:17 GMT, curt@kcwc.com (Curt Welch) wrote:

>Frank wrote:
>> On Fri, 13 Aug 2004 11:52:17 -0000, Andrew - Supernews
>> <andrew+nonews@supernews.com> wrote:
>>
>> >99%+ of them are <md5hash@domain> where "domain" is any of the
>> >NNTPServer resellers or hosted sites. i.e. teranews, 1usenet,
>> >meganetnews etc. It seems there is only one person in the industry who
>> >thinks that this is a good idea.
>>
>> Can you explain why <md5hash@domain> are more prone to be duplicated,
>> and is this not the default way Agent generates Message IDs (with a
>> far more common domain)?
>>
>> If so, is it then right to assume it's how NNTPServer generates the
>> hash that's the problem, rather than the <md5hash@domain> format
>> itself?
>
>Using a hash is not bad.  Using a hash based only on the body of the
>message is bad.  And that is what they are doing.  If you hashed the body
>and the headers and used that value, it would be ok.  If you could throw
>in some more entropy bits from a local source like a microsecond clock or
>the bits from the configuration file of the newsreader, or header data from
>the group you were posting to, that would be even better.

Thanks. I thought this was how they did it - I think it was a post by
you some time ago in fact, perhaps in this group, where I read it, but
I was not sure if they changed how they did it since.

I assumed this method was used because -- in theory -- it's unlikely
to the point of impossible that an identical article could be
*typewritten* more than once. I didn't even consider that the same
M-ID would be given to a reposted article -- even though it's an
obvious (side)effect -- because even to a layman like me, that seems
to be a silly idea. Having read the other -- very informative -- post,
it's even more clear why it's not an ideal thing to do. 

You said in that post that it can prevent the same spam message
appearing more than once, which is presumably the reason they do it.
If so, isn't this a very unsophisticated way to stop spam (and easily
evaded if spam software generates random characters in the body for
each post)?

>128 bits however is overkill.  I think the number needed for todays size
>Usenet is closer to 40 (what it would take to get articles dropped by
>accidential dup ids below the noise floor of all the other reaons
>articles get dropped these days).  You need to add about 2 bits per year so
>128 bits is about what you might need around the year 2046 if usenet
>continues to grow at the current pace.
>
>And hex encoding only puts 4 bits per character which is poor.  It's trival
>to get 6 per character reducing the Message-Id to only 7 characters.
>
>So instead of this:
>
>   <fd3f59d344b09c7e398f7d260bff49a0@news.meganetnews.com>
>
>You could use message-ids like this (ignoring the syntax compatibilty
>problem):
>
>   <dI8Khj0>
>
>And usenet would still work as well as it works today.  For safety and
>growth however, it would be easy to justify more bits, but 128 bits is
>around 3 times the number you need for todays usenet.

Isn't the Agent M-ID even greater though; 170 bits? That seems like
uber-overkill. :)
Technical Details
Message-ID: <411d5d87$0$39188$c3e8da3@news.astraweb.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!news.astraweb.com!newsrouter1.astraweb.com!not-for-mail
References: <20040809200002.772$KV@newsreader.com> <06047.b84200@liebchen.winews.net> <bill-B4CBB1.10463511082004@fireproof.scconsult.com> <20040811160137.822$iC@newsreader.com> <120820041846546295%planB@newsreaders.com> <slrnchnvj0.1bsd.andrew+nonews@trinity.supernews.net> <30346.d84200@liebchen.winews.net> <slrnchparh.1bsd.andrew+nonews@trinity.supernews.net> <411d1d7d$0$29165$c3e8da3@news.astraweb.com> <20040813165517.862$eI@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <411d5d87$0$39188$c3e8da3@news.astraweb.com>
Subject: Re: Rejecting bad Message-IDs
Date: Sat, 14 Aug 2004 00:31:40 +0000
From: Frank
References: <20040809200002.772$KV@newsreader.com> <06047.b84200@liebchen.winews.net> <bill-B4CBB1.10463511082004@fireproof.scconsult.com> <20040811160137.822$iC@newsreader.com> <120820041846546295%planB@newsreaders.com> <slrnchnvj0.1bsd.andrew+nonews@trinity.supernews.net> <30346.d84200@liebchen.winews.net> <slrnchparh.1bsd.andrew+nonews@trinity.supernews.net> <411d1d7d$0$29165$c3e8da3@news.astraweb.com> <20040813165517.862$eI@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!news.astraweb.com!newsrouter1.astraweb.com!not-for-mail
Newsgroups: news.software.nntp
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 70
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: 7fa3268a.news.astraweb.com
X-Trace: DXC=^>J[mSKV3c`JRZZkg^aP1jL?0kYOcDh@jDIjH?^[D;
 ncb0:eW:1\94neg5SFDCFflhBXJ9L0@eDNi:c; nXB[IY2m