Thread View: news.software.nntp
3 messages
3 total messages
Started by Doug Hardie
Thu, 06 Jan 2005 05:59
Use of TSL/SSL with nnrpd
Author: Doug Hardie
Date: Thu, 06 Jan 2005 05:59
Date: Thu, 06 Jan 2005 05:59
22 lines
2188 bytes
2188 bytes
I am trying to test a configuration with TSL/SSL and not having any success. The server works fine with authentication. However, when I enable TSL/SSL on the client the server gets lost. The first message it generates upon connection from the client is 200 news.lafn.org InterNetNews NNRP server INN 2.4.0 ready (posting ok\). That is correct. The next thing it reads is 90 bytes of junk. I can't find any meaningfull info in it. The next message logged is: <60>Jan 5 21:49:17 nnrpd[12713]: 4.28.157.47 unrecognized \^V\^C\^A" The string at the end is the first part of the 90 bytes it read earlier. It appears the client has encrypted the commands but there have not been any certificate transfers yet so I don't see how that could have happened. I have tried with TSLV1 and SSLV2 and SSLV3. Basically the same result for all. The certificate is in /usr/local/news/lib with the correct ownership and permissions per the sasl.conf man page. However, that file is not being accessed. A ktrace of nnrpd shows no attempt to access that file or the certificate. Have I missed something in the configuration of the server or the clients?
Re: Use of TSL/SSL with nnrpd
Author: Russ Allbery
Date: Thu, 06 Jan 2005 08:10
Date: Thu, 06 Jan 2005 08:10
22 lines
2092 bytes
2092 bytes
Doug Hardie <bc979@lafn.org> writes:
> I am trying to test a configuration with TSL/SSL and not having any
> success. The server works fine with authentication. However, when I
> enable TSL/SSL on the client the server gets lost. The first message it
> generates upon connection from the client is
> 200 news.lafn.org InterNetNews NNRP server INN 2.4.0 ready (posting ok\).
> That is correct. The next thing it reads is 90 bytes of junk. I can't
> find any meaningfull info in it.
Is the client trying to use STARTTLS, or is it just starting right in with
a TLS negotiation? If it's doing the latter, you need to run nnrpd -S on
a separate port (usually nntps) and then configure the client to use that
port instead.
--
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: Use of TSL/SSL with nnrpd
Author: Doug Hardie
Date: Thu, 06 Jan 2005 19:26
Date: Thu, 06 Jan 2005 19:26
24 lines
2138 bytes
2138 bytes
In article <87hdlv5670.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > Doug Hardie <bc979@lafn.org> writes: > > > I am trying to test a configuration with TSL/SSL and not having any > > success. The server works fine with authentication. However, when I > > enable TSL/SSL on the client the server gets lost. The first message it > > generates upon connection from the client is > > > 200 news.lafn.org InterNetNews NNRP server INN 2.4.0 ready (posting ok\). > > > That is correct. The next thing it reads is 90 bytes of junk. I can't > > find any meaningfull info in it. > > Is the client trying to use STARTTLS, or is it just starting right in with > a TLS negotiation? If it's doing the latter, you need to run nnrpd -S on > a separate port (usually nntps) and then configure the client to use that > port instead. There is no indication of a STARTTLS in the tcpdump. The first packet sent from the client appears to be a TLS negotiation. I started nnrpd manually as a standalone daemon with -D -p 563 -S. That seems to work. thanks.
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