Article View: news.software.nntp
Article #20887Re: USENET2
From: Barry BOFHwsma
Date: Sat, 23 Aug 1997 00:00
Date: Sat, 23 Aug 1997 00:00
98 lines
5474 bytes
5474 bytes
On 1452 September 1993, Don Lewis wrote:
> My preference is that it work like the existing hosts.nntp in that you
> specify the host name for each peer, and in addition a pathhost. The
> software would look up the peer name using DNS and get the IP address(es)
> for this peer. Incoming connections would be allowed from this address
> and any articles received from this peer would be checked for the proper
> pathhost.
Exactly. My idea is to add an additional (and optional) field to the
hosts.nntp file, with multiple comma-separated entries.
In addition, I would also force IP numbers to be logged if one is
running innd in promiscuous mode with -a, like UUNET. (Has UUNET stopped
doing this? I've been seeing really weird things in the Path: headers
with their open servers.) This is what Cyclone requires. Of course, a
lot of people have problems with open servers and would like this option
disabled.
> > - What if a message fails the check?
>
> Reject it.
Um, definitely not. There's too much possibility of error here. A
simple typo in the hosts.nntp entry, a deliberate or inadvertent change to
the inn.conf file on the sending end -- if a site loses its configuration
and starts anew while failing to put its pathhost into the config file it
will instead tag articles with its FQDN... Not every failure is going to
be the result of malice. Ideally, only a handful will be.
My original idea was to add the initial hosts.nntp field in the case
of a mismatch, with the article definitely having arrived from that
source. An alternative idea I had was to tag the IP address as in open
server operation. Both of these would point to the actual site feeding
the articles as a possible source of funny business.
The ideas put forth in the evilnewscabal mailing list also included
tagging the path not only with the real host name but also appending a
MISMATCH to it, to make it clear that something wasn't right. My original
thoughts would make it possible to analyze a peculiar Path: header, but
would not normally call attention to it. Joe, sounds like you need to be
made an evilnewscabal member.
Also, some notification of the newsadmin at the site being fed would
be appropriate. Of course, if I have news.bbnplanet.com in my access file
and Ed decides to switch me over from Cambridge Park to his Stanford
machine for some inexplicable reason before I reconfigure things, this
will cause numerous alarms to go off. Syslogging the first few
occurrences of a particular mismatch to be reported in the daily news
summary would be highly appropriate, then ignoring following ones, to
permit the admin to either modify the configuration as appropriate, or to
admonish the misbehaving peer appropriately.
I'm happy to see that someone else will be coding this instead of me,
so a further thought I had was that often these path forgeries would be
made in an attempt to hide the true origin of something, so if you happen
to be getting a feed from unwanted.site.com but have configured all your
outgoing feeds so as not to send things that have this pathhost, you're
going to want the !MISMATCH!unwanted.site.com!forged.header.org!... to be
checked for exclusions. (Or however it turns out... unwanted.site.MISMATCH
or MISMATCH!ip.add.re.ss! or whatever.)
This part of the article header check is no longer in my short-term
memory, but I would add the appropriate header before checking the path
for exclusions, then do the check, then add a common pathhost if missing,
then add the unique local pathhost, as you see done by Cyclone for such
multi-server arrays as I had at radio.cz in the past.
What the end result of this hackery would mean is that you could
happily accept a feed from eat.flaming.spam.com and no matter what
deception they try to play with the path, you'll make sure their articles
point to their server, and further, you can rest peacefully in the
knowledge that you're not propagating their spamticles to sites that don't
want to get them.
Make sense? Thought not.
Again, don't use this as the basis for rejecting any articles, as the
possibilities for changed path entries are too great. Further, this will
require a bit more communication between feeding sites (always a good
thing, usually), to announce changes, or to specify in advance any
possible initial Path: entries which may be sent out (from this machine, I
could easily see not only bofh.vszbr.cz or Cabal.CESspool, but also
news.vszbr.cz if it becomes legit, and of course, the FQDN which is no fun).
Barry Bouwsma
*SPLAT*
Technical Details
Message-ID:
<Pine.LNX.3.96.970823085946.24363B-100000@marley.vszbr.cz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5tj8av$per$1@earth.execpc.com> <Pine.LNX.3.96.970822154332.30574B-100000@marley.vszbr.cz> <slrn5vr88r.53f.eklein@what.bbnplanet.com> <5tkito$cc9$1@news1.epix.net> <5tln9o$g1j$1@news.gv.tsc.tdk.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.970823085946.24363B-100000@marley.vszbr.cz> Subject: Re: USENET2 Date: Sat, 23 Aug 1997 00:00:00 +0000 From: Barry BOFHwsma <barry@bofh-cabal.vszbr.cz> References: <5tj8av$per$1@earth.execpc.com> <Pine.LNX.3.96.970822154332.30574B-100000@marley.vszbr.cz> <slrn5vr88r.53f.eklein@what.bbnplanet.com> <5tkito$cc9$1@news1.epix.net> <5tln9o$g1j$1@news.gv.tsc.tdk.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.mbox.zip!not-for-mail X-Deja-AN: 268134501 Reply-To: ag786@yfn.ysu.edu X-Sender: barry@marley.vszbr.cz Organization: *SPLAT* Newsgroups: news.software.nntp