Commit Graph

36 Commits

Author SHA1 Message Date
Mikkel Krautz
54c28d3ee1 src/murmur: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
James Fraser
25422e7f94 Add comments to some conditionals in initializeCert() 2016-04-26 15:54:52 +02:00
Nick Heindl
93427affde Fix typo in comment: Issue #2070
Changed DH_generate_parameterss_ex to DH_generate_parameters_ex
2016-02-25 20:28:16 +01:00
Stefan Hacker
4795ae57bc Fix qFatal message generation in Diffie Hellmann error path
Tried to pass a QString as an argument to a variadic C-Style
function (qFatal) which would have crashed and burned at
runtime.
2015-10-28 21:49:54 +01:00
Stefan Hacker
68205b9311 Fix remaining warnings in murmur code
Fixes remaining unused function, shadow and cast warnings
in murmur code.
2015-10-27 00:01:13 +01:00
Mikkel Krautz
8bd3f76a8e Murmur: add support for EDH cipher suites, and for specifying Diffie-Hellman parmeters.
This change allows server admins to specify Diffie-Hellman
parameters for Murmur to use. This is done using the sslDHParams
option in the config file. Diffie-Hellman parameters can also be
set on a per-server basis using the sslDHParams option.

Note: the functionality implemented in this change requires the
QSslDiffieHellmanParameters class in Qt, which has not yet landed
upstream in the Qt 5 'dev' branch. This means that the functionality
discussed in this change will, for now, only work in binaries provided
by the Mumble project, or binaries that are built using our build
environments, and not binaries that link against any released versions
of Qt at present.

This change modifies the default TLS cipher suite string to add
EDH+aRSA+AESGCM, DHE-RSA-AES256-SHA and DHE-RSA-AES128-SHA.

This yields the following ciphers, in TLS/RFC notation:

    TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
    TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
    TLS_DHE_RSA_WITH_AES_256_CBC_SHA
    TLS_DHE_RSA_WITH_AES_128_CBC_SHA

This change also allows Murmur servers to provide forward secrecy
to older clients, such as our own pre-built binaries before 1.2.9.

It also provides forward secrecy for users that use Mumble 1.2.x
versions on Linux distros, and other Unix-like systems. This is
because Mumble 1.2.x on Unix-like systems builds against Qt 4, which
limits the connection to TLS 1.0.

Before this change, Murmur was not able to negotiate an ephemeral
Diffie-Hellman key exchange for those clients. This is now possible.
2015-09-26 22:33:49 +02:00
Stefan Hacker
12eb26431f Replace all uses of QT_VERSION_CHECK with explicit version.
Qt4's moc is not able to expand QT_VERSION_CHECK which may lead
to invalid codegen when used for backwards compatibility work.
Replaced all occurances with explicit check against numeric
version which are treated correctly. Even though bad interactions
might be rare we should no longer use this macro as long as we
want to compile with Qt 4. Also see:
http://lists.qt-project.org/pipermail/interest/2013-August/008351.html
2014-08-22 01:55:34 +02:00
Mikkel Krautz
84bc19c818 mumble: migrate hardcoded 0x050000 Qt version to the QT_VERSION_CHECK macro. 2013-06-29 16:56:42 +02:00
Mikkel Krautz
5cb337049b mumble, murmur: Qt 5 support for Linux. 2013-06-29 16:56:41 +02:00
EarlOfWenc
09d5c07a3d Replaced last traces of MD5 by SHA-1 2012-08-20 21:38:30 +02:00
Benjamin Jemlich
07737a314c Fix include guards and PCH includes 2011-11-09 00:12:10 +01:00
Thorvald Natvig
45bd8139fe Fix murmur warnings 2011-05-15 16:45:46 -07:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
3976433cc7 Multibind for nix 2009-06-22 20:01:44 +02:00
Thorvald Natvig
5248ca4fc3 Avoid cert warning when falling back to .ini cert 2009-06-08 13:41:53 +02:00
Thorvald Natvig
75262e9628 Fix typo of QsslKey 2009-06-01 02:59:47 +02:00
Thorvald Natvig
e8bede904e Indent, changelog and submodule update 2009-05-31 16:01:36 +02:00
Thorvald Natvig
90e189a489 Fall back to .ini cert if one is specified, currently using selfgenerated, and bind address matches 2009-05-31 15:57:04 +02:00
Thorvald Natvig
fa93d325f4 Indent, changelog and submodule update 2009-05-22 15:48:43 +02:00
Thorvald Natvig
39e2f5a375 Allow adding CA chain to cert files 2009-05-22 15:47:43 +02:00
Thorvald Natvig
936ef86d86 Remove a lot of compiler warnings 2009-04-30 12:52:52 +02:00
Thorvald Natvig
0e54cfa23b Use SHA1 instead of MD5 for selfsigned certs 2009-04-28 20:34:47 +02:00
Thorvald Natvig
c12d03c157 Start of Certificate Wizard 2009-04-27 18:50:56 +02:00
Thorvald Natvig
ac0b3cf4d4 Indenting 2009-03-04 16:32:43 +01:00
Thorvald Natvig
ad2b8e2149 Update copyright for 2009
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1380 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05 15:12:48 +00:00
Thorvald Natvig
325022b598 SSL PassPhrase
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1196 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-07-07 09:08:25 +00:00
Thorvald Natvig
dc7e438976 Update copyright for 2008
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@908 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-01-05 16:25:48 +00:00
Thorvald Natvig
0c74573d70 Use SSL callback to verify bound IP for multihomed machines
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@900 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-12-14 15:18:36 +00:00
Thorvald Natvig
ea32c9fc4d Early bail for non-SSL
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@894 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-12-10 08:53:46 +00:00
Thorvald Natvig
48dc9ca824 Support prehistoric OpenSSL
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@789 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-10-17 13:38:28 +00:00
Thorvald Natvig
f9ffe34143 Native UDP for UNIX as well
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@676 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-02 18:32:38 +00:00
Thorvald Natvig
0ef9c34494 Per-server logging
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@672 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-01 21:21:01 +00:00
Thorvald Natvig
fc94f492e0 Multiserver support
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@667 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-01 14:50:51 +00:00
Thorvald Natvig
1b265ffa8c reindenting all the code
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@622 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-17 23:12:38 +00:00
Thorvald Natvig
a6442cd32b Forgot to add new Cert.h and .cpp
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@616 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-17 14:05:15 +00:00