Commit Graph

69 Commits

Author SHA1 Message Date
Mikkel Krautz
54c28d3ee1 src/murmur: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Mikkel Krautz
83c0b095e0 grpc: rename RPCStart and RPCStop to GRPCStart and GRPCStop. 2016-05-08 16:45:52 +02:00
Tim Cooper
776c084a1a grpc: start implementation 2016-05-08 16:45:52 +02:00
Mikkel Krautz
0840dd4578 Fix OpenSSL intialization.
Add a MumbleSSL::initialize() method and call it
in Mumble's and Murmur's main functions, just before
construction of QApplication.

This ensures OpenSSL is initialized before we use it.

Our new cipher suite selection support apparently broke
Mumble and Murmur on Linux, at least for some systems.

This commit remedies that by ensuring that we initialize
OpenSSL early.

For Debian's patch, see
http://sources.debian.net/patches/patch/mumble/1.2.12-1/43-initialize-SSL.diff/

Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804363
Fixes mumble-voip/mumble#1876
2016-02-17 01:22:47 +01:00
Mikkel Krautz
abdb5004bb murmur: exit(1) when encountering a qFatal() when using syslog logging. 2015-12-24 01:39:11 +01:00
Mikkel Krautz
703f8c7ffc murmur: exit with status code 1 on fatal error. 2015-12-24 00:48:01 +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
d39e773900 Fix setting an empty SuperUser password not creating an error
Mistakenly checked string for empty instead of null resulting
in a set but empty string not causing the correct error message.
Instead the request to set a password was ignored and the server
started normally. This patch resolves this issue. If the password
is set but empty an error is emitted and the server isn't started.

Fixes #1778
2015-08-06 22:44:33 +02:00
Stefan Hacker
d3d6920da9 Fix various warnings in Linux build
This patch fixes various warnings encountered
in the build when using gcc 4.9.
2015-07-04 15:12:49 +02:00
Natenom
9cc1c0a7aa Add -limits to help text and improve man page 2014-10-23 23:30:25 +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
094ab1e154 Ensure "syslog" string literal in murmur's main.cpp is wrapped in QLatin1String. 2014-07-27 21:49:13 +02:00
Mikkel Krautz
322ed8a167 Murmur: pass a format string to syslog(3). 2014-07-19 00:37:04 +02:00
main()
30023c5b36 Support logging to syslog in Murmur
Simply set the logfile path to "syslog" and Murmur will log to syslog.

This should be stable, it has approximately 4 user-months of testing.
2014-07-18 12:09:06 +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
Mikkel Krautz
a691c40d1c Murmur: restore old meaning of -fg on Windows: don't write to the log file. 2013-01-03 00:50:44 +01:00
Mikkel Krautz
268ae8da5d Murmur: remove logfile detach warning on Windows. Detach is a no-op on Windows. 2013-01-03 00:39:00 +01:00
Benjamin Jemlich
c2b7c00e51 Murmur: Generate a random SuperUser password for new servers 2012-05-31 12:59:39 +02:00
Benjamin Jemlich
7300338ca0 Try to read system-wide ini files first if running as root 2012-01-14 22:48:45 +01:00
Kissaki
5fe6801b1b handle some cppcheck-found issues:
* uninitialized membervars,
* AudioOutput.cpp: fix delete on array to delete[]
* OSS.cpp: close file descriptor in false data case
* OverlayEditorScene.cpp: rm duplicate logic
* fix ifndef to match usage of declared variable
* member var initializations
* check for null (ds in d3d9 as some lines above),
* lower scope of var decl.,
* swap bufsize check and array dereference so check is before! deref,
* initialize member vars in constr.
2011-10-09 14:01:58 +02:00
Thorvald Natvig
7de5ebc18f Indent, changelog, submodule and language update 2011-06-11 02:58:17 +02:00
Thorvald Natvig
45bd8139fe Fix murmur warnings 2011-05-15 16:45:46 -07:00
Jamie Fraser
fa7a412e24 Added option -wipelogs to clear logs in DB. 2011-04-24 17:36:36 +02:00
Jamie Fraser
9c4a19457f Added a more helpful error condition to -supw being used without a password 2011-03-27 18:00:58 -07:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Ludwig Nussel
7d2d3ef3f8 open log file early so log dir can be root owned
http://article.gmane.org/gmane.comp.security.oss.general/4404
2011-03-17 05:15:24 +01:00
Ludwig Nussel
82c4186dca fix user switching
- don't keep saved uid 0. That's bad as an attacker that manages to
  execute code could switch back to uid 0
- set $HOME as Qt doesn't look at passwd information
- initialize supplementary groups
- use "mumble-server" as fallback if no user is specified
2011-03-17 05:15:23 +01:00
Benjamin Jemlich
0fc10ed51e Remove CWD from DLL search path on Windows 2010-08-28 19:44:27 +02:00
Jamie Fraser
ab31fc26f2 added timestamps to foreground log output 2010-08-11 14:49:57 +02:00
Benjamin Jemlich
2997897f24 Fix some gcc and cppcheck warnings 2010-07-20 17:31:01 +02:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
ede39c7405 Ice options in murmur.ini 2009-11-07 17:54:22 +01:00
Benjamin Jemlich
3a6e97ac0b pass commandline arguments to Ice 2009-11-07 00:11:05 +01:00
Thorvald Natvig
995866025d Clean up compiler warnings on Win32 2009-10-19 14:39:15 +02:00
Thorvald Natvig
6296282539 Share a bit more of .pro files, and add win32 ca store 2009-08-07 20:16:02 +02:00
Thorvald Natvig
8159eecdcb Add system-installed CAs 2009-08-07 18:55:56 +02:00
Thorvald Natvig
8cec38eb9a Updated release scripts for new files and paths 2009-07-30 19:33:54 +02:00
Thorvald Natvig
f1c926ec14 Quiet the Avahi warnings for now, and make the static murmur compile with bonjour 2009-07-17 02:57:51 +02:00
Thorvald Natvig
88384734be Indent, changelog and submodule update 2009-04-12 15:53:23 +02:00
Thorvald Natvig
3a6e2aeb9d Murmur prints version info in log on startup 2009-03-29 03:04:16 +02:00
Thorvald Natvig
f56a47f388 qWave (QoS for Vista)
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1591 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-27 01:55:07 +00:00
Thorvald Natvig
b34cbc71bf Clean up logic for capabilities, add resources automatically if root, and update the limits test
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1589 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-26 20:31:48 +00:00
Thorvald Natvig
7fc01d602e Use Linux capabilities to allow us to really use high priority threads
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1587 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-26 14:03:27 +00:00
Thorvald Natvig
7041b3fd02 murmur_pch.h cleanup [lewellyn]
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1574 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-23 13:54:11 +00:00
Thorvald Natvig
7148a0b5c9 Add a thread count test
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1541 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-16 14:25:12 +00:00
Thorvald Natvig
ed7c412a19 Readd started/stopped signal propagation
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1512 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-10 16:42:20 +00:00
Thorvald Natvig
146d7c60dc Signal/Slot based RPC callbacks
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1511 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-10 16:20:40 +00:00
Thorvald Natvig
7508be1ef7 Delay fetching OSInfo, as QProcess doesn't deal well with fork/detach
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1478 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-25 16:21:39 +00:00
Thorvald Natvig
887368a9fb Patch #2524995: DBus started/stopped signals [julian7]
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1466 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-20 23:19:18 +00:00