On Mon, Jan 07, 2013 at 03:43:44PM +0100, Florian Westphal wrote:
Brett Smith brett@w3.org wrote:
Hi everyone,
I deployed ngIRCd 20.1 on our server yesterday and ran into a hiccup. I built ngIRCd with these flags:
./configure --enable-ipv6 --with-gnutls --with-pam
We're running two servers, and the second makes a server connection to the first with SSLConnect=yes. This all worked fine in 19.2, but in 20.1 the connection doesn't take. It looks like ngIRCd fails to initialize GnuTLS correctly in this case. Here's the logs on the second server, the one making the connection—this all happens in one second:
There is a post 19.2 change that skips ssl initialization if no ssl listen ports are configured.
This is commit bb20aeb9bcb ...
If you don't have any ssl listen ports defined, could you do so to see if that makes things work?
Aaargl. You are right: if there are no SSL listen ports defined, SSL won't become initialized at all, and therefore no outgoing(!) SSL connections could work as well ... hmpf.
Silly me! :-( I'll have a look at this ...
@Brett: does definig a "Ports" variable in [SSL] solve the problem for you?
Thanks! Alex