🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2390

rn/nntp/vms cross-posting filtering fixed

#2390
From: Walter Roberson
Date: Thu, 22 Oct 1992 20:20
49 lines
3319 bytes
  Cross-posts were not being filtered for our 4.4.4.1 version
of rn over nntp to a VMS machine running AUS News. Recent discussions
in news.admin had claimed that crosspost-filtering was definitely
done for any modern newsreading software. The term 'antedeluvium'
was used for software that would not do the filtering. ;-)

  I took exception to this and challanged one of the authors
expressing that sentiment. He thought the problem was that I wasn't
using dbm. I wasted a bunch of time on that thread, seeing as there
is absolutely no documentation or comments about enabling dbm
for rn, and it is not part of the configuration script either.
By the time I'd got through that, I had learned enough about the
innards of rn to be able to find the *real* problem.

  The real problem turned out to be that the site name being given
on the Xref: lines did not match first component of the Path: . The
Xref: was using the bare site, whilst the Path: had the FQDN version.
rn was ignoring all the Xref:'s because of this. :-(

  Examination of the code showed that only up to the first '.' in
the host name would be compared in the case that the site name
was being fetched from the Relay_Version: line instead of from
the Path: line. That occurs if NORELAY is *not* defined in
common.h . The comments in bits.c indicate that the Relay_Version:
line became obsolete several reversions of news ago. It happens,
though, to be provided by AUS News on the VMS machine.


  Summary of fix: undefine NORELAY and rebuild rn.


  I do not know enough about the file standards. It could be that
when Relay_Version: was dropped, that it was mandated that
the Xref: line carry the FQDN . Or it could just be all a coincidence,
that the AUS news has not been configured properly or has a bug
or whatever causing it to put only the base hostname on the Xref: lines,
but happens to provide the Relay_Version: line that rn can work with.
I do not really care. The problem is fixed.

  To see whether you may have this problem, save any cross-posted
message to a file, and see if the first token after the 'Xref: '
matches exactly the first part of the Path: line, up to the first '!'.
If not, you likely have the problem, and may need to rebuild rn.
If you have the problem, but your nntp server does not provide
a Relay_Version: header, you may have to hack the code. Good luck.

   Walter Roberson                    roberson@ibd.nrc.ca

Technical Details
Message-ID: <1992Oct22.202029.1210@ciit85.ciit.nrc.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.mbox.zip!sparky!uunet!ferkel.ucsb.edu!taco!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!ciit85.ciit.nrc.ca!hamer.ibd.nrc.ca!roberson

Show Full Headers
Complete Article Headers
Message-ID: <1992Oct22.202029.1210@ciit85.ciit.nrc.ca>
Subject: rn/nntp/vms cross-posting filtering fixed
Date: Thu, 22 Oct 1992 20:20:28 +0000
From: roberson@hamer.ibd.nrc.ca (Walter Roberson)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.mbox.zip!sparky!uunet!ferkel.ucsb.edu!taco!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!ciit85.ciit.nrc.ca!hamer.ibd.nrc.ca!roberson
Newsgroups: news.software.readers,news.admin
Followup-To: news.software.readers
Organization: NRC Institute for Biodiagnostics
Keywords: rn nntp vms aus cross-posting
Summary: #undef NORELAY
Nntp-Posting-Host: hamer.ibd.nrc.ca
Lines: 48