Article View: news.software.nntp
Article #42184Re: INN v2.2.x and Kerberos Authenication
From: Ken Raeburn
Date: Wed, 15 Dec 1999 00:00
Date: Wed, 15 Dec 1999 00:00
47 lines
3059 bytes
3059 bytes
Russ Allbery <rra@stanford.edu> writes: > Note that there's no standard mechanism for a news client to authenticate > to a news server with a Kerberos service ticket, and I don't know of any > news clients that try to do this, so you're very much in "roll your own" > territory. If you mean to be authenticating username/password pairs via > Kerberos, you probably don't want to do that given that that means > passwords would be going across your network in the clear. You might want to look at SASL and how it's used in IMAP. The MIT Kerberos package doesn't include SASL, but you can get it elsewhere. The Cyrus distribution from CMU comes to mind, though I haven't actually tried it out myself. The old copy I'm looking at has the single GSSAPI SASL mechanism, instead of the one-per-GSSAPI-mech approach that's been suggested since. Look at GSSAPI as well. Either of these will give you a framework into which you can plug specific authentication mechanisms without having to revisit the protocol encoding issues every time. I know GSSAPI gives you an API to write to. I think some of the SASL folks were going to try to standardize on an API too, but I haven't followed their stuff in some time. > BTW, plugging external authenticators into INN is much easier as of INN > 2.3 and the readers.conf setup; if you have some leeway to investigate > servers that aren't out of alpha testing yet, you may want to consider > going that direction. I haven't looked at this at all, being far more the security weenie than INN hacker, but are there hooks into the network I/O after connection setup? You'd probably want that for any sort of generalized integrity protection (e.g., to avoid forged postings from a "man in the middle") or privacy scheme (e.g., for private local newsgroups on sensitive topics, or to prevent co-workers with network monitors from knowing you read alt.sex.extraterrestrials). Any of krb4, krb5, sasl, and gssapi will provide mechanisms you can use to protect exchanged data. But be careful if you try to roll your own -- the negotiation of the protection level, if any, must be protected sufficiently that an attacker can't reduce the protection level and *then* spy on your traffic. Ken
Technical Details
Message-ID:
<tx1n1rb8y1r.fsf@mit.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:
<38558D81.31178382@gumby.cc.wmich.edu> <ylg0x6uu9y.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <tx1n1rb8y1r.fsf@mit.edu> Subject: Re: INN v2.2.x and Kerberos Authenication Date: Wed, 15 Dec 1999 00:00:00 +0000 From: Ken Raeburn <raeburn@mit.edu> References: <38558D81.31178382@gumby.cc.wmich.edu> <ylg0x6uu9y.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-mail X-Deja-AN: 561220015 Sender: raeburn@dcl X-Complaints-To: abuse@rcn.com X-Trace: gp/cr3fEOglf1R/NmxcyHOllEpNGrIOEz9iI4SRcmTs= Mime-Version: 1.0 User-Agent: Gnus/5.070063 (Pterodactyl Gnus v0.63) Emacs/20.5 NNTP-Posting-Date: 16 Dec 1999 01:38:43 GMT Newsgroups: news.software.nntp