🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Derek Diget Mon, 13 Dec 1999 00:00
INN v2.2.x and Kerberos Authenication
#42130
Author: Derek Diget
Date: Mon, 13 Dec 1999 00:00
21 lines
1682 bytes
We are going to be upgrading our INN to v2.2.x (from 1.5) in the next
couple of days and have a few questions regarding INN and external
authenication.

Can anybody point me in the right direction on finding info on doing
external authenication (read and post) using Kerberos.  The machine
INN is running on is of course kerberized, but what we want to do is
have INN authenicate to the KDC directly as the news machine only has
a few sysadmin accounts.

Thanks.

***********************************************************************
Derek Diget    
Western Michigan University - Kalamazoo  Michigan  USA -
www.wmich.edu/
Office of Information Technology -  UNIX support  -
www.wmich.edu/unix/
***********************************************************************

Re: INN v2.2.x and Kerberos Authenication
#42148
Author: Nicholas Geovanis
Date: Tue, 14 Dec 1999 00:00
35 lines
2065 bytes
On Mon, 13 Dec 1999, Derek Diget wrote:

> We are going to be upgrading our INN to v2.2.x (from 1.5) in the next
> couple of days and have a few questions regarding INN and external
> authenication.
> 
> Can anybody point me in the right direction on finding info on doing
> external authenication (read and post) using Kerberos.  The machine
> INN is running on is of course kerberized, but what we want to do is
> have INN authenicate to the KDC directly as the news machine only has
> a few sysadmin accounts.

Funny you should ask. I just refit local patches which implement a KDC
lookup in nnrpd/nnrpd.c for INN 1.7.2 and Kerb 5 (used to be inn1.4unoff4 
and Kerb IV). The source is not radically different at INN 2.2.1, but the
newer INN version does have a standard perl authentication callout at very
nearly the same place which should probably be used instead (this callout
wasn't yet there for INN 1.7.2).

There wasn't any info on the subject which I could find, but I'll be happy
to forward you a patch for 1.7.2. Let me know.

> Thanks.
> 
> Derek Diget    
> Western Michigan University - Kalamazoo  Michigan  USA -

+-------------------->
| Nick Geovanis
| IT Computing Svcs
| Northwestern Univ
V n-geovanis@nwu.edu


Re: INN v2.2.x and Kerberos Authenication
#42149
Author: Etienne Gauthier
Date: Tue, 14 Dec 1999 00:00
31 lines
1833 bytes
Derek Diget wrote:
> 
> We are going to be upgrading our INN to v2.2.x (from 1.5) in the next
> couple of days and have a few questions regarding INN and external
> authenication.
> 
> Can anybody point me in the right direction on finding info on doing
> external authenication (read and post) using Kerberos.  The machine
> INN is running on is of course kerberized, but what we want to do is
> have INN authenicate to the KDC directly as the news machine only has
> a few sysadmin accounts.
> 
> Thanks.
> 
> ***********************************************************************
> Derek Diget
> Western Michigan University - Kalamazoo  Michigan  USA -
> www.wmich.edu/
> Office of Information Technology -  UNIX support  -
> www.wmich.edu/unix/
> ***********************************************************************


  This remind of grouper, a tool available within a link from here :
http://www.visi.com/~barr/INN.html

  It should allow such authentification ...

Etienne

Re: INN v2.2.x and Kerberos Authenication
#42184
Author: Ken Raeburn
Date: Wed, 15 Dec 1999 00:00
47 lines
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

Re: INN v2.2.x and Kerberos Authenication
#42525
Author: Kai Henningsen
Date: Sun, 26 Dec 1999 00:00
19 lines
1633 bytes
rra@stanford.edu (Russ Allbery)  wrote on 15.12.99 in <ylzovbwteg.fsf@windlord.stanford.edu>:

> I could pretty easily put SASL on top of NNTP as an authentication
> mechanism, and if people are interested I'll add it to the to-do list for
> INN 2.4.  But the server is the easy part; it's the clients that are hard
> because they're often Windows and Mac programs without source.

That may well be a good idea. SASL is going to become much more deployed  
in the near future, and once this happens, it's only a question of how,  
exactly, to interface to it; clients will implement it.


Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

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