Thread View: news.software.nntp
13 messages
13 total messages
Started by Russell Virgilio
Tue, 30 Jan 2001 21:59
sasl and nnrpd? 2.3.1
Author: Russell Virgilio
Date: Tue, 30 Jan 2001 21:59
Date: Tue, 30 Jan 2001 21:59
21 lines
2122 bytes
2122 bytes
I would like to enable ssl for readers whose accounts reside on an internal kerberized server. I have done the make cert during the initial install. I have read the sasl man pages. M y question is how to configure inn to allow incoming ssl connections. After they have been ssl authenticated I want to poll an internal kerberized server with the username and password the user provides inn. Do I run a seperate daemon for the ssl connections? The only password authenticaion references I found in the install and subsequent man pages were in readers.conf and that was with a db database and shadow file. Can anyone point me in the right direction? My ultimate goal would be to accept any users without ssl authentication that reside on our intranet, and accept users from anywhere who can ssl in with usernames/passwords which are polled from our internal kerberos server. We can insert kerberos hooks in the 2.3.1 code iif it comes down to that. Anyone have any ideas? thanks alot. -Russell
Re: sasl and nnrpd? 2.3.1
Author: Russ Allbery
Date: Wed, 31 Jan 2001 12:45
Date: Wed, 31 Jan 2001 12:45
39 lines
2855 bytes
2855 bytes
Russell Virgilio <cyphen@telocity.com> writes: > I would like to enable ssl for readers whose accounts reside on an > internal kerberized server. I have done the make cert during the > initial install. I have read the sasl man pages. M y question is how > to configure inn to allow incoming ssl connections. After they have > been ssl authenticated I want to poll an internal kerberized server with > the username and password the user provides inn. Do I run a seperate > daemon for the ssl connections? I'd recommend doing it that way; I think that will be easier. > The only password authenticaion references I found in the install and > subsequent man pages were in readers.conf and that was with a db > database and shadow file. Can anyone point me in the right direction? You'll need to write a password authenticator that calls the appropriate Kerberos calls to check the username and password; the easiest way to do this is generally to attempt to get a TGT and then destroy it if you're successful. Take a look at ckpasswd source to see the protocol. > My ultimate goal would be to accept any users without ssl authentication > that reside on our intranet, and accept users from anywhere who can ssl > in with usernames/passwords which are polled from our internal kerberos > server. We can insert kerberos hooks in the 2.3.1 code iif it comes > down to that. Shouldn't need to; only the external authenticator should have to know about Kerberos. Easiest way to do this is to run a regular nnrpd on 119 (or let innd spawn it, whichever you prefer) with a readers.conf file that only allows IP-based authentication and just allows acccess to your intranet, and a separate nnrpd in SSL mode with a separate readers.conf that spawns your Kerberized password checker. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: sasl and nnrpd? 2.3.1
Author: Russ Allbery
Date: Wed, 31 Jan 2001 15:51
Date: Wed, 31 Jan 2001 15:51
21 lines
2015 bytes
2015 bytes
Russell Virgilio <russ@gatech.edu> writes: > Russ Allbery wrote: >> Shouldn't need to; only the external authenticator should have to know >> about Kerberos. Easiest way to do this is to run a regular nnrpd on >> 119 (or let innd spawn it, whichever you prefer) with a readers.conf >> file that only allows IP-based authentication and just allows acccess >> to your intranet, and a separate nnrpd in SSL mode with a separate >> readers.conf that spawns your Kerberized password checker. > This is what I had in mind, but I am still a little rusty as to how INN > deals with two seperate nnrpd, and how I can point each seperate > instance at a different readers.conf file. Easiest way is probably to set INNCONF to point it at a different inn.conf file and in that file set a different pathetc that contains the other readers.conf. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: sasl and nnrpd? 2.3.1
Author: Russell Virgilio
Date: Wed, 31 Jan 2001 16:11
Date: Wed, 31 Jan 2001 16:11
24 lines
2157 bytes
2157 bytes
Russ Allbery wrote: > Shouldn't need to; only the external authenticator should have to know > about Kerberos. Easiest way to do this is to run a regular nnrpd on 119 > (or let innd spawn it, whichever you prefer) with a readers.conf file that > only allows IP-based authentication and just allows acccess to your > intranet, and a separate nnrpd in SSL mode with a separate readers.conf > that spawns your Kerberized password checker. This is what I had in mind, but I am still a little rusty as to how INN deals with two seperate nnrpd, and how I can point each seperate instance at a different readers.conf file. -Russell -- *-----------------------------------------------------* ** Russell Virgilio System Support Specialist I ** ** Georgia Tech - 404-894-8092 - russ@gatech.edu ** *-page: 404 336 2071 or 9724002294@pagenetmessage.net-*
Re: sasl and nnrpd? 2.3.1
Author: Charlie Codechanger
Date: Wed, 31 Jan 2001 17:02
Date: Wed, 31 Jan 2001 17:02
31 lines
2963 bytes
2963 bytes
:: >> to your intranet, and a separate nnrpd in SSL mode with a separate :: >> readers.conf that spawns your Kerberized password checker. :: :: > This is what I had in mind, but I am still a little rusty as to how INN :: > deals with two seperate nnrpd, and how I can point each seperate :: > instance at a different readers.conf file. :: :: Easiest way is probably to set INNCONF to point it at a different inn.conf :: file and in that file set a different pathetc that contains the other :: readers.conf. I was going to add a flag to be able to specify a specific readers config file at invocation, since we're running two very different nnrpds, one for the whole world on ports 143 and 563, and one open to only local customers on port 119. As it turned out, there were several differences in the compiled k0deZ that I wanted to run, so I built a second binary, and it was easiest just to add two #define lines that override the default readers.conf filename, in nnrpd.c and perm.c, just before the innconf->pathetc (am I the only one who always parses this as `pathetic'?) is concatenated with _PATH_NNRPACCESS. That way I need only copy readers.conf to something else, and not worry about the whole directory and enviroment and all. I dunno if it would be worth the bother to add probably `-c configfile' as a flag to specify an alternate readers.conf, or if the file that should be used there should be a different inn.conf, or what. Well, I have two differently-named binaries, and two different configfiles, the rest being the same, for what it's worth.
Re: sasl and nnrpd? 2.3.1
Author: Russ Allbery
Date: Wed, 31 Jan 2001 17:15
Date: Wed, 31 Jan 2001 17:15
10 lines
1395 bytes
1395 bytes
Charlie Codechanger <autocyberretributionmeowbot@plonk.invalid> writes: > I dunno if it would be worth the bother to add probably `-c configfile' > as a flag to specify an alternate readers.conf, I'd happily accept a patch for that; it sounds like a good idea to me. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: sasl and nnrpd? 2.3.1
Author: Jeffrey M. Vinocur
Date: Thu, 01 Feb 2001 05:03
Date: Thu, 01 Feb 2001 05:03
17 lines
1629 bytes
1629 bytes
In article <ylitmvprrz.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >Charlie Codechanger <autocyberretributionmeowbot@plonk.invalid> writes: > >> I dunno if it would be worth the bother to add probably `-c configfile' >> as a flag to specify an alternate readers.conf, > >I'd happily accept a patch for that; it sounds like a good idea to me. I sent Russ one; but if anybody is urgently interested, I can certainly provide diffs. (It's against 2.3.1.) -- Jeffrey M. Vinocur jeff@litech.org
Re: sasl and nnrpd? 2.3.1
Author: Jeffrey M. Vinocur
Date: Mon, 05 Feb 2001 17:22
Date: Mon, 05 Feb 2001 17:22
24 lines
1995 bytes
1995 bytes
In article <ylr91jyjnw.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > >Shouldn't need to; only the external authenticator should have to know >about Kerberos. Easiest way to do this is to run a regular nnrpd on 119 >(or let innd spawn it, whichever you prefer) with a readers.conf file that >only allows IP-based authentication and just allows acccess to your >intranet, and a separate nnrpd in SSL mode with a separate readers.conf >that spawns your Kerberized password checker. This raises a silly-ish question I've been wondering about. I'll have a standard nnrpd (separate password file) on 119, presumably. Then an SSL-only one (ckpasswd -s), and probably (Russ, you recommend this, IIRC) put INN itself on a separate port for peering stuff. So...are there any (even vaguely) standard ports for this, or should I just make some up at random? -- Jeffrey M. Vinocur jeff@litech.org
Re: sasl and nnrpd? 2.3.1
Author: Charlie Croissant
Date: Mon, 05 Feb 2001 18:04
Date: Mon, 05 Feb 2001 18:04
17 lines
1560 bytes
1560 bytes
:: >intranet, and a separate nnrpd in SSL mode with a separate readers.conf :: have a standard nnrpd (separate password file) on 119, :: presumably. Then an SSL-only one (ckpasswd -s), and probably :: (Russ, you recommend this, IIRC) put INN itself on a separate :: port for peering stuff. :: So...are there any (even vaguely) standard ports for this, or Yes. :: should I just make some up at random? Yes, that's lots of fun too. HTH, Mw.
Re: sasl and nnrpd? 2.3.1
Author: Charlie Cluedevoid
Date: Mon, 05 Feb 2001 18:20
Date: Mon, 05 Feb 2001 18:20
21 lines
2116 bytes
2116 bytes
> :: presumably. Then an SSL-only one (ckpasswd -s), and probably > :: So...are there any (even vaguely) standard ports for this, or > > Yes. Fine lot of help you are, idiot. What about doing something similar to this, to keep people from asking this question? Probably needs a bit of work to allow one to specify a different SSL port, but I think that by default if you specify `-S' it should expect to be listening on port 563 (grep nntps /etc/services) rather than on port 119 after the `case 'S':' line around 851 in nnrpd.c ListenPort = (however one would best specify the SSL port in config.h) Of course, it should be possible to specify `-p' to override this if one wants to, say, listen on a non-r00t port or whatever Sorry, i'm not really following this discussion or k0de closely, so if this is already done or if i'm not understanding what i should, then shoot me or something. especially for being a smartarse earlier. thx
Re: sasl and nnrpd? 2.3.1
Author: Russ Allbery
Date: Mon, 05 Feb 2001 21:35
Date: Mon, 05 Feb 2001 21:35
15 lines
1632 bytes
1632 bytes
Jeffrey M Vinocur <jeff@litech.org> writes: > This raises a silly-ish question I've been wondering about. I'll have a > standard nnrpd (separate password file) on 119, presumably. Then an > SSL-only one (ckpasswd -s), and probably (Russ, you recommend this, > IIRC) put INN itself on a separate port for peering stuff. > So...are there any (even vaguely) standard ports for this, or should I > just make some up at random? 443 for peering, 563 for SSL I believe. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: sasl and nnrpd? 2.3.1
Author: Jeffrey M. Vinocur
Date: Mon, 05 Feb 2001 23:28
Date: Mon, 05 Feb 2001 23:28
11 lines
1304 bytes
1304 bytes
In article <yl7l34g6dm.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > >443 for peering, 563 for SSL I believe. ^^^ Doesn't that conflict with https? -- Jeffrey M. Vinocur jeff@litech.org
Re: sasl and nnrpd? 2.3.1
Author: Russ Allbery
Date: Tue, 06 Feb 2001 00:07
Date: Tue, 06 Feb 2001 00:07
13 lines
1404 bytes
1404 bytes
Jeffrey M Vinocur <jeff@litech.org> writes: > Russ Allbery <rra@stanford.edu> wrote: >> 443 for peering, 563 for SSL I believe. > ^^^ > Doesn't that conflict with https? Ack, sorry, 433. The comment in inndstart is wrong; the code is right. I'll go fix. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
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