🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83901

Re: Maybe a bug in X-Trace nnrpd generation (INN 2.5.2)

#83901
From: Julien ÉLIE
Date: Mon, 28 Feb 2011 10:43
65 lines
3494 bytes
Hi Paolo,

>> These two header fields are deprecated and no longer in INN 2.6.0.
>
> when do you plan to release inn 2.6.0?
> which is the current development status of INN 2.6.0? Is it a beta, a pre-
> beta or an alpha release?

INN 2.6.0 doesn't have any status; it is the latest development code of 
the next major release, and is available from daily snapshots.
Its release isn't planned yet.

The same way as you also have a pending INN 2.5.3 available from daily 
snapshots.  It is the latest development code of the current 2.5 stable 
branch.  I hope there will be a release this year.



>> What would you want to see in these headers?
>
> localhost or 127.0.0.1 it's much enough

Why not ipv6-localhost or ::1?
And aren't there cases where stdin is not from localhost but from a 
remote host?



>> One cannot guess an IP or a domain name when unused?
>
> yes, it's true.
> But, at the same time, it's hard for a script to understand that 'stdin' is
> a magic word and not a domain. In your way, you force to add an exception
> to all routines that handles X-Trace/Injection-Info

INN does not force "stdin".  The system gives the "stdin" value for the 
host.
Is "stdin" used by every platform INN runs on?

I am unsure whether adding an exception in INN and making it understand 
this magic word is the right thing to do.



>> Injection-Info: news.trigofacile.com; posting-host="stdin";
>> logging-data="9351"
>
> this - imho - seems wrong. if 'posting-host' shows the sender's ip address
> or the sender's domain, it should always include an ip address or a domain.
[…]
> imho, headers should include or localhost or 127.0.0.1 (if name resolution
> is disabled). A better option could be to mark in some way all messages that
> don't come from 'network' leaving posting-host empty in this case

When no IP is given, we could drop the posting-host parameter, yes.
I do not have any objection to that; it looks clearer.

And for the 2.5 branch, not adding an NNTP-Posting-Host: header field. 
But what for the X-Trace: header field?

-- 
Julien ÉLIE

« Ne crains pas d'avancer lentement, crains seulement de
   t'arrêter. » (proverbe chinois)
Technical Details
Message-ID: <8t1cj4FifjU1@mid.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.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <ikfnh8$g2c$1@speranza.aioe.org> <ikfpan$s8e$1@news.trigofacile.com> <ikfs40$svf$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <8t1cj4FifjU1@mid.individual.net>
Subject: Re: Maybe a bug in X-Trace nnrpd generation (INN 2.5.2)
Date: Mon, 28 Feb 2011 11:43:47 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ikfnh8$g2c$1@speranza.aioe.org> <ikfpan$s8e$1@news.trigofacile.com> <ikfs40$svf$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 65
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +UPPs9DYlKVi/Xk/dO55jQKPO2JMgzEVT8B1t7j+vCKORFfaQ=
Cancel-Lock: sha1:EmurE82uggWBumXIafqr7311vwc=
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <ikfs40$svf$1@speranza.aioe.org>
X-Original-Bytes: 3328