πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80591

Re: basic nntp connections question

#80591
From: tanderson
Date: Fri, 17 Apr 2009 21:20
72 lines
4103 bytes
Julien Γ‰LIE wrote:

> Hi,
> 
>> I hit your server (or the server you suggested) about 100 times with no
>> problems.  So I think my code is good and being rejected by giganews once
>> in a while is normal?
> 
> I do not think it is normal.
> Oh, I see that Giganews implements CAPABILITIES.  Good news!
> 
> % telnet news.giganews.com 119
> 200 News.GigaNews.Com
> CAPABILITIES
> 101 capability list
> VERSION 2
> AUTHINFO USER
> .
> 
> In response to AUTHINFO USER/PASS, here is the meaning of 502:
> 
>      502 Command unavailable [2]
> 
>      [2] If authentication has already occurred, AUTHINFO USER/PASS are
>          not valid commands (see Section 2.2).
> 
>    After a successful authentication, the client MUST NOT issue another
>    AUTHINFO command in the same session.  A server MUST NOT return the
>    AUTHINFO capability in response to a CAPABILITIES command, and a
>    server MUST reject any subsequent AUTHINFO commands with a 502
>    response.
> 
> 
> However, you report that you only see 502 after AUTHINFO PASS.  Very
> strange.  It would imply that Giganews does not respect RFC 4643, though
> advertising AUTHINFO USER via CAPABILITIES.  Bad news...
> 
> With RFC 2980, which may be what Giganews currently implements for
> AUTHINFO:
> 
>     If the combination is not valid, the server will return a
>     502 response.
> 
> Which is in fact 481 nowadays.
> It is strange they think your credentials are invalid.  Unless, as I
> suggested, they are counting the number of "simultaneous" connections and
> wrongly believe your sequential and close connections are still alive.
> 
> 
> 
>> Is that your server? Is it always available for testing?
> 
> Yes it is mine.  It is normally always available.  (Well, of course not
> when I restart INN, which can happen from time to time.  If it happens,
> just wait a little...)
> 
> If you need to test AUTHINFO SASL, I have the user test/tester defined:
> 
> % perl -MMIME::Base64 -e 'print encode_base64("\0test\0tester");'
> AHRlc3QAdGVzdGVy
> 
> % telnet news.trigofacile.com 119
> 200 news.trigofacile.com InterNetNews NNRP server INN 2.5.0 (20090412
> prerelease) ready (no posting) AUTHINFO SASL PLAIN AHRlc3QAdGVzdGVy
> 281 Authentication succeeded
> 
> It is direct!
> I accept several mechanisms:
> SASL GSSAPI OTP PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5
> 

thanks might need it.
Technical Details
Message-ID: <_aidnaIZE-tmbHXUnZ2dnUVZ_oidnZ2d@giganews.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!border2.nntp.ams.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <gs95ub$165$1@news.trigofacile.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <_aidnaIZE-tmbHXUnZ2dnUVZ_oidnZ2d@giganews.com>
Subject: Re: basic nntp connections question
Date: Fri, 17 Apr 2009 17:20:05 -0400
From: tanderson <holden@mcgroyn.com>
References: <gdydnR0nDbBlYXrUnZ2dnUVZ_tKdnZ2d@giganews.com> <gs95ub$165$1@news.trigofacile.com> <E5idnfcWEqrEIHXUnZ2dnUVZ_qydnZ2d@giganews.com> <gsah2r$94p$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!border2.nntp.ams.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 17 Apr 2009 16:17:47 -0500
Newsgroups: news.software.nntp
User-Agent: KNode/0.10.9
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
Lines: 72
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-rpMXv4RMusfdOFLRhGH3ZHt9An59rCAJ741ivcDyUJYx1HIf7kj7LvxF6kgFYxLYpJAcC5mkg2t8xVT!UBpLglZrDOcQW4SYOsKMKyYFBgk74qRBksDjwHDEwYTcTcN5neIFAeBgMivHl39JpRB8cldPCoc=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.39
X-Original-Bytes: 3920