Thread View: news.software.readers
1 messages
1 total messages
Started by Walter Roberson
Thu, 22 Oct 1992 20:20
rn/nntp/vms cross-posting filtering fixed
Author: Walter Roberson
Date: Thu, 22 Oct 1992 20:20
Date: Thu, 22 Oct 1992 20:20
49 lines
3319 bytes
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
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