🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #201266

Re: [Xnews] FQDN generation

#201266
From: Tech Zero
Date: Mon, 02 Jul 2007 06:44
106 lines
6336 bytes
Reality folded in on itself, and somewhere the following words from "Guy" appeared in history:

> Xnews does not *use* the "suggested one" at anytime.

Unless you don't set a Token-ID...

> Either it sends a MID or it does not.

If it sent a "blank" MID it would be rejected by most servers...

All news servers "sugest" a MID on POST and it's up to the client to use
that MID or not. As seen in my hamster logs:


With a Token-ID...

    	23:36:50 I   {2fc} > POST
    	23:36:50 I   {2fc} < 340 OK, recommended ID <f69dqj.ns.1@news.dragonfur.ca>
    	23:36:51 I   {2fc} < 240 article posted ok <Xns9960F03739CCAInsomniac@news.dragonfur.ca>
    	 ...
    	23:36:52 D   {8a4} [news.readfreenews.net]  PostArticle
    	23:36:52 D   {8a4} TClientSocketNNTP > POST
    	23:36:52 D   {8a4} TClientSocketNNTP < 340 340 <46888ef4$0$97264$892e7fe2@authen.yellow.readfreenews.net> (desired)
    	23:36:52 D   {8a4} TClientSocketNNTP > .
    	23:36:52 D   {8a4} TClientSocketNNTP < 240 <Xns9960F03739CCAInsomniac@news.dragonfur.ca> Article posted
    	23:36:52 I   {8a4} {newsjobs news.readfreenews.net/post} Posting OK: 240 <Xns9960F03739CCAInsomniac@news.dragonfur.ca> Article posted (1308.msg)

    	X-Hamster-Info: Received=20070701233652
    	    	Server=news.readfreenews.net/post
    	    	Result=240_<Xns9960F03739CCAInsomniac@news.dragonfur.ca>_Article_posted
    	Message-ID: <archive.Xns9960F03739CCAInsomniac@news.dragonfur.ca>
    	Newsgroups: wyrm.trance.posts
    	Path: raven.dragonfur.ca!not-for-mail
    	Date: Sun, 01 Jul 2007 23:36:50 -0600

Standard post, with a token-ID set Xnews ignores any sugestions and
uses it's own generated MID. RFN "desires" a given MID too, but Hamster
quietly pass on what Xnews sent.


Without a Token-ID...

    	23:48:53 I   {b1c} > POST
    	23:48:53 I   {b1c} < 340 OK, recommended ID <f69eh5.2os.1@news.dragonfur.ca>
    	23:48:53 I   {b1c} < 240 article posted ok <f69eh5.2os.1@news.dragonfur.ca>
    	 ...
    	23:48:54 D   {848} [news.readfreenews.net]  PostArticle
    	23:48:54 D   {848} TClientSocketNNTP > POST
    	23:48:54 D   {848} TClientSocketNNTP < 340 340 <468891c7$0$97222$892e7fe2@authen.yellow.readfreenews.net> (desired)
    	23:48:54 D   {848} TClientSocketNNTP > .
    	23:48:54 D   {848} TClientSocketNNTP < 240 <f69eh5.2os.1@news.dragonfur.ca> Article posted
    	23:48:54 I   {848} {newsjobs news.readfreenews.net/post} Posting OK: 240 <f69eh5.2os.1@news.dragonfur.ca> Article posted (1310.msg)

    	X-Hamster-Info: Received=20070701234854
    	    	Server=news.readfreenews.net/post
    	    	Result=240_<f69eh5.2os.1@news.dragonfur.ca>_Article_posted
    	Message-ID: <archive.f69eh5.2os.1@news.dragonfur.ca>
    	Newsgroups: wyrm.trance.posts
    	Path: raven.dragonfur.ca!not-for-mail
    	Date: Sun, 01 Jul 2007 23:48:53 -0600

