Article View: news.software.nntp
Article #44315Re: nntpext (was RFC 1036 Revision...)
From: Russ Allbery
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
66 lines
4156 bytes
4156 bytes
Andrew <andrew+news@supernews.com> writes: > Russ Allbery wrote: >> NNTP should simply require SASL be used for all authentication except >> for legacy support and be done with it. That way, there's no need to >> even bother standardizing the response codes of the previous mechanism; >> just document that some clients use them, but say that everyone should >> use SASL. > You're not reading what I wrote. Er, yes I am, but I didn't make that clear. And I also had a bit of brain fade on a few points. > SASL is a framework for authentication mechanisms, not a mechanism > itself. Right. But it lets you plug any mechanism you choose into it. > The auth draft as it stands requires that any system offering SASL > support implement the DIGEST-MD5 (or maybe CRAM-MD5) mechanism, That's an odd requirement. We run all sorts of services that use SASL which don't do anything of the sort, and there's no reason that I can see for news to be any different. Most of the systems we run using SASL implement KERBEROS_V4 or GSSAPI, which don't require plain text. That's not a solution for the standard Usenet site, of course, since most clients can't speak Kerberos, just an example. > and I can't do those because they assume that the server is doing the > authentication itself rather than invoking an external mechanism such as > a RADIUS server. I need a mechanism that allows the recovery of the > plaintext password, and I don't know if a suitable one exists (I'll > admit to knowing very little about SASL though). Well, there's always the PLAIN SASL mechanism, which just uses clear-text passwords (it "MUST NOT" be advertised or used unless a strong encryption layer has been negotiated, of course, but if you're doing news over SSL that would work fine). Beyond that, I see what you mean in terms of your requirements; something that lets the server securely recover the original password as typed, without relying on transport-layer encryption, is going to require either public key or trusted-third-party, and while Kerberos does fit the bill for the latter, it's probably not something you can use very easily. My point, though, was more that all of these sorts of issues become much easier and approachable, if not immediately solved, by just taking the jump and saying SASL is the one and only way one does authentication in protocols like NNTP, POP, IMAP, SMTP, etc. > The issue of response codes isn't fixed by standardising only SASL in > any case. The problem case is when a client connects, issues a command, > and the server needs to respond with "authentication required". Unless > the code used for that is 480, lots of existing clients break, > regardless of whether you're using plaintext passwords or SASL. Ugh, yeah, that's right. I'd forgotten that the response code matters before you even attempt an authentication mechanism. :/ -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yl1z658xa1.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.mbox.zip!not-for-mailReferences:
<slrn8an4h9.vch.grobe+news@worf.netins.net> <20000219010540.033$WW@newsreader.com> <slrn8asgfg.ke2.andrew+news@uk21.supernews.com> <20000219165634.892$gw@newsreader.com> <951044199.654748@news.netscum.dk> <20000220110821.423$oq@newsreader.com> <mW.88svjg$csj@meowhost.meow.invalid> <slrn8b41qr.2gu.andrew+news@uk21.supernews.com> <20000222005511.925$n3@newsreader.com> <slrn8b4d9e.2gu.andrew+news@uk21.supernews.com> <yld7pp8zl9.fsf@windlord.stanford.edu> <slrn8b4gb7.2gu.andrew+news@uk21.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <yl1z658xa1.fsf@windlord.stanford.edu> Subject: Re: nntpext (was RFC 1036 Revision...) Date: Tue, 22 Feb 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <slrn8an4h9.vch.grobe+news@worf.netins.net> <20000219010540.033$WW@newsreader.com> <slrn8asgfg.ke2.andrew+news@uk21.supernews.com> <20000219165634.892$gw@newsreader.com> <951044199.654748@news.netscum.dk> <20000220110821.423$oq@newsreader.com> <mW.88svjg$csj@meowhost.meow.invalid> <slrn8b41qr.2gu.andrew+news@uk21.supernews.com> <20000222005511.925$n3@newsreader.com> <slrn8b4d9e.2gu.andrew+news@uk21.supernews.com> <yld7pp8zl9.fsf@windlord.stanford.edu> <slrn8b4gb7.2gu.andrew+news@uk21.supernews.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.mbox.zip!not-for-mail X-Deja-AN: 588304064 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp