🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Curt Welch Wed, 04 May 2005 00:07
easynews message-ids
#71414
Author: Curt Welch
Date: Wed, 04 May 2005 00:07
24 lines
1882 bytes
Well, I see today easynews is sending out message-ids like this:

  <ziJde.959$R24.379@fe05!news.easynews.com>

My news server is rejecting all these articles because it has an '!' in it.
(following the son-of-1036 spec).

What's the most recent RFC that talks about Usenet Message-IDs?  Does it
allow '!'?

Are any other sites rejecting these or is it just me?

I've had to change my Message-ID checking algorithm about 10 times now
because sites keep viloating the standards.  I've even seen a few
Message-IDs with multiple @'s them being accepted at most sites except
mine.

I currently allow almost any printable character in any order.  It looks
like I might have to change that from "almost any printable character" to
"all printable characters" now.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: easynews message-ids
#71413
Author: Russ Allbery
Date: Wed, 04 May 2005 00:37
38 lines
2677 bytes
Curt Welch <curt@kcwc.com> writes:

> Well, I see today easynews is sending out message-ids like this:
>   <ziJde.959$R24.379@fe05!news.easynews.com>

> My news server is rejecting all these articles because it has an '!' in it.
> (following the son-of-1036 spec).

> What's the most recent RFC that talks about Usenet Message-IDs?  Does it
> allow '!'?

There isn't anything more recent than RFC 1036.  In practice, I would
recommend that people follow RFC 2822 syntax for message IDs, which does
allow "!".  However, note that this violates the requirement in RFC 1036
that the right-hand side of a message ID contain a fully-qualified domain,
since a domain by definition can't contain "!".

> I've had to change my Message-ID checking algorithm about 10 times now
> because sites keep viloating the standards.  I've even seen a few
> Message-IDs with multiple @'s them being accepted at most sites except
> mine.

I reject several double-@ articles every day.

> I currently allow almost any printable character in any order.  It looks
> like I might have to change that from "almost any printable character"
> to "all printable characters" now.

The new NNTP standard will say that for NNTP purposes, most any printable
character is okay, but the real constraint is the underlying article
format and any constraints imposed by the underlying article format must
also be followed.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: easynews message-ids
#71415
Author: Curt Welch
Date: Wed, 04 May 2005 00:43
23 lines
2066 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Curt Welch <curt@kcwc.com> writes:
>
> > Well, I see today easynews is sending out message-ids like this:
> >   <ziJde.959$R24.379@fe05!news.easynews.com>
>
> > My news server is rejecting all these articles because it has an '!' in
> > it. (following the son-of-1036 spec).
>
> > What's the most recent RFC that talks about Usenet Message-IDs?  Does
> > it allow '!'?
>
> There isn't anything more recent than RFC 1036.  In practice, I would
> recommend that people follow RFC 2822 syntax for message IDs, which does
> allow "!".  However, note that this violates the requirement in RFC 1036
> that the right-hand side of a message ID contain a fully-qualified
> domain, since a domain by definition can't contain "!".

Do you know if the current INN is accepting those Message-IDs?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: easynews message-ids
#71416
Author: Russ Allbery
Date: Wed, 04 May 2005 00:53
19 lines
2015 bytes
Curt Welch <curt@kcwc.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> There isn't anything more recent than RFC 1036.  In practice, I would
>> recommend that people follow RFC 2822 syntax for message IDs, which
>> does allow "!".  However, note that this violates the requirement in
>> RFC 1036 that the right-hand side of a message ID contain a
>> fully-qualified domain, since a domain by definition can't contain "!".

> Do you know if the current INN is accepting those Message-IDs?

Looks like it is.  As near as I can tell, the INN message ID checker
basically copied the RFC 822 syntax.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: easynews message-ids
#71418
Author: Bert Hyman
Date: Wed, 04 May 2005 14:27
24 lines
2071 bytes
rra@stanford.edu (Russ Allbery) wrote in
news:87wtqf4xsc.fsf@windlord.stanford.edu: 

> Curt Welch <curt@kcwc.com> writes:
>> Russ Allbery <rra@stanford.edu> wrote:
> 
>>> There isn't anything more recent than RFC 1036.  In practice, I
>>> would recommend that people follow RFC 2822 syntax for message
>>> IDs, which does allow "!".  However, note that this violates the
>>> requirement in RFC 1036 that the right-hand side of a message ID
>>> contain a fully-qualified domain, since a domain by definition
>>> can't contain "!". 
> 
>> Do you know if the current INN is accepting those Message-IDs?
> 
> Looks like it is.  As near as I can tell, the INN message ID
> checker basically copied the RFC 822 syntax.

