Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-04MAINT: Update copyright to 2022Robert Adam
2021-04-16FORMAT: Run clang-format 10 on all source filesRobert Adam
2021-04-06FIX(server): Fix undefined behvior on Linux hostsRobert Adam
The fields of the rlimit struct were assumed to be of type long int when printing via the qWarning function. This assumption is correct for glibc (used by e.g. Ubuntu) but it is not true for musl (used by e.g. Alpine Linux). In that case the wrong format specifiers are being used for printing these values, which causes undefined behavior. The fix is to always copy the values into variables of type long long unsigned int and then printing these. The code also adds an assertion making sure that within this copy operation the values won't overflow the variable's size. Fixes #4897
2021-03-02MAINT: Update copyright notice to 2021Robert Adam
This was done by running scripts/updateLicenseHeaders.py and then manually editing the LICENSE file.
2020-09-11FORMAT: Run clang-format 10 on all C/CXX source-filesRobert
2020-08-31FIX(cmake): Set QT_RESTRICTED_CAST_FROM_ASCIIRobert Adam
With the old qmake buildsystem we used to set QT_NO_CAST_FROM_ASCII (for the Mumble client) in order to avoid problems with character encodings in our Strings. This was not done in the new cmake system yet. Instead of the aforementioned macro, this commit sets (for all targets) QT_RESTRICTED_CAST_FROM_ASCII instead in order to be able to automatically convert direct String literals to QString as these usually don't contain any problematic characters (non-ASCII) in the first place. And this allows to e.g. compare a QString against a String literal or do something like QString myString = "This is a test"; which we know to be unproblematic. Note however that (quote from Qt's docs) "Using this macro together with source strings outside the 7-bit range, non-literals, or literals with embedded NUL characters is undefined."
2020-07-02REFAC(server): replace NULL with nullptrPopkornium18
This changes all occurances of NULL in the murmur source dir to nullptr. Additionally explicit comparisons with NULL were removed.
2020-01-07Auto-update LICENSE.header in source filesDavide Beatrici
2019-09-12Add missing includes for "no-pch" buildDavide Beatrici
This commit adds all the missing includes when the PCH header is not used. Also, some includes are reordered and/or made consistent (e.g. "#include <QtEndian>" -> "#include <QtCore/QtEndian>").
2019-09-12Don't include PCH headers directlyDavide Beatrici
According to Qt's documentation the PCH header doesn't need to be included. From https://doc.qt.io/qt-5/qmake-precompiledheaders.html: "To make your project use precompiled headers, you only need to define the PRECOMPILED_HEADER variable in your project file." "qmake will handle the rest, to ensure the creation and use of the precompiled header file. You do not need to include the precompiled header file in HEADERS, as qmake will do this if the configuration supports precompiled headers."
2019-01-25Auto-update LICENSE.header in source filesDavide Beatrici
2018-01-02Auto-update LICENSE.header in source files.Mikkel Krautz
2017-05-20Make use of EnvUtils::setenvJan Klass
2017-03-02Meta, UnixMurmur: implement live certificate reloading via the USR1 signal.Mikkel Krautz
This moves the SSL loading code from MetaParams::read() into a separate method, loadSSLSettings(). It also hooks up the SIGUSR1 signal handler to reload SSL settings and apply the setings to each suitable virtual server. A follow-up commit will change MetaParams::read() to also use loadSSLSettings(), however it was left out of this commit to aid in reviewability.
2017-02-26UnixMurmur: Add USR1 signal handler for reloading SSL settings.Mikkel Krautz
Hot certificate reloading will use the USR1 signal. This adds the meat of the implementation to UnixMurmur, such that the PR for live-reloading SSL settings via the SIGUSR1 signal is more easily digestable.
2017-01-08Update tree copyrights to 2017.Mikkel Krautz
2016-05-10src/murmur: update to use LICENSE.header.Mikkel Krautz
2014-07-27UnixMurmur: ensure logToSyslog is initialized to false.Mikkel Krautz
2014-07-18Support logging to syslog in Murmurmain()
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.
2012-01-15Try to read system-wide ini files first if running as rootBenjamin Jemlich
2011-11-09Fix include guards and PCH includesBenjamin Jemlich
2011-10-09handle some cppcheck-found issues:Kissaki
* 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-05-15remove CAP_NET_ADMINLudwig Nussel
QoS settings do not need CAP_NET_ADMIN anymore
2011-03-18Update copyright year ranges of dev team.Thorvald Natvig
2011-03-17Make log rotation more robustThorvald Natvig
2011-03-17open log file early so log dir can be root ownedLudwig Nussel
http://article.gmane.org/gmane.comp.security.oss.general/4404
2011-03-17fix user switchingLudwig Nussel
- 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
2010-01-16Request CAP_SYS_RESOURCE and dynamically increase nofile on demandThorvald Natvig
2010-01-05Update license to 2010Thorvald Natvig
2009-10-20If sighup when not detached, interpret as quitThorvald Natvig
2009-04-30Remove a lot of compiler warningsThorvald Natvig
2009-03-06IndentThorvald Natvig
2009-03-04Fix Murmur build in OSX/Darwin.Mikkel Krautz
2009-03-03Use realtime threads on Linux, as posix threads aren't prioritized under ↵Thorvald Natvig
SCHED_OTHER
2009-03-02IndentThorvald Natvig
2009-02-28Even with dropped capabilities, running murmurd as root is not a good idea, ↵Thorvald Natvig
so always warn the user git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1601 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-28Avoid messing with ulimits in murmurd, and first part of updated init script ↵Thorvald Natvig
to use privileged capabilities git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1600 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-27Don't keep CAP_DAC_OVERRIDE after switching usersThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1593 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-27Unbreak QoS on UnixThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1592 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-26Clean up logic for capabilities, add resources automatically if root, and ↵Thorvald Natvig
update the limits test git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1589 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-26Add a umask, add the CAP_SETGID capability, and print a warning if running ↵Thorvald Natvig
murmurd as root without a username to drop to. git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1588 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-26Use Linux capabilities to allow us to really use high priority threadsThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1587 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-23murmur_pch.h cleanup [lewellyn]Thorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1574 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-17Indenting runThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1545 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-02-16Add a thread count testThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1541 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-09Use qCritical where it makes sense.Thorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1400 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05Update copyright for 2009Thorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1380 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-03-20Indenting runThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1019 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-01-05Update copyright for 2008Thorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@908 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-12-16Handle SIGTERM and SIGHUP in MurmurThorvald Natvig
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@906 05730e5d-ab1b-0410-a4ac-84af385074fa