🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45290

Re: Xref: host name not matching server name

#45290
From: Curt Welch
Date: Mon, 27 Mar 2000 00:00
56 lines
3603 bytes
Jeremy <bofh@netscum.dk> wrote:
> Curt Welch <curt@kcwc.com> wrote:
>
> > On my server, the host name listed on the Xref: is the host that
> > generated the line, not the host that the users are reading news
> > from.  Is that likely to cause problems with some newsreaders?
>
> I haven't heard of any particular problems here.  Which isn't to say
> there aren't any, but our system has been doing the same thing forever
> and no one has screamed.

You wouldn't expect to hear much because the typical problem it would cause
is to not correctly mark cross posted articles as read in all the groups.
Lots of users don't even know that newsreaders should do this, and even if
they noticed the newsreader didn't do it, they aren't likely to blame the
news server for the problem.

If the newsreader dose the host name checking, all it means is that the
reader would think the Xref: was invalid, and treat the artlicle like it
didn't have an Xref: header.  And since there's no real guarantee that an
article will have a valid Xref: header, newsreaders aren't like to complain
very loudly if it's not there (or if the reader "thinks" it's not there).

> > And on servers like Cyclone/Typhoon running in Xref slave mode, what
> > host name ends up being on the Xref: line?  The host of the Cyclone
> > box or the reader, or what?
>
> The reader sees the Xref header exactly as the Cyclone box created it,
> which will have the Cyclone system's path-stamp on it -- not even
> necessarily a valid hostname at all, let alone the same as the one
> the newsreader is using.
>
> > I can put a hack in the server to make it modify the host name on the
> > Xref: line so it matches the reader box, but I wanted to know if this
> > was actually needed.
>
> I can't imagine that it would be necessary.  Just as an example, if it
> mattered, what would happen if a user specified the IP address rather
> than the DNS name, or used a different name for the server that happened
> to resove to the same address?  (Like, qualified versus unqualified?)

Well, once again, the reader would just treat the article like it had no
Xref: header and do the best it can without it.  Most users would never
even notice anything was different.

So if I don't but in the hack, then things might not work as well, but I'm
unlikely to get many calls.  If I put in the hack, then at least one
newsreader it seems will work better.  The hack is simple enough to add
so I guess I'm going to go ahead and do it.  It will make the article look
better.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000327181800.669$m5@newsreader.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
References: <20000324140617.370$6V@newsreader.com> <953967814.582620@news.netscum.dk>

Show Full Headers
Complete Article Headers
Message-ID: <20000327181800.669$m5@newsreader.com>
Subject: Re: Xref: host name not matching server name
Date: Mon, 27 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <20000324140617.370$6V@newsreader.com> <953967814.582620@news.netscum.dk>
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: 603169102
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.readers,news.software.nntp