🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Steve Howie Tue, 07 Jan 1997 00:00
AUTHINFO and INN
#13821
Author: Steve Howie
Date: Tue, 07 Jan 1997 00:00
41 lines
2423 bytes
I have a question for the INN development crew about the way INN 
implements AUTHINFO processing:

According to Stan Barbers NNTP extensions document (this may have been
changed recently, I dunno), if a server requests AUTHINFO USER
authentication it sends a 480 response code to the client. If it requires
AUTHINFO GENERIC processing, it sends a 380 response code to the client. 

INN supports both types of processing, but only sends out a 480 response 
code. Now if a client was to adhere to the recommendations in Stans 
document, it would never be able to make use of AUTHINFO GENERIC when 
authenticating itself to the server, since it only received requests for 
AUTHINFO SIMPLE authentication. What's the point of supporting AUTHINFO 
GENERIC if the client has to adhere to the NNTP extensions recommendations?

Would it not make more sense for a 480 response code to mean 
"Authenticate yourself", and leave it up to the client to use whatever 
method it supports? If for example, it supported AUTHINFO GENERIC it 
could try that first - if that failed, then fall back to AUTHINFO SIMPLE. 

If you look at it this way, Stans document is incorrect. On the other
hand, however, could the server not first try issuing a 380 response code,
then if this GENERIC authentication failed, try a 480 response code for
AUTHINFO USER authentication. If this failed, then authentication of the
client is rejected and the connection dropped (in 1.5 at least). 

Comments?

Scotty
=================================================================
Steve Howie                             Email:  showie@uoguelph.ca
NetNews and Listserv Admin.             Phone:  (519) 824-4120 x2556
Computing and Communications Svcs.      Fax:    (519) 763-6143
University of Guelph

If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP
=================================================================


Re: AUTHINFO and INN
#13849
Author: James Brister
Date: Wed, 08 Jan 1997 00:00
20 lines
1291 bytes
Steve Howie <showie@uoguelph.ca> writes:

> According to Stan Barbers NNTP extensions document (this may have been
> changed recently, I dunno), if a server requests AUTHINFO USER
> authentication it sends a 480 response code to the client. If it requires
> AUTHINFO GENERIC processing, it sends a 380 response code to the client. 

But the client can always issue a GENERIC before doing anything -- it
doesn't have to be when the server says to.

Auhtorization is being cleaned up in the NNTP working group. INN will
follow whatever they come up with.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads