Alexander A. Klimov
|
19625e62ef
|
ApiListener: fix self-made security hole
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
87b0c452db
|
HttpServerConnection: re-add automatic disconnect
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
f029fd4884
|
Re-add HttpServerConnection#Disconnect()
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
16913cb977
|
JsonRpcConnection: add missing CpuBoundWork
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
a451327b81
|
JsonRpcConnection: re-add num_json_rpc_work_queue_item_rate
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
a54bd9d5c4
|
JsonRpcConnection: re-add automatic disconnect
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
7aae8bd265
|
JsonRpcConnection: re-add heartbeats
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
84b411501b
|
Re-add JsonRpcConnection#Disconnect()
|
2019-04-01 13:31:16 +02:00 |
Alexander A. Klimov
|
2d16b02520
|
ApiListener#NewClientHandlerInternal(): shut down TLS stream
|
2019-04-01 13:30:42 +02:00 |
Michael Friedrich
|
e8e4fe7508
|
Merge pull request #7064 from widhalmt/feature/icingacli-elasticsearch-7063
Add command `icingacli-elasticsearch` to ITL
|
2019-04-01 13:27:09 +02:00 |
Michael Friedrich
|
ae6e4b34a5
|
Merge pull request #7059 from Icinga/bugfix/docs-process-check-result
Document check_command may be a string
|
2019-04-01 13:24:30 +02:00 |
Michael Friedrich
|
4069dc3f60
|
Merge pull request #7071 from Icinga/feature/doc-concepts-compiler
Technical Concepts: Add config compiler references
|
2019-04-01 13:23:39 +02:00 |
Michael Friedrich
|
2196027611
|
Technical Concepts: Add config compiler references
|
2019-04-01 13:22:15 +02:00 |
Alexander A. Klimov
|
c46157d552
|
ApiListener: fix self-made security hole
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
f9fff54da2
|
ApiListener: don't require a valid certificate for the TLS handshake to complete
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
6c86c127f1
|
Port JsonRpcConnection to Boost ASIO
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
c76947e8b9
|
JsonRpc::ReadMessage(): add Boost ASIO overload
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
b26808414c
|
NetString::ReadStringFromStream(): add Boost ASIO overload
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
48b5824e37
|
ApiListener: send icinga::Hello message
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
49ac7777e0
|
JsonRpc::SendMessage(): add Boost ASIO overload
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
43658de529
|
NetString::WriteStringToStream(): add Boost ASIO overload
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
832365195d
|
ApiListener: connect(2) via Boost ASIO
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
e9a64abd09
|
ApiListener#ListenerCoroutineProc(): catch more edge cases
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
a6813ec786
|
ApiListener: restore previous bind(2) behavior
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
282f8fd173
|
IoEngine: explicitly join I/O threads
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
493a97f4f3
|
EnsureAcceptHeader(): fix wrong condition
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
8c5d629d35
|
/v1/events: don't truncate any events
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
ac72ca4ae6
|
Don't warn that Boost.Coroutine v1 is deprecated
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
7681ec10a4
|
/v1/events: don't lock I/O thread
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
d7b465ce74
|
Implement IoBoundWorkSlot
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
fd239ba3fe
|
Adjust /v1/events, too
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
1941c1da28
|
Adjust all HTTP handlers (ex. /v1/events)
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
9ae1d732af
|
HttpServerConnection: actually handle requests
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
7fe0431ada
|
HttpServerConnection: verify requests via Boost ASIO + Beast
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
04a9879acc
|
Add HttpUtility::SendJsonError() overload for Boost/Beast
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
fc22cbaf09
|
Add HttpUtility::SendJsonBody() overload for Boost/Beast
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
2d7714802d
|
Allow CpuBoundWork to be done before end of scope
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
e21956e26e
|
ApiListener: detect protocol
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
539855bac1
|
ApiListener: verify peer
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
720c53ab77
|
ApiListener: perform TLS handshake
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
2615967e7f
|
Make ApiListener#m_SSLContext a Boost ASIO SSL context
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
e4f3422b3a
|
ApiListener: listen(2) via Boost ASIO
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
c547e9a863
|
Implement basic I/O engine
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
7c7c5e28f5
|
Implement LazyInit<T>
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
f38c68a4c6
|
Require Boost context, coroutine and date_time
|
2019-04-01 11:40:14 +02:00 |
Alexander A. Klimov
|
c262c701d9
|
Require Boost v1.66.0+
|
2019-04-01 11:40:14 +02:00 |
Michael Friedrich
|
1e124fd76d
|
Merge pull request #7062 from Icinga/bugfix/ido-reconnect-failover
Improve DB IDO HA failover behaviour
|
2019-04-01 10:30:11 +02:00 |
Michael Friedrich
|
066e7c2740
|
Docs: Add failover changes to upgrading chapter
|
2019-04-01 09:31:55 +02:00 |
Michael Friedrich
|
2913291a17
|
ido Check: Add last failover timestamp to output when HA enabled IDO is running
|
2019-04-01 09:31:03 +02:00 |
Michael Friedrich
|
4a26a48778
|
Code Quality: Move authority.cpp into the ApiListener class scope
|
2019-04-01 08:51:18 +02:00 |