As you can see here, Hamster sugests "<f69eh5.2os.1@news.dragonfur.ca>"
and Xnews returns that value in it's post, placed in the headers where
only the news client should edit.

The MID is not present the SENT folder, nor is it seen in the raw file
while editing, so it is clearly added on post.


And with "add MID" turned off in Hamster...

    	00:01:45 I   {62c} > POST
    	00:01:45 I   {62c} < 340 send article to be posted. End with <CR-LF>.<CR-LF>
    	00:01:45 I   {62c} < 240 article posted ok

    	00:01:46 D   {e54} [news.readfreenews.net]  PostArticle
    	00:01:46 D   {e54} TClientSocketNNTP > POST
    	00:01:46 D   {e54} TClientSocketNNTP < 340 340 <468894cb$0$97231$892e7fe2@authen.yellow.readfreenews.net> (desired)
    	00:01:46 D   {e54} TClientSocketNNTP > .
    	00:01:46 D   {e54} TClientSocketNNTP < 240 <468894cb$0$97231$892e7fe2@authen.yellow.readfreenews.net> Article posted
    	00:01:46 I   {e54} {newsjobs news.readfreenews.net/post} Posting OK

    	X-Hamster-Info: Received=20070702000146
    	    	Server=news.readfreenews.net/post
    	    	Result=240_<468894cb$0$97231$892e7fe2@authen.yellow.readfreenews.net>_Article_posted
    	Message-ID: <archive.f69f9b.3ik.1@posted.without.mid.invalid>
    	Newsgroups: wyrm.trance.posts
    	Path: raven.dragonfur.ca!not-for-mail
    	Date: Mon, 02 Jul 2007 00:01:45 -0600

Gota love that. Here is a case where Hamster adds the servers' "desired"
MID, since it's acting like a client. But, because it didn't get an MID
(never sugested one) it need a fictional one for the archive.

So Xnews can return a "blank" MID, in unususal situations, but defaults
to whatever the server sugests. If I was to further mess with my
Hamster settings I could "spit" the post out, unaltered, as text file,
just to see exactly what Xnews is sending in this case...

But only after some sleep.

-- 
__ __| |            __ __|           |    __  /
   |     \    -_)      |   -_)   _|    \     /    -_)   _| _ \
  _|  _| _| \___|     _| \___| \__| _| _| ____| \___| _| \___/
Losing quality sleep helping others on-line since 1997...
Technical Details
Message-ID: <Xns99617763F04AlphaTwo@news.dragonfur.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <Xns995E7746491EAfedyabestwebnet@127.0.0.1> <995E92FF8ECEDEAC2E284CEEC009E394A9D7@127.0.0.1> <Xns995EBF5018EB8AlphaTwo@news.dragonfur.ca> <4685bc0f$0$97271$892e7fe2@authen.yellow.readfreenews.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns99617763F04AlphaTwo@news.dragonfur.ca>
Subject: Re: [Xnews] FQDN generation
Date: Mon, 02 Jul 2007 00:44:00 -0600
From: Tech Zero <uselesspam@dragonfur.ca>
References: <Xns995E7746491EAfedyabestwebnet@127.0.0.1> <995E92FF8ECEDEAC2E284CEEC009E394A9D7@127.0.0.1> <Xns995EBF5018EB8AlphaTwo@news.dragonfur.ca> <4685bc0f$0$97271$892e7fe2@authen.yellow.readfreenews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Hamster/2.1.0.11 Xnews/2006.03.07
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
 34_qR9](uXc,NLS?JRGg/.&1=
Lines: 106
Organization: Read Free News
NNTP-Posting-Date: 02 Jul 2007 01:44:02 CDT
X-Trace: DXC=3ZAElMN;
 \VW9S3ZIELT\2Q]AGWjF5PjPY465Ue@WB_5_b`9bMQFD5MTC_@6Qi6a>@ShQI`CHWgadSVlbfjn8a0<VIYjF]0P3^GQ