Commit Graph

8797 Commits

Author SHA1 Message Date
Gunnar Beutner 622127276b Fix incorrect HTTP content length limits 2018-02-28 14:17:17 +01:00
Gunnar Beutner 85858e6a36 Add SetCorked() calls to the JsonRpcConnection class 2018-02-28 12:57:22 +01:00
Jean Flach 8b334fe259 Use cork in tlsstream and HTTP connection 2018-02-28 12:57:22 +01:00
Jean Flach 419103b407 Add cork 2018-02-28 12:50:49 +01:00
Gunnar Beutner 6e7421eab0 Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync 2018-02-28 11:54:48 +01:00
Gunnar Beutner 6400a300cd Fix incorrect return value 2018-02-28 11:53:49 +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 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
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
Michael Friedrich 6f7739b1cb Docs: Fix bracket in notification example
refs #6089
2018-02-14 13:06:41 +01:00
Michael Friedrich 2fee533b32 Upgrading: Make it more clear that the Director script is just an example
refs #6086
2018-02-12 13:44:56 +01:00
Michael Friedrich 7f09fb1f65 Explain how to register functions in the global scope
refs #6075
2018-02-06 13:31:47 +01:00
Gunnar Beutner 5dab779df6 Fix incorrect ::Start call 2018-01-24 12:04:53 +01:00
Michael Friedrich cf79724eb9 Docs: Add IDO DB tuning tips
fixes #5622

refs #6014
2018-01-18 17:54:21 +01:00
Michael Friedrich 7fe8b3b14f Fix wrong nscp-local include in the docs
refs #6006
2018-01-18 13:31:37 +01:00
Gunnar Beutner bd81264c76 Make default getters and setters non-virtual 2018-01-17 15:58:58 +01:00
Noah Hilverling 6dba6a0bfb Add missing string escaping
fixes #5987
2018-01-17 15:02:33 +01:00
Noah Hilverling 157358c24f Fix HTTP response parsing for HTTP 1.1
refs #5987
2018-01-17 15:02:33 +01:00
Gunnar Beutner 7f92016e38 Fix performance issues for InfluxdbWriter 2018-01-17 15:02:33 +01:00
Gunnar Beutner 680939a289 Fix incorrect socket handling for the HTTP client 2018-01-17 15:02:33 +01:00
Gunnar Beutner be102d9d4e Release version 2.8.1 2018-01-17 11:20:38 +01:00
Jean Flach 2475591fb5 Fix check_service returning Warning instead of Critical
fixes #5849
2018-01-17 11:08:57 +01:00
Michael Friedrich 372be299b4 Add some technical insights into the cluster-zone health check and log lag
As per @widhalmt request.

refs #5942

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2018-01-17 11:00:08 +01:00
Gunnar Beutner 18d4019368 Enable installing the init scripts on Solaris
refs #5892
2018-01-17 10:28:57 +01:00