| Summary: | net-irc/inspircd-2.0.10 - error: Handshake Failed - The Diffie-Hellman prime sent by the server is not acceptable (not long enough). | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | michael <dracozny> |
| Component: | [OLD] Server | Assignee: | Chema Alonso Josa (RETIRED) <nimiux> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | brain |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/inspircd/inspircd/issues/421 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
michael
2013-02-15 06:01:45 UTC
I'll take a look a this shortly. Thanks for reporting. 1. I haven't enough time to reproduce the handshake failure, but I've done some research. The error is raised inside the gnutls library (auth_dh_common.c). I'll try to reproduce it when I have more time. Could you try raising the value of the dhbits parameter to one of: 2048, 3072 or 4096 to see if the problem persists? 2. I've bumped the revision to inspircd-2.0.10-r1 to include the flags suggested by upstream and tunned the configuration phase. Following the indications in the wiki (http://wiki.inspircd.org/Modules/2.0/ssl_openssl) I've setup openssl with no problem. Could you test the new revision to check if that helped? 3. To get rid of these messages: Mon Feb 4 18:27:51 2013: m_ssl_gnutls.so: Failed to set X.509 trust file '/etc/inspircd/ca.pem': Error while reading file. Mon Feb 4 18:27:51 2013: m_ssl_gnutls.so: Failed to set X.509 CRL file '/etc/inspircd/crl.pem': Error while reading file. You need to include the proper Certificate Authority and Certificate Revocation List files. I think that covers all issues reported in the bug. If I dropped any other issue, please let me know. Thx. I have manipulated the dh-bits flag as suggested upstream and it had no effect whatsoever. I am currently updating to r1 and will give an update later, most likely Friday evening since it will affect a live server, Friday evenings are actually a slow day. here is the bug that was posted upstream for reference. https://github.com/inspircd/inspircd/issues/421 Oddly r1 seems to have resolved the gnutls issue as well. just linked up without having to use openssl. I'll close the bug. Good to hear that. Probably the use of econf messed things up. The use of ./configure as in version =net-irc/inspircd-2.0.9 seems to fix the problem. Cheers. |