🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80609

Re: basic nntp connections question

#80609
From: Julien ÉLIE
Date: Sat, 18 Apr 2009 23:04
96 lines
4093 bytes
Hi Urs,

> their argumentation is that READER cmds are not available before
> successfull authenticatiion so they do not advertised them

It contradicts RFC 3977 which clearly introduces the notion of transit
and reading servers.  If READER is advertised, we are in a reading
mode and we can go on (either authenticate if AUTHINFO is advertised
or directly try a command and authenticate if 480 is received).
If READER is not advertised, then we are in a transit mode and
in addition, if MODE-READER is not advertised, it is useless to
go further.
Their argumentation does not fit with the design of the protocol.

What they should answer is:

101 Capability list:
VERSION 2
AUTHINFO USER
LIST ACTIVE NEWSGROUPS
READER
..

(LIST ACTIVE and LIST NEWSGROUPS are mandatory when READER
is advertised -- though they can lead to a 480 answer.)


> as the server doesn't support TLS nor any other auth than AUTHINFO USER/PASS
> they decided to advertise AUTHINFO USER besides the version number.

That's OK.


>> I hope they implemented other NNTP commands better...
>
> *shrug* I don't have a giganews account

Anyway, I have *serious* concerns.  Not only because of the one I already saw:

AUTHINFO USER a
381 more authentication required
AUTHINFO PASS b
502 Invalid username or password

(It is 481 and not 502.)


But also because of CAPABILITIES which is not correct.  They answer:

CAPABILITIES A
101 capability list
VERSION 2
AUTHINFO USER
..
CAPABILITIES AAA
101 capability list
VERSION 2
AUTHINFO USER
..

whereas it should be:

CAPABILITIES A
501 Syntax error
CAPABILITIES AAA
101 Capability list:
VERSION 2
AUTHINFO USER
LIST ACTIVE NEWSGROUPS
READER
..


It is clearly written in the definition CAPABILITIES:

   If the server does not recognise the argument (and it is a keyword), it
   MUST respond with the 101 response code as if the argument had been
   omitted.  If the argument is not a keyword, the 501 generic response
   code MUST be returned.

A keyword contains more than 3 characters...

Well, never mind, it is pointless worrying about their broken implementation.


> tin 1.9.4 sends CAPABILITIES, didn't see READER/POST/MODE READER and gave up

That's the normal behaviour.
Too bad that Giganews compelled you to introduce kludges in tin.

-- 
Julien ÉLIE

« L'homme a imaginé le cercle avant de savoir que la terre était ronde.
  Ça prouve quand même une certaine faculté d'invention. » (Jacques Sternberg) 
Technical Details
Message-ID: <gsdmd8$fct$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.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <gs95ub$165$1@news.trigofacile.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com> <gsahhb$9ir$1@news.trigofacile.com> <gsb4hm$p61$1@news4.rz.uni-karlsruhe.de> <gsc12f$mbc$1@news.trigofacile.com> <gsdi70$orf$1@news4.rz.uni-karlsruhe.de>

Show Full Headers
Complete Article Headers
Message-ID: <gsdmd8$fct$1@news.trigofacile.com>
Subject: Re: basic nntp connections question
Date: Sun, 19 Apr 2009 01:04:04 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <gs95ub$165$1@news.trigofacile.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com> <gsahhb$9ir$1@news.trigofacile.com> <gsb4hm$p61$1@news4.rz.uni-karlsruhe.de> <gsc12f$mbc$1@news.trigofacile.com> <gsdi70$orf$1@news4.rz.uni-karlsruhe.de>
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.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 96
NNTP-Posting-Host: aaubervilliers-151-1-59-169.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1240095976 15773 83.112.154.169 (18 Apr 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 18 Apr 2009 23:06:16 +0000 (UTC)
In-Reply-To: <gsdi70$orf$1@news4.rz.uni-karlsruhe.de>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049