1182 Commits

Author SHA1 Message Date
Gunnar Beutner
57149ff899 Fix race condition in ConfigObject::SetAuthority
fixes #11784
2016-05-12 14:06:52 +02:00
Gunnar Beutner
ff24863a72 Report failed reload attempts for the icinga check
fixes #9060
fixes #9997
fixes #11129
2016-05-12 11:11:03 +02:00
Gunnar Beutner
208d035db4 Only activate HARunOnce objects once there's a cluster connection
fixes #11765
2016-05-12 11:11:02 +02:00
Gunnar Beutner
63445398c0 Improve error handling for TlsStream::Handshake
fixes #11046
2016-05-12 11:11:02 +02:00
Gunnar Beutner
7f8a921f53 Fix crash in UnameHelper()
fixes #11714
2016-05-12 11:08:21 +02:00
Gunnar Beutner
d82db2ae6c Make sure the dependency graph is properly updated when adding and removing objects
fixes #11686
fixes #11374
2016-05-12 11:08:21 +02:00
Gunnar Beutner
70c8bbcf99 Implement support for subjectAltName in SSL certificates
fixes #11556
2016-05-12 11:08:20 +02:00
Gunnar Beutner
597d300e20 Implement validation for the Logger#severity attribute
fixes #11646
2016-05-12 11:08:19 +02:00
Gunnar Beutner
089002fa21 Fix error message for the EventEngine variable
refs #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner
feb4b97df7 Make the socket event engine configurable
fixes #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner
53cb18543c Implement support for upgrading NSIS-based installations
refs #11449
2016-04-20 10:07:51 +02:00
Gunnar Beutner
389cb54f93 Implement support for running custom install/uninstall actions
refs #11449
2016-04-20 10:07:47 +02:00
Michael Friedrich
98eef33399 Fix socket exceptions while querying the API
fixes #11224
2016-04-20 10:07:24 +02:00
Gunnar Beutner
0d2ae5ce92 Fix Utility::MkDirP on Windows
fixes #11455
2016-04-20 10:07:24 +02:00
Gunnar Beutner
94deb03e9c Another build fix for Win64
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner
3c788f3899 Build fix for Win64
refs #11462
2016-04-20 10:07:23 +02:00
Gunnar Beutner
ba3eeafb5a Implement recursion limit for AST expressions which don't use a separate stack frame
fixes #11106
2016-04-20 10:07:22 +02:00
Gunnar Beutner
97f324ad3e Follow symlinks in Utility::GlobRecursive
fixes #11347
2016-04-20 10:07:22 +02:00
Gunnar Beutner
8b941a8db5 Attempt to fix race condition problem with epoll_ctl()
refs #11289
2016-03-15 13:14:35 +01:00
Michael Friedrich
baecdc3210 Fix: MkDirP supports '/' and '\' on Windows
fixes #10231
2016-03-11 15:51:08 +01:00
Michael Friedrich
9e833d7563 Fix MkDirP() on Windows
fixes #10231
2016-03-11 15:50:57 +01:00
Michael Friedrich
a79ea88fff Fix permissions for temporary files
fixes #11212
fixes #11211
2016-02-24 11:27:22 +01:00
Michael Friedrich
a837198bbc Fix unique creation of temp files
fixes #10948
2016-02-23 12:34:38 +01:00
Gunnar Beutner
6e11836791 Add missing comment
refs #10988
2016-02-23 10:50:42 +01:00
Michael Friedrich
d1cc56bbaa Only set SSL_OP_NO_COMPRESSION if supported
OpenSSL 0.9.8 does not support this flag.

fixes #10988
2016-02-23 10:50:29 +01:00
Tobias von der Krone
ae50334995 Support TLSv1.1 and TLSv1.2 for the cluster transport encryption
From https://wiki.openssl.org/index.php/SSL/TLS_Client:
SSLv23_method specifies the protocols used and behavior of the handshake.
The method essentially means SSLv2 or above, and includes the TLS protocols.
The protocols are further tuned through SSL/TLS options. By using
SSLv23_method (and removing the SSL protocols with SSL_OP_NO_SSLv2 and
SSL_OP_NO_SSLv3), then you will use TLS v1.0 and above, including TLS v1.2.
You will also use a TLS handshake in the TLS Record.

If you use TLSv1_method, then you will only use TLS v1.0.

fixes #10988
2016-02-23 10:50:23 +01:00
Gunnar Beutner
87817bfc8a Implement support for epoll
refs #11014
2016-02-23 10:49:24 +01:00
Jean Flach
3b70bab4d7 Use ConfigWriter class in repositoryutility.cpp
refs #10989
2016-02-23 10:46:20 +01:00
Jean Flach
2052edff9f Refactor String-Escape in repositoryutility
fixes #10989
2016-02-23 10:46:20 +01:00
Jean Flach
fd85379f5c Rephrase some log messages
refs #11122
2016-02-23 10:46:19 +01:00
Gunnar Beutner
087ad3fdf4 Only build leak detection code when I2_LEAK_DEBUG is set
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner
b227dc77bf Check the certificate name when reconnecting to an instance
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner
badeea7604 Decrease memory usage for the Object class
refs #10963
2016-02-23 10:46:13 +01:00
Gunnar Beutner
abfacd9e56 Improve debug support for analyzing memory leaks
refs #10963
2016-02-23 09:57:49 +01:00
Jean Flach
e80b335edf Plug two memory leaks
refs #10963
2016-02-23 09:57:40 +01:00
Gunnar Beutner
365390b5f0 Build fix for CentOS 5
fixes #11179
2016-02-23 09:51:52 +01:00
Gunnar Beutner
9313373447 Rename the IOTHREADS macro
refs #11014
2016-02-23 09:51:47 +01:00
Jean Flach
c1b4a8b757 Remove unused variables
fixes #11111
2016-02-23 09:44:05 +01:00
Gunnar Beutner
0dc6189f47 Build fix
fixes #11096
2016-02-23 09:43:18 +01:00
Michael Friedrich
e3373ebfc5 Windows build fix
fixes #11096
2016-02-23 09:41:23 +01:00
Gunnar Beutner
8af6ad74c3 Fix memory leak in Stream::Close
refs #10655
2016-02-23 09:38:24 +01:00
Gunnar Beutner
9a0107d360 Fix memory/thread leak in the HttpServerConnection class
fixes #10655
2016-02-23 09:38:23 +01:00
Gunnar Beutner
b6a799d53e Ensure that HttpServerConnections are properly closed
fixes #10655
2016-02-23 09:38:05 +01:00
Michael Friedrich
b58ddfb158 Implement String#trim
fixes #11037
2016-02-23 09:35:05 +01:00
Michael Friedrich
9141855454 Fix incorrect --version information
fixes #10784
2016-02-23 09:34:50 +01:00
Gunnar Beutner
a2cbe1a0d5 Improve performance for TlsStream::OnEvent
refs #11014
2016-02-23 09:34:20 +01:00
Gunnar Beutner
1fe27e55e9 Use multiple threads for socket IO
refs #11014
2016-02-23 09:33:45 +01:00
Gunnar Beutner
4fdc7042d6 Remove debug log message
refs #11014
2016-02-23 09:33:02 +01:00
Gunnar Beutner
d36c3d4066 Avoid unnecessary pollfd updates
refs #11014
2016-02-23 09:33:01 +01:00
Gunnar Beutner
0fbbe620f9 Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
refs #11014
2016-02-23 09:32:38 +01:00