🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Chris Lewis Thu, 10 Nov 1994 18:26
Re: Per-user NNTP authentication: news software authors take note!
#12459
Author: Chris Lewis
Date: Thu, 10 Nov 1994 18:26
58 lines
3997 bytes
[I should have known better to post to a moderated group without placing
a followup to an unmoderated place to discuss whatever's necessary.  Anyone
else following up on this topic, *please* set your Followup-To: to
news.software.nntp.]

[[He may have included the Followup-To, I'm writing a new mailer for my
personal use and I missed some headers.  --mod]]

In article <39r8g5$9bk@ftp.uu.net>, John Gardiner Myers <jgm+@CMU.EDU> wrote:
>It's unfortunate the specification wasn't made known earlier.  It's
>gratuitous incompatibility with similar work in other protocols
>perhaps could have been avoided.

It does nothing of the sort.  It's exclusively an extension to the
"AUTHINFO <option>" NNTP command that allows the reader and server to
agree on _which_ authentication method they'll use.  AUTHINFO GENERIC is
not an authentication protocol.  If you want to do IMAP4 or Kerberos or
SecureID or whatever authentication, it's not only an implementation
detail, it's merely a configuration option.  It is this "AUTHINFO
GENERIC" mechanism that makes it possible for you to use any
authentication protocol you wish _without_ having to change the NNTP
standard again, and without having to lock everybody into _one_
authentication protocol which may be inappropriate for the organization.

>I don't understand how "AUTHINFO GENERIC ypauth" differs from the old
>"authinfo user/pass".  The exact same information is passed over the
>wire, it seems the protocol here is exposing what is really a server
>implementation detail.

You misunderstand.  "ypauth" is merely a sample authentication
protocol, and isn't part of the extension to NNTP.   The proposal is
simply the "AUTHINFO GENERIC <authenticator> [<args>]" command, it's
return codes, and the implicit assumption that there may be an in-band
or out-of-band authentication conversation between the AUTHINFO GENERIC
being issued and the return code being seen.  The extension to NNTP
does not attempt to define how the <authenticator>s work or even how
they communicate.  The document is not an RFC and is not intended
to be.  If and when it gets formally published in an RFC, the RFC
will only discuss the GENERIC command and the return codes.

"AUTHINFO GENERIC" is not in itself an authentication method, it's
merely a way of requesting that authentication be used, and what
authentication method should be chosen.  For example, someone may chose
to implement a "AUTHINFO GENERIC IMAP4" mechanism which proceeds to
authenticate in the way that your standard does.  There are other
people who are working on Kerberos and I believe GSSAPI authenticators
with GENERIC.  We will probably be doing a SecureID authenticator.

I should probably reorganize the document somewhat to make sure it's
abundantly clear what the "NNTP RFC" part is, and what parts aren't.
I thought I had done that already.  Oh well.
-- 
Chris Lewis: _Una confibula non sat est_
Phone: Canada 613 832-0541  Ferret list: ferret-request@ferret.ocunix.on.ca
Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/*
Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*

Re: Per-user NNTP authentication: news software authors take note!
#12472
Author: John Gardiner Myers
Date: Thu, 10 Nov 1994 21:56
55 lines
3296 bytes
I believe my comments here are appropriate for news.admin.technical,
I'm sure the moderator will correct me if I'm wrong.

clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
> It does nothing of the sort.  It's exclusively an extension to the
> "AUTHINFO <option>" NNTP command that allows the reader and server to
> agree on _which_ authentication method they'll use.

The work I was describing was similarly a mechanism for allowing the
reader and server to agree on which authentication method they'll use.
It is directly analogous to AUTHINFO GENERIC, though it does
additional things AUTHINFO GENERIC does not do, such as allow
authentication methods to optionally provide integrity or privacy
protection of the remainder of the connection.  IMAP4 is an access
protocol like NNTP, not an authentication mechanism like Kerberos.

Part of that work, draft-ietf-imap-auth-01.txt, goes on to define
three possible authentication protocols for use with that mechanism,
one each for Kerberos V4, GSS API, and S/Key.  Additional authentication
protocols can of course be defined.

I did read the AUTHINFO GENERIC document thouroughly before commenting
on it.  I suggest that it would be appropriate for you to read the
AUTHENTICATE command section of draft-ietf-imap-imap4-06.txt and the
documents draft-ietf-imap-auth-01.txt and draft-myers-pop3-auth-01.txt
before making statements about what it is that they do.

> >I don't understand how "AUTHINFO GENERIC ypauth" differs from the old
> >"authinfo user/pass".  The exact same information is passed over the
> >wire, it seems the protocol here is exposing what is really a server
> >implementation detail.
> 
> You misunderstand.  "ypauth" is merely a sample authentication
> protocol, and isn't part of the extension to NNTP.

I believe I understand perfectly what it is I don't understand here.
This is the issue of the difference between a protocol and the
implementation of the protocol.

"ypauth" makes an extremely poor example since the protocol is
identical in function to "authinfo user/pass".  It is not something
which should have the appearance of being defined, as the definition
will mislead people.

A better example would have been "S/Key".


The *implementation* described in the AUTHINFO GENERIC document is
certainly interesting work.

-- 
_.John G. Myers		Internet: jgm+@CMU.EDU
			LoseNet:  ...!seismo!ihnp4!wiscvm.wisc.edu!give!up

Re: Per-user NNTP authentication: news software authors take note!
#12676
Author: Rich Salz
Date: Tue, 15 Nov 1994 16:58
31 lines
2045 bytes
In <0ikcaAm00WBw0SHkFW@andrew.cmu.edu> jgm+@CMU.EDU (John Gardiner Myers) writes:
>It is directly analogous to AUTHINFO GENERIC, though it does
>additional things AUTHINFO GENERIC does not do, such as allow
>authentication methods to optionally provide integrity or privacy
>protection of the remainder of the connection.

I read the IMAP authentication drafts.  I know the difference between a
protocol and its implementation.  I was at least co-designer of the protocol
and its implementation.

Here are the things I wanted when I started:
	I didn't care about integrity or encryption or other per-connection
	state.  At least not now.

	I wanted to make it very easy to do everything without anyone
	touch INN code, since they'd most likely get it wrong.

	I think it is still too early to come anywhere near close to
	standardizing on authentication policies or mechanisms (at
	least wait until the patents expire :-).

	I saw no need to conform to a draft that had no widespread
	implementation experience.  In fact, given #2 above, I think
	the opposite.

>The *implementation* described in the AUTHINFO GENERIC document is
>certainly interesting work.

Thanks.
	/r$
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