🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #124220

Re: More microsoft usenet spam (another proposed filtering rule)

#124220
From: D. Stussy
Date: Tue, 16 Feb 2010 01:16
179 lines
8944 bytes
"Whiskers" <catwheezel@operamail.com> wrote in message
news:slrnhnjnla.es9.catwheezel@ID-107770.user.individual.net...
> On 2010-02-15, D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> > "Whiskers" <catwheezel@operamail.com> wrote in message
> > news:slrnhnjcmf.es9.catwheezel@ID-107770.user.individual.net...
> >> On 2010-02-15, D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> >> > "Whiskers" <catwheezel@operamail.com> wrote in message
> >> > news:slrnhnj466.es9.catwheezel@ID-107770.user.individual.net...
> >> >> On 2010-02-15, News Guy <News@Guy.com> wrote:
> >> >> > Whiskers wrote:
> >> >> >> So a news-server that over-rides a valid user-generated MID is
> >> >> >> behaving badly.
>
> [...]
>
> >> > As a side note, any MID that uses an RFC 2606 domain will never meet
> >> > the uniqueness quality and is rejected on sight at my server.  There
> >> > are people who are using "localhost" and other such nonsense in
their
> >> > message ids.
> >>
> >> [...]
> >>
> >> I take it that by "RFC 2606 domain" you mean the Reserved Top Level
> >> Domains:
> >>
> >>  .test
> >>  .example
> >>  .invalid
> >>  .localhost
> >
> > Not exclusively, but they are included.  What is also included is
"example"
> > as the second-level element when used with a global-TLD.  The RFC
defines
> > only three gTLDs for which it is reserved, but the ICANN contracts for
the
> > other gTLDs are the authority for the reservation elsewhere.  "example"
is
> > PERMITTED as a registerable 2LD under the ccTLDs, and is actually
> > registered under ".de".
>
> Have you thought of blocking MIDs with IP numbers or non-registered
> domains in that position?  What about @4ax.com?

Yes.  However, using the IP address of the originating host is also a
unique identifier as client programs don't anycast.  Technically, IP
address literals should be in brackets ("[" and "]") when they replace
domain names but such isn't done.  Although I don't kill such when it
appears in the message-ID field, I do kill unbracketed IP addresses when
they appear in mailbox designations.

As for non-registered domains, not unless they annoy me, such as "phx.gbl"
used by Micro$oft, which I kill not only in Usenet but also in my mail and
web servers as well.

> >> Although those are technically wrong in the FQDN position in a MID,
they
> >> don't make the MID non-unique - if they could do that, then so could
any
> >> proper FQDN too, particularly the notorious default used by Forte
Agent
> > or any of the 'big' news-server or ISP domains.
> >
> > Whether the MID is actually unique or not isn't the point.
>
> Oh Yes It Is!

No, it's not.  One has to guarentee uniqueness.  Uniqueness by hapinstance
isn't sufficient.

> > Their use removes the guarentee of uniqueness,
>
> Oh No It Doesn't!

Yes, it does.  Uniqueness in the domain-part to a single source no longer
holds true, so there's nothing preventing these independent sources from
generating the same local-part and thus causing a collision.

> > since anyone could use them when no one should.
>
> Non sequitur.

Then why are there people doing it?

> > Since they are not supposed to appear on the live Internet
> > (except for ".invalid" -- in From or Sender headers, or their Resent-*
> > equivalents), their use indicates a misconfiguration,
>
> Technically, yes.
>
> > and that
> > misconfiguration is sufficient grounds for which to refuse the message.
>
> In your opinion, perhaps.

And that of others, else RFC 2606 would never have been written.

> >> The unique part of the MID has to be to the left of the @ not to the
> >> right.  Using an FQDN that isn't 'proper', doesn't actually break
> >> anything.
> >
> > The entire MID has to be unique.
>
> Not in every part, it doesn't; only at the start of the part to the left
> of the @ sign.  See the RFCs I mentioned earlier.  In fact, by specifying
> an FQDN the RFCs require that the part to the right of the @ *cannot* be
> unique.

Wrong.  The RFCs specify that the domain-part (right-side) should be the
hostname.  Hostnames are unique because they specify a precise set of
hardware.  It is the right side that guarentees uniqueness.

