🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #214368

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

#214368
From: Whiskers
Date: Mon, 31 Dec 2007 14:19
95 lines
5703 bytes
On 2007-12-30, Frank Slootweg <this@ddress.is.invalid> wrote:
> [Tags added to Subject: line.]
>
> 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? Isn't it supposed to
> look like a newsclient to your real NSP, i.e. no Path header?
>
>   Hmmm, now that you mention it, Hamster - i.e. a similar local News
> server on (MS-)Windows - seems to do the same! I post via NIN in only
> one group and there my articles have "X-Orig-Path: not-for-mail". 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.

For greater completeness, I'll point out that Noffle does too.

>> Leafnode then posts the message to the NIN server (usually, although
>> it's not the only one I use), which doesn't trust its customers' Path
>> headers but rewrites them to "X-Orig-Path:".
>> 
>> >   I used "X-Orig-Path:" in my sporge filter because some recent sporge
>> > from NIN contained that header. But then I found your posting in my kill
>> > log.
>> 
>> 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.

Unless the /content/ of the Individual.net X-Orig-Path header is a useful
unique identifier for things you want to kill, of course.  The mere 
presence of the header is not in itself particularly useful.

>   That leaves only the question why leafnode and Hamster (and others)
> generate a Path header.

Hmmm.  Good question  :))

>From man noffle.conf:

   replace-messageid yes|no
          Always  replace  the  Message-ID of a posted article with a Mes-
          sage-ID generated by NOFFLE. NOFFLE will always add a Message-ID
          if  none  is present, or replace a Message-ID that does not meet
          the basic formatting and content requirements for a  Message-ID.
          However, some news readers may generate Message-IDs that are not
          accepted by some servers (for example the server may insist  the
          Message-ID  domain  is  part  of  the  server domain) or may not
          always be unique. In either of these cases  you  may  prefer  to
          have NOFFLE always replace the Message-ID.
          Default: no

   hostname <fully.qualified.domain.name>
          Specify  right-hand side of Message-IDs generated by NOFFLE.  If
          omitted, the fully qualified domain name of your system will  be
          used.   If  you  do not have a fully qualified domain name, your
          upstream newsserver or someone else might allow  you  to  use  a
          subdomain name.
          Default: <the fully qualified domain name of your system>

   [...]

   path-header <path header content>
          Articles posted without a Path: header have one added by NOFFLE.
          When  path-header  has its default value (empty) the header con-
          tent is "<hostname>!not-for-mail".  Use the path-header  setting
          to  provide  alternate  content for the Path: header.  This will
          very rarely be necessary.
          Default: <empty string>

That, of course, doesn't answer the question.  But I notice that although
my noffle.conf has no path-header setting, Noffle actually uses the value 
I have in the hostname entry in noffle.conf rather than the actual hostname
of the computer running Noffle (which is not a registered internet domain
name).

[...]

On the odd occasion when I post via Datemas.de, my 'local' path header is 
simply loaded onto the one inserted by the server.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <20071231141912.1CA1.2.NOFFLE@ID-107770.user.individual.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!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!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: <20071231141912.1CA1.2.NOFFLE@ID-107770.user.individual.net>
Subject: Re: [leafnode][Hamster][etc.] Re: "X-Orig-Path:" in NIN postings
Date: Mon, 31 Dec 2007 14:19:12 +0000
From: Whiskers <catwheezel@operamail.com>
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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 95
X-Trace: individual.net 2QkCVzGr5IOrU+FZF+8fsQzOvdJKHVFdEaYio1wWp10wMkGfEe
X-Orig-Path: ID-107770.user.individual.net!not-for-mail
Cancel-Lock: sha1:za+nRPbdk59V3bCQoPcjgSz5Nkw=
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)