]> arthur.barton.de Git - ngircd-alex.git/commit
Respect "SSLConnect" option for incoming connections
authorAlexander Barton <alex@barton.de>
Mon, 1 Jan 2024 17:20:26 +0000 (18:20 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 6 Jan 2024 15:21:01 +0000 (16:21 +0100)
commit21c1751b045b0be49e584a4ba191a330e0c381bb
tree6f35480f57398e6d5dc22b1f550dd4bd008b46c6
parent843cbfc0f32042c26836753340ef6b681b66d8c2
Respect "SSLConnect" option for incoming connections

Don't accept incoming plain-text ("non SSL") server connections for
servers configured with "SSLConnect" enabled.

If "SSLConnect" is not set for an incoming connection the server still
accepts both plain-text and encrypted connections.

This change prevents an authenticated client-server being able to force
the server-server to send its password on a plain-text connection when
SSL/TLS was intended.
src/ngircd/irc-server.c