Hello,
After updating to ngircd-20 from ngircd-19.2 with the same build options, all
connecting clients are rejected with "Bad server password". The configuration
file remained unchanged between the ngircd-20 upgrade. Am I missing something
obvious? The server password is made of [0-9A-Za-z\x5e]{22}
ngircd-20 was compiled with the same flags as ngircd-19.2:
./configure --enable-ipv6 --with-openssl CFLAGS="-Wall -D_FORTIFY_SOURCE=2
-O2 -fPIE -pie -fstack-protector"
Syslog support: yes Enable debug code: no
zlib compression: yes IRC sniffer: no
Use TCP Wrappers: no Strict RFC mode: no
IDENT support: no IRC+ protocol: yes
IPv6 protocol: yes I/O backend: "epoll(), select()"
PAM support: no SSL support: openssl
libiconv support: no
No errors or oddities are reported in /var/log/syslog and the start-up looks to
be normal. Revering to 19.2 restores connectivity despite the "password too
long" warning.
Dec 19 09:00:20 localhost ngircd[1906]: /usr/local/etc/ngircd.conf, line 33:
Value of "Password" too long!
Dec 19 09:00:20 localhost ngircd[1906]: ngIRCd
20-IPv6+IRCPLUS+SSL+SYSLOG+ZLIB-i686/pc/linux-gnu started.
Dec 19 09:00:20 localhost ngircd[1906]: Using configuration file
"/usr/local/etc/ngircd.conf" ...
Dec 19 09:00:20 localhost ngircd[1906]: Configuration option "DHFile" not set!
Dec 19 09:00:20 localhost ngircd[1906]: OpenSSL 1.0.1 14 Mar 2012 initialized.
Dec 19 09:00:20 localhost ngircd[1906]: Changed root and working directory to
"/var/chroot".
Dec 19 09:00:20 localhost ngircd[1907]: Running as user unknown(65534), group
unknown(65534), with PID 1907.
Dec 19 09:00:20 localhost ngircd[1907]: Running with root directory "/var/chroot".
Dec 19 09:00:20 localhost ngircd[1907]: IO subsystem: epoll (hint size 100,
initial maxfd 100, masterfd 4).
Dec 19 09:00:20 localhost ngircd[1907]: Created pre-defined channel "#channel"
Dec 19 09:00:20 localhost ngircd[1907]: Now listening on [0::]:1643 (socket 7).
Dec 19 09:00:20 localhost ngircd[1907]: Now listening on [192.168.1.1]:1643
(socket 8).
Dec 19 09:04:51 localhost ngircd[3177]: /usr/local/etc/ngircd.conf, line 33:
Value of "Password" too long!
Dec 19 09:04:51 localhost ngircd[3177]: ngircd
19.2-SYSLOG+ZLIB+SSL+IRCPLUS+IPv6-i686/pc/linux-gnu started.
Dec 19 09:04:51 localhost ngircd[3177]: Using configuration file
"/usr/local/etc/ngircd.conf" ...
Dec 19 09:04:51 localhost ngircd[3177]: Configuration option "SSLDHFile" not set!
Dec 19 09:04:51 localhost ngircd[3177]: OpenSSL 1.0.1 14 Mar 2012 initialized.
Dec 19 09:04:51 localhost ngircd[3177]: Changed root and working directory to
"/var/chroot".
Dec 19 09:04:51 localhost ngircd[3178]: Running as user unknown(65534), group
unknown(65534), with PID 3178.
Dec 19 09:04:51 localhost ngircd[3178]: Running with root directory "/var/chroot".
Dec 19 09:04:51 localhost ngircd[3178]: IO subsystem: epoll (hint size 100,
initial maxfd 100, masterfd 4).
Dec 19 09:04:51 localhost ngircd[3178]: Created pre-defined channel "#channel"
Dec 19 09:04:51 localhost ngircd[3178]: Now listening on [0::]:1643 (socket 7).
Dec 19 09:04:51 localhost ngircd[3178]: Now listening on [192.168.1.1]:1643
(socket 8).
Any insight or help is appreciated. Thank you for your time and efforts around
ngircd.
Respectfully,
Nathan