Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable TLS renegotiation, bump Windows deps and fix Icinga DB crashes #9945

Merged
merged 5 commits into from
Dec 20, 2023

Conversation

The API doesn't need it and a customer's security scanner
is afraid of a potential DoS attack vector.
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)82/${1}83/g' doc/21-development.md
@cla-bot cla-bot bot added the cla/signed label Dec 20, 2023
@icinga-probot icinga-probot bot added this to the 2.13.9 milestone Dec 20, 2023
@icinga-probot icinga-probot bot added area/api REST API area/icingadb New backend area/livestatus Legacy interface area/windows Windows agent and plugins bug Something isn't working core/crash Shouldn't happen, requires attention ref/IP ref/NC labels Dec 20, 2023
@@ -1851,7 +1854,6 @@ void IcingaDB::SendStartedDowntime(const Downtime::Ptr& downtime)
"flexible_duration", Convert::ToString(TimestampToMilliseconds(std::max(0.0, downtime->GetDuration()))),
"scheduled_start_time", Convert::ToString(TimestampToMilliseconds(downtime->GetStartTime())),
"scheduled_end_time", Convert::ToString(TimestampToMilliseconds(downtime->GetEndTime())),
"has_been_cancelled", Convert::ToString((unsigned short)downtime->GetWasCancelled()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you have cherry-picked the wrong version of #9896.

…led may be 1

The table sla_history_downtime requires a downtime_end.
The Go daemon takes the cancel_time if has_been_cancelled is 1.
So we must supply a cancel_time whereever has_been_cancelled is 1.
Otherwise the Go daemon can't process some entries.
@Al2Klimov Al2Klimov merged commit 600e631 into support/2.13 Dec 20, 2023
25 checks passed
@Al2Klimov Al2Klimov deleted the 2139backport branch December 20, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API area/icingadb New backend area/livestatus Legacy interface area/windows Windows agent and plugins bug Something isn't working cla/signed core/crash Shouldn't happen, requires attention ref/IP ref/NC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants