🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #214355

Re: [leafnode][Hamster][etc.] Re: "X-Orig-Path:" in NIN postings

#214355
From: Peter J Ross
Date: Mon, 31 Dec 2007 11:18
70 lines
4031 bytes
In news.software.readers on 30 Dec 2007 16:05:07 GMT, Frank Slootweg
<this@ddress.is.invalid> wrote:

> Adam Funk <a24061@ducksburg.com> wrote:
>> On 2007-12-29, Frank Slootweg wrote:
>> 
>> >   Adam, do you know why your postings have a "X-Orig-Path:" header,
>> > while other postings from News.Individual.Net (NIN) - for example
>> > Blinky's - don't?
>> 
>> Yes: my slrn posts the message to my leafnode server, which adds a
>> Path header with the hostname that it also uses to generate MIDs.
>
>   Do you know *why* leafnode adds a Path header?

Because the rightmost entry in the Path (other than optionally the
identity of the sender, which often defaults to "not-for-mail") is
normally the name of the originating system. (RFC 1036)

> Isn't it supposed to
> look like a newsclient to your real NSP, i.e. no Path header?

Only insofar as it uses POST instead of IHAVE. Leafnode does this
because it's optimised for small leaf sites, which are unlikely to
have articles of interest to peers other than those sent by the
leafnode users.

>   Hmmm, now that you mention it, Hamster - i.e. a similar local News
> server on (MS-)Windows - seems to do the same!

It certainly does.

<http://www.elbiah.de/hamster/doc/howto/feed-newsgroups.htm>

> I post via NIN in only
> one group and there my articles have "X-Orig-Path: not-for-mail".

You don't have a FQDN there because you haven't configured Hamster to
use one.

Leafnode, however, won't work at all without a FQDN (either configured
in /etc/leafnode/config or obtained from the system).

> And
> the purely local Hamster group 'internal.misc', which (amongst others)
> contains log copies of one's postings, says "Path: not-for-mail". So
> Hamster also generates a Path header.

My posts to local.test have "Path: pjr.gotdns.org!not-for-mail".

(Note: local groups aren't available in Leafnode version 1.x.)

However, you won't see that in my posts to Usenet, because
motzarella.org and RFN strip any pre-existing Path without adding
X-Orig-Path.

<...>

>> AFAIK, my X-Orig-Path header should always have the same hostname.
>
>   I guess I could use that to whitelist you, but there are probably
> other legit posters which I would inadvertently kill, and I would kill
> *my own* articles :), so it's impractical to kill on NIN+X-Orig-Path.

Yes. The sporge sometimes has *forged* Path entries, but anybody using
Leafnode, Hamster (or a local INN, C News etc) is likely to have
genuine ones.

-- 
PJR :-)
Technical Details
Message-ID: <slrnfnhk07.lvf.pjr@pjr.gotdns.org>
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.ams.giganews.com!nntp.giganews.com!news.germany.com!news.motzarella.org!motzarella.org!not-for-mail
References: <20071228091844@ilium.andrews-corner.org> <13n8n4c3edkf910@corp.supernews.com> <nl5g45-jbv.ln1@news.ducksburg.com> <477698f6$0$18551$dbd45001@news.wanadoo.nl> <vhmk45-hh3.ln1@news.ducksburg.com> <4777c1b3$0$41106$dbd4f001@news.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfnhk07.lvf.pjr@pjr.gotdns.org>
Subject: Re: [leafnode][Hamster][etc.] Re: "X-Orig-Path:" in NIN postings
Date: Mon, 31 Dec 2007 11:18:31 +0000
From: Peter J Ross <pjr@example.invalid>
References: <20071228091844@ilium.andrews-corner.org> <13n8n4c3edkf910@corp.supernews.com> <nl5g45-jbv.ln1@news.ducksburg.com> <477698f6$0$18551$dbd45001@news.wanadoo.nl> <vhmk45-hh3.ln1@news.ducksburg.com> <4777c1b3$0$41106$dbd4f001@news.wanadoo.nl>
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.ams.giganews.com!nntp.giganews.com!news.germany.com!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 70
Reply-To: Peter J Ross <pjr.spam@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX1+8+Xmvx+Y5NOesYwBo3tSA32dIU5KcqzrK69Bf8t47yNqLuqd5lFJYU+uewC2M0Gka1q8qjPX2Eb14Hm+9y98aInEdAiKSd2jOPyzR1Pg5BcK6tvKH3Q3jo1VCwQyUW34=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 31 Dec 2007 11:20:04 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX192y0juRFVmCOtDQzWbSbHh
Cancel-Lock: sha1:5bUHV5ZxMEMynsXzf+agO3Tzc/A=
User-Agent: slrn/pre0.9.9-75 (Linux)