Hi all,
I have compiled ngircd as per the usual steps, everything does work, except the most crucial bit for me - SSL.
This is what it shows during debug:
[root@feisty ngircd-20.3]# /usr/local/sbin/ngircd -n [26473:5 0] ngIRCd 21~19-g444308c-IRCPLUS+SSL+SYSLOG+ZLIB-x86_64/unknown/linux-gnu started. [26473:6 0] Using configuration file "/usr/local/etc/ngircd.conf" ... [26473:6 0] OpenSSL 1.0.1e-fips 11 Feb 2013 initialized. [26473:6 0] ServerUID must not be root(0), using "nobody" instead. [26473:6 0] Running as user nobody(99), group nobody(99), with PID 26473. [26473:6 0] Not running with changed root directory. [26473:6 0] IO subsystem: epoll (hint size 100, initial maxfd 100, masterfd 3). [26473:6 0] Created pre-defined channel "#k0nsl". [26473:6 0] Now listening on [0.0.0.0]:6668 (socket 6). [26473:6 0] Now listening on [0.0.0.0]:6669 (socket 7). [26473:6 0] Now listening on [0.0.0.0]:6667 (socket 8). [26473:6 0] Now listening on [0.0.0.0]:6697 (socket 9). [26473:5 54] Client unregistered (connection 10): SSL accept error, closing socket. [26473:6 54] Connection 10 with "x.x.x.x:38879" closed (in: 0.0k, out: 0.0k). [26473:6 62] Accepted connection 10 from "x.x.x.x:39102" on socket 8. [26473:3 62] SSL protocol error: SSL_accept (error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol) [26473:6 62] Shutting down connection 10 (SSL accept error, closing socket) with "x.x.x.x:39102" ... [26473:5 62] Client unregistered (connection 10): SSL accept error, closing socket. [26473:6 62] Connection 10 with "x.x.x.x:39102" closed (in: 0.0k, out: 0.0k). [26473:6 64] Accepted connection 10 from "x.x.x.x:39148" on socket 8. [26473:3 65] SSL protocol error: SSL_accept (error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol) [26473:6 65] Shutting down connection 10 (SSL accept error, closing socket) with "x.x.x.x:39148" ... [26473:5 65] Client unregistered (connection 10): SSL accept error, closing socket. [26473:6 65] Connection 10 with "x.x.x.x:39148" closed (in: 0.0k, out: 0.0k). [26473:6 66] Accepted connection 10 from "x.x.x.x:39216" on socket 8. [26473:3 66] SSL protocol error: SSL_accept (error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol) [26473:6 66] Shutting down connection 10 (SSL accept error, closing socket) with "x.x.x.x:39216" ... [26473:5 66] Client unregistered (connection 10): SSL accept error, closing socket. [26473:6 66] Connection 10 with "x.x.x.x:39216" closed (in: 0.0k, out: 0.0k). ^C[26473:5 67] Server going down NOW! [26473:6 67] Shutting down all listening sockets (4 total) ... [26473:6 67] ngIRCd done, served 10 connections.
Any ideas?
Faithfully, Kuensl
k0nsl wrote...
I have compiled ngircd as per the usual steps, everything does work, except the most crucial bit for me - SSL.
[26473:3 65] SSL protocol error: SSL_accept (error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol)
Your client is speaking plain text on the port you've configured for SSL/TLS connections.
By the way, you almost got me for
[root@feisty ngircd-20.3]# /usr/local/sbin/ngircd -n
^^^^ Um, no, you're actually ...
[26473:5 0] ngIRCd 21~19-g444308c-IRCPLUS+SSL+SYSLOG+ZLIB-x86_64/unknown/linux-gnu started.
^^^^^^^ on bleeding edge.
Generally speaking, the output of ngircd --configtest, at least the lines until "OK, press enter to see a dump of your server configuration" often provides a lot of valuable information for anyone who wants to look into such a matter.
Christoph