🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83902

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

#83902
From: Julien ÉLIE
Date: Mon, 28 Feb 2011 09:19
43 lines
2843 bytes
Hi Paolo,

> When nnrpd is executed through a command line and an article is
> posted, these articles are generated by nnrpd in a strange syntax
>
> NNTP-Posting-Host: stdin
>
> X-Trace: localhost6.localdomain6 1298882426 2753  (28 Feb 2011
> 08:40:26 GMT)
>
> stdin is neither an ip address nor a domain name (filter may try to
> resolve it without success) X-Trace seems malformed (fourth field -
> client's ip addess - is missing)

These two header fields are deprecated and no longer in INN 2.6.0. 
Anyway, the problem also affects the Injection-Info: header field.  I 
remember having done something when there is no available IP (we
otherwise logged "stdin:" instead of "stdin"):
     http://inn.eyrie.org/trac/changeset/9124/trunk/nnrpd/post.c


The fact is that you are using a Unix domain socket here.
There is no IP associated to the connection to nnrpd.  And of course no
FQDN.

What would you want to see in these headers?
One cannot guess an IP or a domain name when unused…



Injection-Info: news.trigofacile.com; posting-host="stdin";
	logging-data="9351"

I think keeping "stdin" is better than totally dropping the posting-host
parameter from the header field value.
Well, I might be wrong.
Do not hesitate to tell what the best behaviour should be.

-- 
Julien ÉLIE

« Ne crains pas d'avancer lentement, crains seulement de
   t'arrêter. » (proverbe chinois)
Technical Details
Message-ID: <ikfpan$s8e$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.amontpellier-159-1-51-190.w83-197.abo.wanadoo.fr!not-for-mail
References: <ikfnh8$g2c$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <ikfpan$s8e$1@news.trigofacile.com>
Subject: Re: Maybe a bug in X-Trace nnrpd generation (INN 2.5.2)
Date: Mon, 28 Feb 2011 10:19:18 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ikfnh8$g2c$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.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.amontpellier-159-1-51-190.w83-197.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 28 Feb 2011 09:19:20 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="amontpellier-159-1-51-190.w83-197.abo.wanadoo.fr:83.197.10.190";
 logging-data="28942"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <ikfnh8$g2c$1@speranza.aioe.org>
Lines: 42
X-Original-Bytes: 2697