🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84030

Re: INN - What error is returned to the user when there is a syntax error in readers.conf?

#84030
From: Julien ÉLIE
Date: Thu, 05 May 2011 18:02
34 lines
2628 bytes
Hi Russ,

> I think nnrpd will refuse to start when there's a syntax error in
> readers.conf, so they probably got abruptly closed connections without an
> error message or something like that.

It wouldn't be RFC-compliant :-)
If the socket is open (SYN+ACK), I believe nnrpd should send something
before closing the connection.

With INN 2.5.0 and above, it is:

400 NNTP server unavailable.  Try later!

Before INN 2.5.0, it was a 503 error code.



Just tested:

19:55 news@trigo ~% telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
200 news.trigofacile.com InterNetNews server INN 2.6.0 (20110212 prerelease) ready (transit mode)
MODE READER
400 NNTP server unavailable.  Try later!
Connection closed by foreign host.

-- 
Julien ÉLIE

« Si Dieu n'est pas marié, pourquoi parle-t-on de sa grande
  Clémence ? » (Raymond Devos)
Technical Details
Message-ID: <ipuon9$558$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.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!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-58-71.w83-200.abo.wanadoo.fr!not-for-mail
References: <cjj5s6984usueshbg7afbcoqjok5grd0aq@4ax.com> <ipujgp$p2k$3@n102.xanadu-bbs.net> <qgk5s6l7pe04846lj3dpgj8e4eajm6kgd0@4ax.com> <ipuk57$pck$1@n102.xanadu-bbs.net> <t5l5s6l1m981nplqrr9m0t7okfsteuftal@4ax.com> <8739kthylb.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ipuon9$558$1@news.trigofacile.com>
Subject: Re: INN - What error is returned to the user when there is a syntax error in readers.conf?
Date: Thu, 05 May 2011 20:02:17 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <cjj5s6984usueshbg7afbcoqjok5grd0aq@4ax.com> <ipujgp$p2k$3@n102.xanadu-bbs.net> <qgk5s6l7pe04846lj3dpgj8e4eajm6kgd0@4ax.com> <ipuk57$pck$1@n102.xanadu-bbs.net> <t5l5s6l1m981nplqrr9m0t7okfsteuftal@4ax.com> <8739kthylb.fsf@windlord.stanford.edu>
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!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-58-71.w83-200.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=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 May 2011 18:02:17 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-552-1-58-71.w83-200.abo.wanadoo.fr:83.200.1.71";
 logging-data="5288"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <8739kthylb.fsf@windlord.stanford.edu>
Lines: 33
X-Original-Bytes: 2462