Thread View: news.software.nntp
4 messages
4 total messages
Started by jpb
Tue, 15 Aug 2000 00:00
nnrpd authentication and ssl
Author: jpb
Date: Tue, 15 Aug 2000 00:00
Date: Tue, 15 Aug 2000 00:00
32 lines
1955 bytes
1955 bytes
I'm trying to find out if anyone is using authentication over ssl with INN 2.3 (20000809 prerelease) . Here is what I am trying to set up. 1) Any user from *.local.com can read/post over ports 119 and 563. 2) Users outside *.local.com must authenticate over ssl (563), no clear text auth over 119. I've had some luck with nnrpd_auth.pl although I'm not sure what the 5'th return value should be. For example return(281,1,1,"*",0), nnrpd now return an error if only 4 values are returned. Is there a updated perl hook document. Actually I was hoping that I could do all my authentication from readers.conf since it would be mostly ip based restriction, only off site connections would require ssl. Calling perl every connection seems a waste. Using the "auth:" command in readers.conf is not working, only the "res:" program appears to be called. Are these programs still returning nnrp.access style reply's? At this point I'm considering backing out and using stunnell, even without decent host/port info out of the box. Any ideas, I realize this post is a bit general. Any help would be appreciated. -jpb
Re: nnrpd authentication and ssl
Author: Russ Allbery
Date: Tue, 15 Aug 2000 00:00
Date: Tue, 15 Aug 2000 00:00
50 lines
3058 bytes
3058 bytes
As a side note, the SSL support in INN 2.3 BETA should be considered
experimental. It still definitely needs work; it's in there mostly for
people to start playing with and may not do what you want.
jpb <jpb@sprintmail.com> writes:
> I'm trying to find out if anyone is using authentication over ssl with
> INN 2.3 (20000809 prerelease) . Here is what I am trying to set up.
> 1) Any user from *.local.com can read/post over ports 119 and 563.
> 2) Users outside *.local.com must authenticate over ssl (563), no clear
> text auth over 119.
You'll probably need to read two readers.conf files for this and point
nnrpd at two different ones depending on whether it's running under SSL or
not; I don't think nnrpd currently supports selecting different behavior
based on whether the connection came over SSL.
> I've had some luck with nnrpd_auth.pl although I'm not sure what the
> 5'th return value should be. For example return(281,1,1,"*",0), nnrpd
> now return an error if only 4 values are returned. Is there a updated
> perl hook document.
authenticate() should return a five-element array. The first element
is the NNTP response code to return to the client, the second element
is a boolean value indicating whether the client is allowed to read,
the third element is a boolean value indicating whether the client is
allowed to post, the fourth element is a wildmat(3) expression that
says what groups the client is allowed to read, and the fifth element
is the maximum bytes per second a client is permitted to use for
retrieving articles.
In general, you probably want to return 0 for the fifth element unless you
want to do rate limiting.
> Actually I was hoping that I could do all my authentication from
> readers.conf since it would be mostly ip based restriction, only off
> site connections would require ssl. Calling perl every connection seems
> a waste. Using the "auth:" command in readers.conf is not working, only
> the "res:" program appears to be called. Are these programs still
> returning nnrp.access style reply's?
auth: should work fine; the program you want to use to check passwords is
ckpasswd. There's a paucity of documentation, but the examples in the
readers.conf man page should help.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: nnrpd authentication and ssl
Author: bill davidsen
Date: Tue, 29 Aug 2000 00:00
Date: Tue, 29 Aug 2000 00:00
26 lines
1799 bytes
1799 bytes
In article <ylvgx21gxx.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | jpb <jpb@sprintmail.com> writes: | | > I'm trying to find out if anyone is using authentication over ssl with | > INN 2.3 (20000809 prerelease) . Here is what I am trying to set up. | | > 1) Any user from *.local.com can read/post over ports 119 and 563. | > 2) Users outside *.local.com must authenticate over ssl (563), no clear | > text auth over 119. | | You'll probably need to read two readers.conf files for this and point | nnrpd at two different ones depending on whether it's running under SSL or | not; I don't think nnrpd currently supports selecting different behavior | based on whether the connection came over SSL. Doesn't the host qualified in readers.conf use wildmat? Should be able to use !*.local.com I would think. Have NOT tried, no time. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Make the rules? I don't make the rules. I don't even FOLLOW the rules!
Re: nnrpd authentication and ssl
Author: Russ Allbery
Date: Tue, 29 Aug 2000 00:00
Date: Tue, 29 Aug 2000 00:00
24 lines
1714 bytes
1714 bytes
bill davidsen <davidsen@tmr.com> writes: > Russ Allbery <rra@stanford.edu> wrote: > | jpb <jpb@sprintmail.com> writes: > | > 1) Any user from *.local.com can read/post over ports 119 and 563. > | > 2) Users outside *.local.com must authenticate over ssl (563), no clear > | > text auth over 119. > | You'll probably need to read two readers.conf files for this and point > | nnrpd at two different ones depending on whether it's running under SSL or > | not; I don't think nnrpd currently supports selecting different behavior > | based on whether the connection came over SSL. > Doesn't the host qualified in readers.conf use wildmat? Should be able > to use !*.local.com I would think. Have NOT tried, no time. The problem is that they don't want to disallow all access from outside *.local.com; they want to allow password authentication but *only* over SSL. -- 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