]>
granicus.if.org Git - icinga2/log
Michael Insel [Thu, 22 Mar 2018 19:47:15 +0000 (20:47 +0100)]
Doc: Fix typo in API user creation example
This fixes a typo in the API user creation example inside the documentation.
refs #6177
Maurice Meyer [Thu, 22 Mar 2018 19:40:46 +0000 (20:40 +0100)]
hashed_password -> password_hash. Fixes #6175
Signed-off-by: Maurice Meyer <morre@mor.re>
refs #6176
Michael Friedrich [Fri, 23 Mar 2018 11:31:19 +0000 (12:31 +0100)]
Merge pull request #6179 from Icinga/fix/api-user-crash-2.8.2
Fix crash in api user command
Jean Flach [Tue, 20 Feb 2018 08:45:55 +0000 (09:45 +0100)]
Fix crash in api user command
Missing backport in support/2.8
fixes #6178
Jean Flach [Thu, 22 Mar 2018 10:17:13 +0000 (11:17 +0100)]
Release version 2.8.2
Jean Flach [Thu, 22 Mar 2018 09:35:02 +0000 (10:35 +0100)]
Update mailmap
Michael Friedrich [Tue, 20 Mar 2018 10:50:52 +0000 (11:50 +0100)]
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
refs #6172
Michael Friedrich [Wed, 7 Mar 2018 12:27:31 +0000 (13:27 +0100)]
Improve error handling for empty packages in /v1/config/packages
- If there is no package main directory, assume "empty packages".
- Catch exceptions thrown through GlobRecursive() and present a better http 500
to the user.
The packages directory tree is automatically created with the first
package creation, either from the user, or by the `_api` package.
fixes #6129
Gunnar Beutner [Wed, 7 Mar 2018 08:56:42 +0000 (09:56 +0100)]
Build fix
Jean Flach [Fri, 16 Feb 2018 09:31:00 +0000 (10:31 +0100)]
Code style
Gunnar Beutner [Tue, 6 Mar 2018 08:30:22 +0000 (09:30 +0100)]
Fix ApiUser unit test
Gunnar Beutner [Tue, 6 Mar 2018 07:49:43 +0000 (08:49 +0100)]
Ensure that SetCorked() works properly
Gunnar Beutner [Tue, 6 Mar 2018 07:54:47 +0000 (08:54 +0100)]
Fix incorrect argument type for JsonRpc::SendMessage
Jean Flach [Mon, 5 Mar 2018 12:22:43 +0000 (13:22 +0100)]
Limit anonymous connections to 25
Noah Hilverling [Thu, 1 Mar 2018 08:47:29 +0000 (09:47 +0100)]
Limit JSON-RPC message size
Gunnar Beutner [Wed, 28 Feb 2018 11:06:01 +0000 (12:06 +0100)]
Fix incorrect HTTP content length limits
Gunnar Beutner [Wed, 28 Feb 2018 10:42:05 +0000 (11:42 +0100)]
Add SetCorked() calls to the JsonRpcConnection class
Jean Flach [Tue, 27 Feb 2018 13:49:15 +0000 (14:49 +0100)]
Use cork in tlsstream and HTTP connection
Jean Flach [Tue, 27 Feb 2018 13:48:37 +0000 (14:48 +0100)]
Add cork
Gunnar Beutner [Wed, 28 Feb 2018 10:07:19 +0000 (11:07 +0100)]
Fix null ptr dereference in HttpServerConnection::ProcessMessageAsync
Gunnar Beutner [Wed, 28 Feb 2018 09:50:33 +0000 (10:50 +0100)]
Fix incorrect return value
Jean Flach [Fri, 23 Feb 2018 13:29:18 +0000 (14:29 +0100)]
Fix incorrect size of request limits
refs #6103
Jean Flach [Fri, 23 Feb 2018 12:25:59 +0000 (13:25 +0100)]
Fix typo in prepare-dirs
refs #5850
Jean Flach [Mon, 29 Jan 2018 13:23:53 +0000 (14:23 +0100)]
Remove need for init.conf
Jean Flach [Fri, 26 Jan 2018 15:27:16 +0000 (16:27 +0100)]
Remove need for RunAsUser/Group
They are now read form the sysconfig file which is owned by root
Jean Flach [Wed, 17 Jan 2018 12:26:19 +0000 (13:26 +0100)]
Add cli tool to send signals as Icinga user
fixes #5991
Jean Flach [Wed, 17 Jan 2018 12:25:40 +0000 (13:25 +0100)]
Get ICINGA2_USER and GROUP from sysconfig
Jean Flach [Wed, 29 Nov 2017 12:56:10 +0000 (13:56 +0100)]
Fix prepare-dirs permission exploit
refs #5793
Jean Flach [Thu, 22 Feb 2018 11:31:36 +0000 (12:31 +0100)]
Add clarification on sysconfig location
Jean Flach [Thu, 22 Feb 2018 10:29:12 +0000 (11:29 +0100)]
Add Upgrading to Icinga 2.8.2 chapter
Gunnar Beutner [Thu, 15 Feb 2018 14:49:23 +0000 (15:49 +0100)]
Remove debug output in ApiUserCommand::Run
Gunnar Beutner [Thu, 15 Feb 2018 14:48:53 +0000 (15:48 +0100)]
Properly escape strings in ApiUserCommand::Run
Jean Flach [Fri, 22 Dec 2017 12:01:51 +0000 (13:01 +0100)]
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.
Jean Flach [Fri, 22 Dec 2017 11:58:39 +0000 (12:58 +0100)]
Fix crash when using incorrectly formatted password hash
Jean Flach [Fri, 22 Dec 2017 11:14:31 +0000 (12:14 +0100)]
Move new password functions into tlsutility
Jean Flach [Fri, 11 Aug 2017 14:23:24 +0000 (16:23 +0200)]
Hash API password and comparison
fixes #4920
Jean Flach [Fri, 23 Feb 2018 09:27:55 +0000 (10:27 +0100)]
Build/Merge fixes
Jean Flach [Wed, 21 Feb 2018 12:22:17 +0000 (13:22 +0100)]
Minor codestyle and doc changes
Noah Hilverling [Mon, 19 Feb 2018 12:33:58 +0000 (13:33 +0100)]
Limit HTTP body size
Noah Hilverling [Mon, 19 Feb 2018 09:47:14 +0000 (10:47 +0100)]
Fix requests not being closed correctly
Jean Flach [Tue, 13 Feb 2018 16:29:48 +0000 (17:29 +0100)]
Add timeout for TLS handshakes
Jean Flach [Thu, 8 Feb 2018 13:54:52 +0000 (14:54 +0100)]
Authenticate API user before parsing body
Jean Flach [Thu, 1 Feb 2018 14:10:28 +0000 (15:10 +0100)]
Only read body from authenticated connections
This means we are not allowing unauthenticated requests anymore
Jean Flach [Tue, 30 Jan 2018 12:34:26 +0000 (13:34 +0100)]
Fix nullptr deref
Gunnar Beutner [Wed, 31 Jan 2018 08:05:06 +0000 (09:05 +0100)]
Add HTTP Header size limits
Gunnar Beutner [Wed, 31 Jan 2018 06:59:49 +0000 (07:59 +0100)]
Add validation for HTTP connection sizes
Dirk Goetz [Mon, 15 Jan 2018 14:05:09 +0000 (15:05 +0100)]
SELinux: Allows icinga2_t to send sigkill to all domains it transitions to
Fixes #5916
Jean Flach [Wed, 21 Feb 2018 12:42:58 +0000 (13:42 +0100)]
Rename macro RequireNotNull to REQUIRE_NOT_NULL
Noah Hilverling [Wed, 31 Jan 2018 09:17:49 +0000 (10:17 +0100)]
Fix nullptr deref in cluster events
Noah Hilverling [Tue, 30 Jan 2018 10:26:07 +0000 (11:26 +0100)]
Add marco RequireNotNull
This is used to fix a number of possible nullptr dereferences
Michael Friedrich [Wed, 14 Feb 2018 12:04:42 +0000 (13:04 +0100)]
Docs: Fix bracket in notification example
refs #6089
Michael Friedrich [Mon, 12 Feb 2018 08:49:11 +0000 (09:49 +0100)]
Upgrading: Make it more clear that the Director script is just an example
refs #6086
Michael Friedrich [Tue, 6 Feb 2018 11:44:45 +0000 (12:44 +0100)]
Explain how to register functions in the global scope
refs #6075
Gunnar Beutner [Mon, 18 Dec 2017 08:32:09 +0000 (09:32 +0100)]
Fix incorrect ::Start call
Michael Friedrich [Thu, 18 Jan 2018 16:50:39 +0000 (17:50 +0100)]
Docs: Add IDO DB tuning tips
fixes #5622
refs #6014
Michael Friedrich [Thu, 18 Jan 2018 12:25:23 +0000 (13:25 +0100)]
Fix wrong nscp-local include in the docs
refs #6006
Gunnar Beutner [Wed, 15 Nov 2017 08:47:23 +0000 (09:47 +0100)]
Make default getters and setters non-virtual
Noah Hilverling [Wed, 17 Jan 2018 09:25:42 +0000 (10:25 +0100)]
Add missing string escaping
fixes #5987
Noah Hilverling [Wed, 17 Jan 2018 09:25:00 +0000 (10:25 +0100)]
Fix HTTP response parsing for HTTP 1.1
refs #5987
Gunnar Beutner [Tue, 24 Oct 2017 13:23:58 +0000 (15:23 +0200)]
Fix performance issues for InfluxdbWriter
Gunnar Beutner [Tue, 14 Nov 2017 13:13:24 +0000 (14:13 +0100)]
Fix incorrect socket handling for the HTTP client
Gunnar Beutner [Wed, 17 Jan 2018 10:20:38 +0000 (11:20 +0100)]
Release version 2.8.1
Jean Flach [Wed, 13 Dec 2017 16:48:16 +0000 (17:48 +0100)]
Fix check_service returning Warning instead of Critical
fixes #5849
Michael Friedrich [Wed, 3 Jan 2018 14:22:02 +0000 (15:22 +0100)]
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>
Gunnar Beutner [Wed, 20 Dec 2017 07:44:06 +0000 (08:44 +0100)]
Enable installing the init scripts on Solaris
refs #5892
Michael Insel [Fri, 29 Dec 2017 16:54:14 +0000 (17:54 +0100)]
Fix link format in documentation
refs #5922
Michael Insel [Thu, 28 Dec 2017 11:03:49 +0000 (12:03 +0100)]
Fix typo in SELinux documentation
refs #5918
cstegm [Thu, 11 Jan 2018 15:48:40 +0000 (16:48 +0100)]
Update 08-advanced-topics.md
fixed typo
refs #5972
Michael Friedrich [Tue, 16 Jan 2018 14:49:53 +0000 (15:49 +0100)]
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
Michael Friedrich [Tue, 16 Jan 2018 09:45:20 +0000 (10:45 +0100)]
Revert "Fix performance issues for InfluxdbWriter"
This reverts commit
eea451ee94be7310e63ab6b7e5e94924b295e974 .
refs #5764
Michael Friedrich [Tue, 16 Jan 2018 09:43:16 +0000 (10:43 +0100)]
Revert "Fix incorrect socket handling for the HTTP client"
This reverts commit
59da943548c7c1be5f4b27dce73a0ad27cf0de5d .
refs #5760
Michael Friedrich [Tue, 16 Jan 2018 09:41:48 +0000 (10:41 +0100)]
Revert "Make default getters and setters non-virtual"
This reverts commit
50eb774a0f57c8a09c0583e2be204bcc5bfd58cf .
refs #5759
Michael Friedrich [Tue, 16 Jan 2018 08:49:46 +0000 (09:49 +0100)]
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
Gunnar Beutner [Wed, 13 Dec 2017 21:31:56 +0000 (22:31 +0100)]
Implement AppLocal deployment support for UCRT
refs #5856
Michael Friedrich [Fri, 22 Dec 2017 09:11:37 +0000 (10:11 +0100)]
Update ElasticsearchWriter docs for 5.x support only
refs #5911
Michael Friedrich [Fri, 22 Dec 2017 08:54:20 +0000 (09:54 +0100)]
Revert "Update docs for Elasticsearch 5.x and 6.x support"
This reverts commit
9b0cc125dd9d893a7e45547a252aacd03cea845c .
refs #5840
Michael Friedrich [Fri, 22 Dec 2017 08:53:56 +0000 (09:53 +0100)]
Revert "Fix newline terminator for bulk requests in ElasticsearchWriter"
This reverts commit
806eb0d2d2b077a9a4bac073bfbb27c2af369008 .
refs #5840
Noah Hilverling [Thu, 14 Dec 2017 16:08:03 +0000 (17:08 +0100)]
Add missing initdb to PostgreSQL documentation
refs #5864
Noah Hilverling [Fri, 15 Dec 2017 07:19:00 +0000 (08:19 +0100)]
Documentation: Add openSUSE to restart instructions
refs #5866
Noah Hilverling [Fri, 15 Dec 2017 06:41:05 +0000 (07:41 +0100)]
Documentation: Remove redundant FreeBSD restart instructions
refs #5866
noobahoi [Tue, 21 Nov 2017 15:22:58 +0000 (16:22 +0100)]
Update 09-object-types.md
object Downtime "localhost!my-downtime"
should be
object Downtime "my-downtime"
The host_name configuration attribute adds the localhost name automatically.
refs #5790
noobahoi [Tue, 21 Nov 2017 15:17:58 +0000 (16:17 +0100)]
Update 09-object-types.md
'TicketSalt' instead of 'NodeName'
refs #5790
Max Rosin [Wed, 15 Nov 2017 00:03:15 +0000 (01:03 +0100)]
Add documentation about automatic service restarts with systemd
refs #5721
refs #5757
Gunnar Beutner [Wed, 15 Nov 2017 08:47:23 +0000 (09:47 +0100)]
Make default getters and setters non-virtual
Gunnar Beutner [Tue, 14 Nov 2017 13:13:24 +0000 (14:13 +0100)]
Fix incorrect socket handling for the HTTP client
Gunnar Beutner [Tue, 24 Oct 2017 13:23:58 +0000 (15:23 +0200)]
Fix performance issues for InfluxdbWriter
Michael Friedrich [Thu, 7 Dec 2017 12:31:07 +0000 (13:31 +0100)]
Update docs for Elasticsearch 5.x and 6.x support
refs #5840
Michael Friedrich [Thu, 7 Dec 2017 10:11:03 +0000 (11:11 +0100)]
Fix newline terminator for bulk requests in ElasticsearchWriter
This enables compatibility with 6.x.
This commit also fixes an incorrect HTTP response parsing
which could lead into false positives.
Analysis and fix in https://github.com/Icinga/icinga2/issues/5795#issuecomment-
349920587
fixes #5795
refs #5840
Sven Nierlein [Mon, 30 Oct 2017 13:49:22 +0000 (14:49 +0100)]
livestatus: custom variables return empty arrays instead of strings
livestatus queries for custom variables should return an empty list, ex: []
instead of an empty string if there are no variables.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
refs #5746
Paolo Schiro [Fri, 3 Nov 2017 00:14:05 +0000 (01:14 +0100)]
add a bogus zero reply in livestatus if aggregate filter does not match, fix I#5626
refs #5716
Dirk Goetz [Wed, 6 Dec 2017 08:00:07 +0000 (09:00 +0100)]
fixes postgres schema upgrade path
refs #5835
Strix [Tue, 5 Dec 2017 10:31:34 +0000 (11:31 +0100)]
fix formatting error
Michael Friedrich [Mon, 20 Nov 2017 17:48:26 +0000 (18:48 +0100)]
Fix formatting in value types docs
refs #5783
Michael Friedrich [Mon, 27 Nov 2017 11:09:42 +0000 (12:09 +0100)]
Silence UpdateRepository message errors
Mixed setups with 2.8 and 2.7 will log this error every time
a new message is received. While this is truly an error,
it just fills the log to infinity. Should be used for debug only.
fixes #5776
refs #5804
Michael Friedrich [Tue, 21 Nov 2017 08:38:56 +0000 (09:38 +0100)]
ITL: Drop ssl_sni default setting
That's not supported by all plugin suites out there, and as such
should not be the default value. The user must set it explicitly.
fixes #5775
refs #5785
Gunnar Beutner [Mon, 27 Nov 2017 15:06:59 +0000 (16:06 +0100)]
Fix missing variable name which can lead to segfaults
refs #5808
refs #5807
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Michael Friedrich [Fri, 17 Nov 2017 13:45:03 +0000 (14:45 +0100)]
Merge pull request #5773 from Icinga/feature/windows-client-requirements
Update Windows Client requirements for 2.8
Michael Friedrich [Fri, 17 Nov 2017 09:59:04 +0000 (10:59 +0100)]
Update docs for Windows Client requirements for 2.8
Michael Friedrich [Fri, 17 Nov 2017 09:58:31 +0000 (10:58 +0100)]
Revert "Windows: Remove requirement for KB2999226 (VS2015)"
This reverts commit
5c4a833116654c9f742ffec3bbcd5e593c57f80b .
Michael Friedrich [Fri, 17 Nov 2017 11:59:07 +0000 (12:59 +0100)]
Disable Flapping detection on Windows