Thread View: news.software.nntp
9 messages
9 total messages
Started by Slav Inger
Tue, 02 Mar 2004 17:14
Security in INN 2.4
Author: Slav Inger
Date: Tue, 02 Mar 2004 17:14
Date: Tue, 02 Mar 2004 17:14
7 lines
1297 bytes
1297 bytes
Hello, I'm building INN 2.4.1, and noticed a --with-kerberos build option. Can this option be used to authenticate users against MS Active Directory, and without using TLS/SSL? There's a need to implement per-newsgroup security where certain newsgroups must be restricted to certain users. Can this be achieved in 2.4.1? Thanks.
Re: Security in INN 2.4
Author: Russ Allbery
Date: Tue, 02 Mar 2004 18:05
Date: Tue, 02 Mar 2004 18:05
26 lines
2203 bytes
2203 bytes
Slav Inger <slavinger@yahoo.com> writes:
> I'm building INN 2.4.1, and noticed a --with-kerberos build option. Can
> this option be used to authenticate users against MS Active Directory,
> and without using TLS/SSL?
No, unfortunately. NNTP as yet doesn't have an authentication mechanism
that supports anything other than clear-text passwords in any sort of
portable fashion. Eventually, we're going to add SASL authentication, but
we're not there yet.
That flag enables checking a username/password pair against a Kerberos
server instead of a local password file, and therefore still requires
TLS/SSL to be used to protect the password on the wire.
> There's a need to implement per-newsgroup security where certain
> newsgroups must be restricted to certain users. Can this be achieved in
> 2.4.1?
Yes. See readers.conf.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Security in INN 2.4
Author: Slav Inger
Date: Wed, 03 Mar 2004 18:00
Date: Wed, 03 Mar 2004 18:00
32 lines
2340 bytes
2340 bytes
Russ Allbery <rra@stanford.edu> wrote in message > > No, unfortunately. NNTP as yet doesn't have an authentication mechanism > that supports anything other than clear-text passwords in any sort of > portable fashion. Eventually, we're going to add SASL authentication, but > we're not there yet. > Thanks for the response, Russ. On a related subject, is it possible to set up an SSL-protected newsfeed tunnel between peers that requires authentication (passphrase, for instance) before allowing a peer to connect? I can see this being useful in preventing attacks where someone could masquarade as a legitimate peer. I didn't see any reference to this in the docs. > > That flag enables checking a username/password pair against a Kerberos > server instead of a local password file, and therefore still requires > TLS/SSL to be used to protect the password on the wire. > Could you elaborate on this? This doesn't sound like a true Kerberos auth session which includes getting a TGT and so forth (and the password is never actually sent). By a Kerberos server, do you mean a MIT-compatible KDC? Win2k and Win2k3 domain controllers can in fact act as MIT-compliant authenticators. > > Yes. See readers.conf. > Thanks. :)
Re: Security in INN 2.4
Author: Russ Allbery
Date: Wed, 03 Mar 2004 18:26
Date: Wed, 03 Mar 2004 18:26
34 lines
2584 bytes
2584 bytes
Slav Inger <slavinger@yahoo.com> writes:
> Thanks for the response, Russ. On a related subject, is it possible to
> set up an SSL-protected newsfeed tunnel between peers that requires
> authentication (passphrase, for instance) before allowing a peer to
> connect? I can see this being useful in preventing attacks where
> someone could masquarade as a legitimate peer. I didn't see any
> reference to this in the docs.
Not with INN. INN only supports SSL with reader connections.
>> That flag enables checking a username/password pair against a Kerberos
>> server instead of a local password file, and therefore still requires
>> TLS/SSL to be used to protect the password on the wire.
> Could you elaborate on this? This doesn't sound like a true Kerberos
> auth session which includes getting a TGT and so forth (and the
> password is never actually sent).
That's correct.
I'm not sure what elaboration I can provide.
> By a Kerberos server, do you mean a MIT-compatible KDC? Win2k and
> Win2k3 domain controllers can in fact act as MIT-compliant
> authenticators.
Yes. It can use any Kerberos KDC.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Security in INN 2.4
Author: Curt Welch
Date: Wed, 03 Mar 2004 19:10
Date: Wed, 03 Mar 2004 19:10
16 lines
1872 bytes
1872 bytes
slavinger@yahoo.com (Slav Inger) wrote: > Thanks for the response, Russ. On a related subject, is it possible > to set up an SSL-protected newsfeed tunnel between peers that requires > authentication (passphrase, for instance) before allowing a peer to > connect? I can see this being useful in preventing attacks where > someone could masquarade as a legitimate peer. I don't know what INN supports in that regard, but peers are normally identified/authenticated by IP. You can't realy fake an IP and still do any real harm. You really don't need anything more secure than that for peering. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Security in INN 2.4
Author: David Magda
Date: Wed, 03 Mar 2004 23:37
Date: Wed, 03 Mar 2004 23:37
33 lines
2668 bytes
2668 bytes
slavinger@yahoo.com (Slav Inger) writes: > Russ Allbery <rra@stanford.edu> wrote in message [...] > > That flag enables checking a username/password pair against a > > Kerberos server instead of a local password file, and therefore > > still requires TLS/SSL to be used to protect the password on the > > wire. > > > > Could you elaborate on this? This doesn't sound like a true > Kerberos auth session which includes getting a TGT and so forth > [...] I think what Russ was saying was that you, as a user, send your username/password to INN. INN then goes to the KDC and sees if it can authenticate to it. If INN can authenticate to the KDC the user is then authenticated, it it cannot get a positive response from the KDC the user is rejected. What you mean by "true Kerberos auth session" is that instead of the user sending a a username/password, he sends a ticket for the 'news' service to INN, which INN would then validate. Hence the username/password pair is never sent over the wire (regardless of whether SSL is being used or not). Does this accurately describe what is being said? -- David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/ Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Re: Security in INN 2.4
Author: Russ Allbery
Date: Thu, 04 Mar 2004 00:03
Date: Thu, 04 Mar 2004 00:03
34 lines
2835 bytes
2835 bytes
David Magda <dmagda+trace040127@ee.ryerson.ca> writes:
> I think what Russ was saying was that you, as a user, send your
> username/password to INN. INN then goes to the KDC and sees if it can
> authenticate to it. If INN can authenticate to the KDC the user is then
> authenticated, it it cannot get a positive response from the KDC the
> user is rejected.
> What you mean by "true Kerberos auth session" is that instead of the
> user sending a a username/password, he sends a ticket for the 'news'
> service to INN, which INN would then validate. Hence the
> username/password pair is never sent over the wire (regardless of
> whether SSL is being used or not).
> Does this accurately describe what is being said?
That's an excellent explanation.
The current Kerberos authenticator is something I would describe as a
quick hack. It lets you use a KDC as a password store, basically, but it
doesn't do real Kerberos. The problem is that to do real Kerberos
requires doing SASL or something similar, which requires teaching NNTP how
to do real authentication. The only NNTP authentication protocol
currently available is username/password, so some protocol work needs to
be done (with the corresponding implementation in INN) before we can use
SASL.
This is work that's definitely coming, but it just hasn't been done yet.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Security in INN 2.4
Author: Slav Inger
Date: Fri, 05 Mar 2004 14:45
Date: Fri, 05 Mar 2004 14:45
20 lines
2257 bytes
2257 bytes
Russ Allbery <rra@stanford.edu> wrote in message > David Magda <dmagda+trace040127@ee.ryerson.ca> writes: > > The current Kerberos authenticator is something I would describe as a > quick hack. It lets you use a KDC as a password store, basically, but it > doesn't do real Kerberos. The problem is that to do real Kerberos > requires doing SASL or something similar, which requires teaching NNTP how > to do real authentication. The only NNTP authentication protocol > currently available is username/password, so some protocol work needs to > be done (with the corresponding implementation in INN) before we can use > SASL. > > This is work that's definitely coming, but it just hasn't been done yet. > OK, thanks for the responses guys, I misunderstood Russ's initial reply. In general, is it possible to SASL-protect a connection without the underlying protocol knowing anything about SASL? For instance, assuming that both endpoints support SSL at the OS level and can obtain the cert, can the NNTP peering session be encrypted?
Re: Security in INN 2.4
Author: Russ Allbery
Date: Fri, 05 Mar 2004 17:40
Date: Fri, 05 Mar 2004 17:40
19 lines
2126 bytes
2126 bytes
Slav Inger <slavinger@yahoo.com> writes:
> OK, thanks for the responses guys, I misunderstood Russ's initial
> reply. In general, is it possible to SASL-protect a connection
> without the underlying protocol knowing anything about SASL?
No. That's the problem. :/
> For instance, assuming that both endpoints support SSL at the OS level
> and can obtain the cert, can the NNTP peering session be encrypted?
That's SSL, not SASL. Completely different thing. There's already an
informal standard for doing SSL with NNTP, which INN implements.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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