Since, within the context of USENET anyway, the only purpose of
Message-IDs is to hang a "unique" tag on each message, maybe this
hangup on format is an unnecessary complication. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: easynews message-ids
#71481
Author: Russ Allbery
Date: Wed, 04 May 2005 15:45
31 lines
2720 bytes
Bert Hyman <bert@iphouse.com> writes:
> rra@stanford.edu (Russ Allbery) wrote:

>> Looks like it is.  As near as I can tell, the INN message ID
>> checker basically copied the RFC 822 syntax.

> Since, within the context of USENET anyway, the only purpose of
> Message-IDs is to hang a "unique" tag on each message, maybe this
> hangup on format is an unnecessary complication. 

You can't guarantee uniqueness unless you give each message ID generator
its own namespace.  That's the purpose of putting a FQDN in the RHS.  That
by itself is not entirely sufficient (you also have to make sure that the
message ID generation algorithm isn't going to generate duplicates and you
have to deal with multiple message ID generators running within the same
FQDN), but in practice it goes a very long way.

If you do something bizarrely obscure on the RHS, you're probably okay
even if it isn't an FQDN, but lots of sites put things like unqualified
system names on the RHS, which really is playing with fire in terms of
possible duplicates.

Of course, there's likely more Usenet lossage (by far) from other factors
than from this, but when it's not particularly hard to get it right, I
don't feel a lot of sympathy for people deciding to get it wrong.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: easynews message-ids
#71498
Author: Curt Welch
Date: Wed, 04 May 2005 20:18
77 lines
5066 bytes
Bert Hyman <bert@iphouse.com> wrote:
> rra@stanford.edu (Russ Allbery) wrote in
> news:87wtqf4xsc.fsf@windlord.stanford.edu:
>
> > Curt Welch <curt@kcwc.com> writes:
> >> Russ Allbery <rra@stanford.edu> wrote:
> >
> >>> There isn't anything more recent than RFC 1036.  In practice, I
> >>> would recommend that people follow RFC 2822 syntax for message
> >>> IDs, which does allow "!".  However, note that this violates the
> >>> requirement in RFC 1036 that the right-hand side of a message ID
> >>> contain a fully-qualified domain, since a domain by definition
> >>> can't contain "!".
> >
> >> Do you know if the current INN is accepting those Message-IDs?
> >
> > Looks like it is.  As near as I can tell, the INN message ID
> > checker basically copied the RFC 822 syntax.
>
> Since, within the context of USENET anyway, the only purpose of
> Message-IDs is to hang a "unique" tag on each message, maybe this
> hangup on format is an unnecessary complication.

Yeah, I actually tend to argue that position more than most.  I don't
really agree with Russ in saying we need to maintain separate name spaces.
You do if you want to guarantee uniqueness.  But there's no need for
guaranteed uniqueness no Usenet.  There's only a need to reduce the
probability of a collision well below the noise floor created by the
probability of articles on Usenet lost for other reasons.

Usenet articles get lost all the time.  I dropped thousands of articles
yesterday because easynews decided to switch Message-ID formats in a way
which was incompatible with son-of-1036.  Russ talked about the fact he
drops a couple of double-@ articles every day.  Most news servers will
drop, or filter, many articles every day for reasons unknown to the poster
of the article.  That puts the noise floor of Usenet articles lost to other
reasons besides message-Id dups at around 1 out of a million.  If you
create a message-id generation algorithm that causes articles to be lost
because of a dup at a rate of about 1 out 10^12, you will be far enough
below the normal Usenet drop rate that the dups will not be an issue.  For
every article lost because it was a dup, you will drop millions of articles
for other reasons.

A hash with log2(10^24) bits will probably get you to that point.  And
that's only a 13 character hash with base64 characters.

Your ID:

  <Xns964C604B1B9A4VeebleFetzer@127.0.0.1>

Looks like it's got a 16 character hash in it already.  You could probably
throw out the rest of those character and it will still probably be
overkill for Usenet.

However, one problem is that Usenet Message-IDs can end up in email
messages as well.  So it's important to try and keep the standard in sync
with email.  And more important is the fact that there are servers on
Usenet which follow various Message-ID standards already, and if you remove
all the format requirements, you will be asking for a large increase in the
number of articles magically lost in the either without the poster knowing
it has happened.

And there's no reason not to try to get as close to unique IDs as possible
so maintaining separate name spaces with the @FQDN can't be seen as bad.

My server applies very strict format checks to the Message-ID for all
articles posted from my server, but lets in almost anything from peers.  So
I do what I can to prevent odd Message-IDs from floating around Usenet,
while trying to make sure I don't drop anything that shouldn't be dropped.
And this way, if there's a problem, the poster sees the error, and can fix
it, instead of allowing odd Message-IDs which end up making it to only a
percentage of all Usenet sites without the poster knowing about the
problem.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads