Thread View: news.software.nntp
4 messages
4 total messages
Started by ladm_removethis
Thu, 29 Mar 2001 07:27
SSL in inn-2.3.1
Author: ladm_removethis
Date: Thu, 29 Mar 2001 07:27
Date: Thu, 29 Mar 2001 07:27
15 lines
1659 bytes
1659 bytes
I have inn-2.3.1 with openssl(0.9.6) enabled compiled in Solaris 2.6. I want to set up a news server with full access to: 1) hosts in our domain 2) authenticated users from outside. I do not want clear text passwords, so it needs a SSL session. It is easy to configure readers.conf for (1), but I do not know how to do it for (2). I know how to do it with clear text passwords but that is not a good solution. I have read nnrpd man page and it says that running nnrpd with switch '-S' starts a negotiation for SSL session. So what I need is that when anybody from outside connects, innd must call 'nnrpd -S', and in any other case the usual nnrpd. Is this possible? Is there any other solution?
Re: SSL in inn-2.3.1
Author: Jeffrey M. Vinocur
Date: Fri, 30 Mar 2001 05:02
Date: Fri, 30 Mar 2001 05:02
41 lines
2508 bytes
2508 bytes
In article <99uo52$ce0$1@simancas.uva.es>,
<ladm_removethis@cascarela.tel.uva.es> wrote:
>
>I have read nnrpd man page and it says that running nnrpd with switch '-S'
>starts a negotiation for SSL session. So what I need is that when anybody
>from outside connects, innd must call 'nnrpd -S', and in any other case
>the usual nnrpd. Is this possible? Is there any other solution?
There are two solutions. One is to use port 563 (instead of 119)
exclusively for SSL connections. You modify your inetd to answer
connections on that port with `nnrpd -S`, and users connect to
that port for SSL. The only trouble there is that you need to
use a different readers.conf file for that nnrpd, and there is no
such feature in 2.3.1. It is not very difficult to add support
for `-c filename` to nnrpd (I have a patch that does it for
2.3.1 if you like).
The other thing (this can also be done in addition to the above)
is another patch for 2.3.1 which adds support for a readers.conf
parameter "ssl_required: true" to auth blocks. For example, this
allows SSL connections to authenticate against our system
password database but unencrypted connections to only use special
news-only passwords.
auth "foreign-SSL" {
hosts: *
require_ssl: "true"
auth: "ckpasswd -s"
auth: "ckpasswd -f /usr/local/news/db/newsusers"
}
auth "foreign" {
hosts: *
auth: "ckpasswd -f /usr/local/news/db/cucsusers"
}
--
Jeffrey M. Vinocur
jeff@litech.org
Re: SSL in inn-2.3.1
Author: ladm_removethis
Date: Fri, 30 Mar 2001 07:34
Date: Fri, 30 Mar 2001 07:34
22 lines
2168 bytes
2168 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote: > There are two solutions. One is to use port 563 (instead of 119) > exclusively for SSL connections. You modify your inetd to answer > connections on that port with `nnrpd -S`, and users connect to > that port for SSL. The only trouble there is that you need to > use a different readers.conf file for that nnrpd, and there is no > such feature in 2.3.1. It is not very difficult to add support > for `-c filename` to nnrpd (I have a patch that does it for > 2.3.1 if you like). > The other thing (this can also be done in addition to the above) > is another patch for 2.3.1 which adds support for a readers.conf > parameter "ssl_required: true" to auth blocks. For example, this > allows SSL connections to authenticate against our system > password database but unencrypted connections to only use special > news-only passwords. Both solutions are exactly what I was looking for. Where can I find those patches ? If they are not in a public site, could you post them to the news group or to my e-mail (ladm@cascarela.tel.uva.es) ? Thank you very much.
Re: SSL in inn-2.3.1
Author: Jeffrey M. Vinocur
Date: Sun, 01 Apr 2001 16:55
Date: Sun, 01 Apr 2001 16:55
17 lines
1602 bytes
1602 bytes
In article <9a1cu1$3if$1@simancas.uva.es>, <ladm_removethis@cascarela.tel.uva.es> wrote: > > Both solutions are exactly what I was looking for. Where can I find >those patches ? If they are not in a public site, could you post >them to the news group or to my e-mail (ladm@cascarela.tel.uva.es) ? Thanks for motivating me; I've put all of my INN patches up on the web and written a brief README for them. Please see <http://www.litech.org/~jeff/inn-diffs/>. The two patches I mentioned to you are called 'nnrpd-readers' and 'nnrpd-ssl'. -- Jeffrey M. Vinocur jeff@litech.org
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