Article View: linux.debian.bugs.dist
Article #5215Bug#1154568: ircd-hybrid: ircd.conf documents OpenSSL tls_cipher_list syntax, but the package uses GnuTLS
From: Dominic Hargreaves
Date: Fri, 20 Nov 2026 14:00
Date: Fri, 20 Nov 2026 14:00
55 lines
4009 bytes
4009 bytes
Package: ircd-hybrid
Version: 1:8.2.46+dfsg.1-1
Severity: minor
Tags: patch
The package is built with GnuTLS, but the tls_cipher_list
documentation in debian/ircd.conf (inherited from upstream's
reference.conf) only describes the OpenSSL behaviour, and both
commented-out examples use OpenSSL cipher names. With GnuTLS:
- serverinfo {} tls_cipher_list is ignored (libio/src/tls_gnutls.c:
"TBD: set ciphers based on serverinfo::tls_cipher_list"). Nearby
options such as tls_supported_groups and tls_cipher_suites already
say they do nothing with GnuTLS, but this one doesn't.
- connect {} tls_cipher_list is passed to gnutls_priority_init(), so
it must be a GnuTLS priority string. Uncommenting the shipped
example makes every outgoing TLS link log:
Failed to set GnuTLS priorities to "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA": The request is invalid. Syntax error at position 0, falling back to default NORMAL:%SERVER_PRECEDENCE:!VERS-TLS1.1:!VERS-TLS1.0:!VERS-SSL3.0
The link still comes up using the default, so nothing breaks, but
an admin who sets this to restrict ciphers gets no restriction at
all.
Seen on trixie (1:8.2.46+dfsg.1-1); bookworm's 8.2.43 behaves the
same. The patch below only adds documentation. The same text is in
upstream's reference.conf, so it may be worth forwarding the GnuTLS
notes upstream as well.
--- a/debian/ircd.conf
+++ b/debian/ircd.conf
@@ -150,6 +150,9 @@
*
* It is recommended to leave this directive commented out and have the
* TLS library choose the optimal settings.
+ *
+ * This directive currently doesn't do anything with GnuTLS support,
+ * which is what the Debian package is built with.
*/
# tls_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
@@ -612,6 +615,12 @@
# *
# * It is recommended to leave this directive commented out and have the
# * TLS library choose the optimal settings.
+# *
+# * Note for Debian users: the package is built with GnuTLS, which takes
+# * a GnuTLS priority string here (see "Priority strings" in the GnuTLS
+# * manual), not the OpenSSL cipher list shown below. A string GnuTLS
+# * can't parse is logged and replaced by the built-in default,
+# * "NORMAL:%SERVER_PRECEDENCE:!VERS-TLS1.1:!VERS-TLS1.0:!VERS-SSL3.0".
# */
## tls_cipher_list = "ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA:AES256-SHA";
#
Technical Details
Message-ID:
<O1xjI-d5zx-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Dominic Hargreaves <dom@earth.li> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154568: ircd-hybrid: ircd.conf documents OpenSSL tls_cipher_list syntax, but the package uses GnuTLS Date: Fri, 20 Nov 2026 15:00:02 +0100 Message-ID: <O1xjI-d5zx-15@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 20 13:59:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Dominic Hargreaves <dom@earth.li>, 1154568@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: dom@earth.li X-Debian-Pr-Message: report 1154568 X-Debian-Pr-Package: ircd-hybrid X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: ircd-hybrid MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003710 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 20 Nov 2026 13:57:02 +0000 X-Original-Message-ID: <awBRrkE9_djzDU2w@urchin.earth.li>