]> arthur.barton.de Git - ngircd.git/commitdiff
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)
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.


No differences found