> > Two MIDs can have matching local-parts
> > (left-side) and still be unique if their domain-parts differ..
>
> Logically true, but such MIDs would not comply with the RFCs (so
> presumably you would block them).  I have seen articles with such MIDs,
> and they propagate normally.

Why would I block them?  They DO comply with the standards.

> > Just what would you think would happen if everyone suddenly decided to
use
> > "localhost" for their domain-part in forming message IDs?
>
> Apart from messing up users' existing filters and score-files that look
at
> the FQDN, nothing would break.  The messages would propagate normally
> (apart from any posted to your server, apparently).

WRONG!  The second message using the MID would be DENIED propagation as if
it were a duplicate of the first at those Usenet sites that had previously
received the first.

> The likelyhood of duplicate MIDs from different people would be
marginally
> increased - roughly from mare's nest to hen's teeth frequency, I imagine,
> as all RFC compliant MID generators include a random element, along with
> something probably derived from the system date and time and perhaps
> something to identify the person composing the article or the software in
> use - all to the left of the @.

You can't make that assumption without knowing how the local-part of the
MID is generated.  As most are time based, any two people posting at the
same second have a chance of collision (and will collide assuming:  1)
Their clocks are set identically, 2) their systems use the same algorithm
to generate the local-part text field based on 1 second resolution, and 3)
no other datum enters into the generation).

> In the very unlikely event of duplicate MIDs being generated so near to
> each other in time that both articles are propagating simultaneously,
some
> news-servers will end up with one of them and some with the other.  So
> either the event will go un-noticed, or one or both of the posters of the
> articles concerned will eventually post again with a different MID.

And that's the problem.  At least one if not both articles will fail to
propagate throughout the network.

> If duplicate MIDs are ever generated, it's more likely that one of them
> will appear significantly before the other, in which case the second one
> will be rejected by the poster's own news-server as being a duplicate of
> an existing MID, so either the user notices and tries again with a
> different MID, or doesn't notice.

You cannot make that assumption, especially when MID generation is time
based.  If they are identical, they are being submitted at exactly the same
time, so one WON'T be appearing before the other.  They will both appear to
the network at the same time, and it's a race to see which one propagates
to the larger number of systems.

> Given the wierdness that can happen on usenet anyway, neither scenario
> seems to be a significant problem.

That's why we have rules and standards that are designed to avoid these
problems.

Technical Details
Message-ID: <hlcrma$ama$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!feeder.erje.net!news.snarked.org!not-for-mail
References: <4B781124.5D1CB4EB@Guy.com> <hl9d17$hsv$1@speranza.aioe.org> <4B795B46.BE30249A@Guy.com> <slrnhnit21.es9.catwheezel@ID-107770.user.individual.net> <4B798026.89445E89@Guy.com> <slrnhnj466.es9.catwheezel@ID-107770.user.individual.net> <hlc7u3$2vs$1@snarked.org> <slrnhnjcmf.es9.catwheezel@ID-107770.user.individual.net> <hlcg1o$5a4$1@snarked.org> <slrnhnjnla.es9.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <hlcrma$ama$1@snarked.org>
Subject: Re: More microsoft usenet spam (another proposed filtering rule)
Date: Mon, 15 Feb 2010 17:16:50 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <4B781124.5D1CB4EB@Guy.com> <hl9d17$hsv$1@speranza.aioe.org> <4B795B46.BE30249A@Guy.com> <slrnhnit21.es9.catwheezel@ID-107770.user.individual.net> <4B798026.89445E89@Guy.com> <slrnhnj466.es9.catwheezel@ID-107770.user.individual.net> <hlc7u3$2vs$1@snarked.org> <slrnhnjcmf.es9.catwheezel@ID-107770.user.individual.net> <hlcg1o$5a4$1@snarked.org> <slrnhnjnla.es9.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!feeder.erje.net!news.snarked.org!not-for-mail
Newsgroups: alt.free.newsservers, news.admin.net-abuse.usenet, aioe.news.helpdesk
 aioe.news.helpdesk
Lines: 179
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-51-220.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1266283018 10954 71.118.51.220 (16 Feb 2010 01:16:58 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Tue, 16 Feb 2010 01:16:58 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478