Thread View: news.software.nntp
6 messages
6 total messages
Started by Jeffrey M. Vinocur
Tue, 16 Jan 2001 06:22
INN and SSL
Author: Jeffrey M. Vinocur
Date: Tue, 16 Jan 2001 06:22
Date: Tue, 16 Jan 2001 06:22
42 lines
2772 bytes
2772 bytes
We'd like to support both SSL-encrypted and unencrypted reader authentication. First off, is there any thorough documentation on perlauth? In particular, is there any way to find out from the perl environment whether the client has connected with SSL? Ideally, here are the semantics we want. Yes, we expect to hack on nnrpd to get this, but we'd like general input... If the user is connecting with SSL, authenticate in the usual fashion (a call to `ckpasswd -s` would do here). If the connection is unencrypted, after `authinfo user` we want to cause most newsreaders not to attempt to send the password (by returning an error code -- which would be appropriate?). Except, however, if the user is listed in a separate database of cleartext passwords, in which case he should be allowed to continue authentication against that database. The goal is to deal with the situation where security-naive users type their password at any box that asks them for a password. (Users generally have only one password, never sent in the clear.) Certainly the client can do whatever it wants, but hopefully most will refuse to send the password in the circumstances described above. The point of the separate database is so that more advanced users (those who can deal with separate passwords and not sending the wrong one in the clear) can function without interference. (For example, some might not want to use SSL because they are connecting over a link, such as an encrypted VPN, which is already secure.) Thoughts? This will require significant modification of the actual inn code, it seems...but perhaps we can get a decent approximation with less effort (staying within the extension mechanisms already provided). -- Jeffrey M. Vinocur jeff@litech.org
Re: INN and SSL
Author: Jeffrey M. Vinocur
Date: Tue, 16 Jan 2001 06:41
Date: Tue, 16 Jan 2001 06:41
27 lines
1778 bytes
1778 bytes
In article <940pc1$os$1@marduk.litech.org>, Jeffrey M. Vinocur <jeff@litech.org> wrote: > >Thoughts? This will require significant modification of the >actual inn code, it seems...but perhaps we can get a decent >approximation with less effort (staying within the extension >mechanisms already provided). *sigh* It would suffice to run nnrpd with -S, and run another one on a separate port that only does plaintext, since the only people who will need to change port number in client config are the ones we trust to have a clue. Two issues: - What happens to clients that don't grok SSL if they connect to a `nnrpd -S`? - At the moment, innd takes care of reader connections. Is setting up a standalone nnrpd on a separate port as simple as it looks? -- Jeffrey M. Vinocur jeff@litech.org
Re: INN and SSL
Author: Russ Allbery
Date: Tue, 16 Jan 2001 10:00
Date: Tue, 16 Jan 2001 10:00
44 lines
2623 bytes
2623 bytes
Jeffrey M Vinocur <jeff@litech.org> writes: > We'd like to support both SSL-encrypted and unencrypted reader > authentication. First off, is there any thorough documentation on > perlauth? In particular, is there any way to find out from the perl > environment whether the client has connected with SSL? I'm fairly sure there isn't currently, but it should be simple enough to add another key to %attributes for this information (and I'd happily accept such a patch). > If the user is connecting with SSL, authenticate in the usual fashion (a > call to `ckpasswd -s` would do here). If the connection is unencrypted, > after `authinfo user` we want to cause most newsreaders not to attempt > to send the password (by returning an error code -- which would be > appropriate?). Try 502. > Except, however, if the user is listed in a separate database of > cleartext passwords, in which case he should be allowed to continue > authentication against that database. One of the things you'll run into here is that currently the authentication hooks don't do a callback between the USER and the PASS lines, only when the complete authentication information has been received. > The goal is to deal with the situation where security-naive users type > their password at any box that asks them for a password. (Users > generally have only one password, never sent in the clear.) Yup, sounds familiar. > Thoughts? This will require significant modification of the actual inn > code, it seems...but perhaps we can get a decent approximation with less > effort (staying within the extension mechanisms already provided). It shouldn't actually require very much if you want to use the Perl authentication hooks. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN and SSL
Author: Russ Allbery
Date: Tue, 16 Jan 2001 10:01
Date: Tue, 16 Jan 2001 10:01
27 lines
1738 bytes
1738 bytes
Jeffrey M Vinocur <jeff@litech.org> writes: > *sigh* It would suffice to run nnrpd with -S, and run another one on a > separate port that only does plaintext, since the only people who will > need to change port number in client config are the ones we trust to > have a clue. This is also true. :) > Two issues: > - What happens to clients that don't grok SSL if they connect to > a `nnrpd -S`? My understanding of the current code is that it expects STARTTLS and doesn't start doing SSL stuff until it gets it, even if -S is given. But I've not looked at it in great detail. > - At the moment, innd takes care of reader connections. Is setting up a > standalone nnrpd on a separate port as simple as it looks? Yup. I always run nnrpd that way. Highly recommended. (Run innd on port 433 instead.) -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN and SSL
Author: Kenichi Okada
Date: Tue, 16 Jan 2001 11:55
Date: Tue, 16 Jan 2001 11:55
17 lines
2527 bytes
2527 bytes
In the message <ylhf2zddda.fsf@windlord.stanford.edu> Russ Allbery <rra@stanford.edu> wrote: > > - What happens to clients that don't grok SSL if they connect to > > a `nnrpd -S`? > My understanding of the current code is that it expects STARTTLS and > doesn't start doing SSL stuff until it gets it, even if -S is given. But > I've not looked at it in great detail. STARTTLS is not needed if -S is given. -- Kenichi Okada mailto:okada@opaopa.org
Re: INN and SSL
Author: Clayton O'Neill
Date: Wed, 17 Jan 2001 08:57
Date: Wed, 17 Jan 2001 08:57
7 lines
1126 bytes
1126 bytes
On 16 Jan 2001 02:01:53 -0800, Russ Allbery <rra@stanford.edu> wrote: |Yup. I always run nnrpd that way. Highly recommended. (Run innd on port |433 instead.) Better yet, 1119, or some other port over 1024. That way you can get rid of the inndstart wrapper completely.
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