9380 Commits

Author SHA1 Message Date
Gunnar Beutner
5dd0bc8f97 Use std::vector<std::string> for command-line arguments 2018-02-26 08:36:11 +01:00
Michael
a0aa781417 Implement ability to make global zones configurable
This adds the ability to make global zones configurable during the node
wizard/setup. The implementation will add the given global zones to the default
included global zones.
2018-02-26 08:36:11 +01:00
Gunnar Beutner
91241e5f46
Merge pull request #6051 from gunnarbeutner/feature/icingaloader-cmake-folder
Set FOLDER cmake property for the icingaloader target
2018-02-26 08:27:41 +01:00
Gunnar Beutner
ef488a3ebc Replace boost::algorithm::split calls with String::Split 2018-02-26 08:27:18 +01:00
Gunnar Beutner
e952302e08
Merge pull request #6107 from MichalMMac/master
Allow MYSQL_LIB to be specified by ENV variable
2018-02-26 08:09:35 +01:00
Jean Flach
691e3cfd57 Fix Windows reload 2018-02-23 17:01:46 +01:00
Jean Flach
952e3616e5 Fix incorrect size of request limits
refs #6103
2018-02-23 14:44:44 +01:00
Jean Flach
360d109211 Fix typo in prepare-dirs
refs #5850
2018-02-23 14:44:07 +01:00
Jean Flach
3caf480252
Merge pull request #6115 from Icinga/ineedmorebranches
Fix incorrect size of request limits
2018-02-23 14:42:25 +01:00
Jean Flach
ec24554336
Merge pull request #6114 from Icinga/whycantipushintomasteragain
Fix typo in prepare-dirs
2018-02-23 14:42:15 +01:00
Jean Flach
ef5e7e8510 Fix incorrect size of request limits
refs #6103
2018-02-23 14:29:18 +01:00
Jean Flach
f7ec97abd8 Fix typo in prepare-dirs
refs #5850
2018-02-23 14:22:02 +01:00
Jean Flach
3970662bf4 Remove need for init.conf 2018-02-23 14:19:21 +01:00
Jean Flach
d4b336ad20 Remove need for RunAsUser/Group
They are now read form the sysconfig file which is owned by root
2018-02-23 14:01:43 +01:00
Jean Flach
c6b86680a0 Add cli tool to send signals as Icinga user
fixes #5991
2018-02-23 14:01:09 +01:00
Jean Flach
73dcebe25b Get ICINGA2_USER and GROUP from sysconfig 2018-02-23 13:59:30 +01:00
Jean Flach
5aafc7eda5 Fix prepare-dirs permission exploit
refs #5793
2018-02-23 13:59:30 +01:00
Jean Flach
f282b68fbd Add clarification on sysconfig location 2018-02-23 13:09:48 +01:00
Jean Flach
40e89c4184 Add Upgrading to Icinga 2.8.2 chapter 2018-02-23 13:09:46 +01:00
Gunnar Beutner
492b590a29 Remove debug output in ApiUserCommand::Run 2018-02-23 13:07:56 +01:00
Gunnar Beutner
ed1dd36f09 Properly escape strings in ApiUserCommand::Run 2018-02-23 13:07:56 +01:00
Jean Flach
aad44dfbb2 Improve api user command
--oneline can now be used to print out only the password hash string.
This can be used to update ApiUser passwords through the API. There is
also now a validation to make use salt does not contain a '$' which
would break verification.
2018-02-23 13:07:56 +01:00
Jean Flach
2e5aedd28a Fix crash when using incorrectly formatted password hash 2018-02-23 13:07:55 +01:00
Jean Flach
6387f5442e Move new password functions into tlsutility 2018-02-23 13:06:22 +01:00
Jean Flach
6504606e23 Hash API password and comparison
fixes #4920
2018-02-23 11:23:19 +01:00
Jean Flach
adc054097d Build/Merge fixes 2018-02-23 10:27:55 +01:00
Jean Flach
c5b92defec Minor codestyle and doc changes 2018-02-23 10:09:28 +01:00
Noah Hilverling
4b77afedcd Limit HTTP body size 2018-02-23 10:09:28 +01:00
Noah Hilverling
3fe818b44b Fix requests not being closed correctly 2018-02-23 10:09:28 +01:00
Jean Flach
70c81734c5 Add timeout for TLS handshakes 2018-02-23 10:09:26 +01:00
Jean Flach
aa1ccd7ada Authenticate API user before parsing body 2018-02-23 10:08:24 +01:00
Jean Flach
a46dc64e6a Only read body from authenticated connections
This means we are not allowing unauthenticated requests anymore
2018-02-23 09:52:54 +01:00
Jean Flach
e1c46cedd1 Fix nullptr deref 2018-02-23 08:34:10 +01:00
Gunnar Beutner
f5f8b90ec8 Add HTTP Header size limits 2018-02-23 08:31:28 +01:00
Gunnar Beutner
0339a2b827 Add validation for HTTP connection sizes 2018-02-23 08:31:28 +01:00
Jean Flach
6d45efab66
Merge pull request #6111 from Icinga/upgrading-icinga2-docs
Add Upgrading to Icinga 2.8.2 chapter
2018-02-22 15:10:28 +01:00
Dirk Goetz
3cb7d2dbd0 SELinux: Allows icinga2_t to send sigkill to all domains it transitions to
Fixes #5916
2018-02-22 15:09:25 +01:00
Jean Flach
9de36c0999 Rename macro RequireNotNull to REQUIRE_NOT_NULL 2018-02-22 15:07:36 +01:00
Noah Hilverling
71c420d501 Fix nullptr deref in cluster events 2018-02-22 14:55:44 +01:00
Noah Hilverling
3ba5090867 Add marco RequireNotNull
This is used to fix a number of possible nullptr dereferences
2018-02-22 14:55:42 +01:00
Gunnar Beutner
464e829fe1
Merge pull request #6113 from Icinga/testing/appveyor
appveyor: Disable artifacts until we use them
2018-02-22 14:38:55 +01:00
Markus Frosch
ee9ba18c24 appveyor: Disable artifacts until we use them
fixes #6106
2018-02-22 14:25:53 +01:00
Jean Flach
95b3818d23 Add clarification on sysconfig location 2018-02-22 12:31:36 +01:00
Jean Flach
8d237e10c5 Add Upgrading to Icinga 2.8.2 chapter 2018-02-22 11:29:12 +01:00
Jean Flach
6bb2ed4258 Merge branch 'feature/security-features' 2018-02-21 16:19:54 +01:00
Jean Flach
68f0291a39
Merge pull request #6109 from Icinga/feature/used-memory
Add 'used' feature to check_memory
2018-02-21 15:48:37 +01:00
Noah Hilverling
e9643467a0
Fix code style 2018-02-21 15:13:50 +01:00
Jean Flach
de9adb2687 Add 'used' feature to check_memory
Analogous to check_disk -U can now be used to check against and print the
used memory instead of the default available memory.

fixes #6108
2018-02-21 15:10:26 +01:00
Jean Flach
184580f705
Merge pull request #6103 from Icinga/fix/http-security-fixes
HTTP Security fixes
2018-02-21 15:04:02 +01:00
Jean Flach
85f45d9b94 Minor codestyle and doc changes 2018-02-21 14:52:44 +01:00