8782 Commits

Author SHA1 Message Date
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 v2.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
Michael Insel
415621cc56 Fix link format in documentation
refs #5922
2018-01-16 16:11:50 +01:00
Michael Insel
a22e130961 Fix typo in SELinux documentation
refs #5918
2018-01-16 16:10:54 +01:00
cstegm
4fda5e4975 Update 08-advanced-topics.md
fixed typo

refs #5972
2018-01-16 16:06:50 +01:00
Michael Friedrich
dde2a527b0 changelog.py: Adjust categories and labels: Enhancement, Bug, ITL, Documentation, Support
This PR allows to adjust the categories and matching labels. If no label
matches, "Support" is the old hardcoded default.

Issues with the "Documentation" and "ITL" label will be put into their
respective category at the bottom before "Support". This increases readability
and allows users to focus on the core vs additional config and docs.

"Support" also applies to labels such as "code-quality", "Tests" and "Packages"/"Installation".

Note: Labels are case sensitive. The order of the categories dictionary is
important too.

Since issues and PRs are the same for GitHub, and we don't require an issue
for a PR anymore, we sometimes have duplicates. This patch adds an inline
label called "PR" to highlight these PRs in the Changelog.

refs #5989
2018-01-16 16:03:07 +01:00
Michael Friedrich
b4a0495239 Revert "Fix performance issues for InfluxdbWriter"
This reverts commit eea451ee94be7310e63ab6b7e5e94924b295e974.

refs #5764
2018-01-16 10:45:20 +01:00
Michael Friedrich
c3fe1a6323 Revert "Fix incorrect socket handling for the HTTP client"
This reverts commit 59da943548c7c1be5f4b27dce73a0ad27cf0de5d.

refs #5760
2018-01-16 10:44:31 +01:00
Michael Friedrich
fba838c7ef Revert "Make default getters and setters non-virtual"
This reverts commit 50eb774a0f57c8a09c0583e2be204bcc5bfd58cf.

refs #5759
2018-01-16 10:41:48 +01:00
Michael Friedrich
2901c77d65 Fix wrong schema constraint for fresh 2.8.0 installations
This fix is only needed for a fresh 2.8.0 setup, older versions
and upgrades to current do not need this (can be applied as idempotent
update).

fixes #5947

refs #5986
2018-01-16 10:15:38 +01:00
Gunnar Beutner
74d5137dde Implement AppLocal deployment support for UCRT
refs #5856
2018-01-15 11:31:35 +01:00
Michael Friedrich
a6f32d78c3 Update ElasticsearchWriter docs for 5.x support only
refs #5911
2017-12-22 10:29:18 +01:00
Michael Friedrich
4b7507cfcf Revert "Update docs for Elasticsearch 5.x and 6.x support"
This reverts commit 9b0cc125dd9d893a7e45547a252aacd03cea845c.

refs #5840
2017-12-22 09:54:20 +01:00
Michael Friedrich
1256fb3356 Revert "Fix newline terminator for bulk requests in ElasticsearchWriter"
This reverts commit 806eb0d2d2b077a9a4bac073bfbb27c2af369008.

refs #5840
2017-12-22 09:53:56 +01:00
Noah Hilverling
36674db14f Add missing initdb to PostgreSQL documentation
refs #5864
2017-12-18 17:50:51 +01:00
Noah Hilverling
05a0425a7c Documentation: Add openSUSE to restart instructions
refs #5866
2017-12-18 17:49:54 +01:00
Noah Hilverling
6add03e29e Documentation: Remove redundant FreeBSD restart instructions
refs #5866
2017-12-18 17:49:34 +01:00