Commit Graph

1211 Commits

Author SHA1 Message Date
Gunnar Beutner 546bdbcf6a 'Sandboxed' property isn't properly propagated to child frames
refs 
2016-07-29 14:11:52 +02:00
Gunnar Beutner ee75094128 Change how Array#reduce works
refs 
2016-07-29 11:09:46 +02:00
Gunnar Beutner a3815e4efd Add map/reduce and filter functionality for the Array class
fixes 
2016-07-29 10:48:15 +02:00
Gunnar Beutner cdda3bad8c Include client IP address and port in HTTP requests
fixes 
2016-07-25 09:43:13 +02:00
Stephan Tesch 431c110056 Improve error reporting for the client certificate check
Until now, client certificates that have failed verification were reported as not being signed by the CA. That is not true for all cases. This patch adds an explanation in the debug log why verification failed.

fixes 
2016-07-25 09:22:35 +02:00
Gunnar Beutner caf2812f0d Implement the __ptr function
fixes 
2016-07-22 09:43:59 +02:00
Michael Friedrich e712d6ffe7 Fix error message for specified ciphers
refs 
2016-07-19 20:13:34 +02:00
Uwe Ebel 1ca8b293cb Make the cipher list configurable for TLS streams
fixes 

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-18 13:40:00 +02:00
Gunnar Beutner 60c52f2109 Fix crash on Windows
fixes 
2016-07-12 15:33:44 +02:00
Michael Friedrich 915ebe17cd ConfigCompiler should not log included files by default
fixes 
2016-07-05 15:43:48 +02:00
Michael Friedrich 9b873d60c2 Ensure to clear the SSL error queue before calling SSL_{read,write,do_handshake}
fixes 
2016-07-05 15:25:02 +02:00
Michael Friedrich 85afec8952 Fix setsockopt() error on Windows
refs 
2016-07-05 13:16:14 +02:00
Gunnar Beutner 6de6ea5e42 Build fix for OpenSSL 1.1.0
fixes 
2016-06-27 08:28:22 +02:00
Gunnar Beutner 428850a6b3 Fix: ConfigWriter::EmitScope incorrectly quotes dictionary keys
fixes 
2016-06-22 12:35:47 +02:00
Simon Murray e3645aa2f7 Fix hanging API connections
There was a problem identified where an upstream API connection was found hanging waiting
for a TLS handshake to complete.  Seeingly the TCP connection was ESTABLISHED locally but
not cleanly terminated remotely.  The Socket events layer never triggered the TLS handshake
oddly.  This however enables TCP keep alive packets to detect broken connections, raising
EPOLLERR and breaking the deadlock condition so that the agent will attempt to reconnect
at a later time.

fixes 

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-22 09:25:00 +02:00
Gunnar Beutner e3f1c1ec6f Make sure timestamps are formatted as integers in macro strings
refs 
2016-06-21 11:29:12 +02:00
Gunnar Beutner 039461e218 Fix unit tests for Convert::ToString
refs 
2016-06-16 15:32:29 +02:00
Gunnar Beutner bc6f7d7a21 Fix incorrect formatting for some macro values
fixes 
2016-06-16 15:14:35 +02:00
Gunnar Beutner ff57b0ccd6 Add name attribute for the WorkQueue class
fixes 
2016-06-14 09:08:04 +02:00
Markus Frosch a5abe1a972 Allow debugging of Utility::GetTime
So we can run unit tests that expect a certain behavior based on time.

When Icinga 2 is compiled with I2_DEBUG one can use Utility::SetTime to
override the current system time, and lock it to this value.

fixes 
2016-06-09 14:25:51 +02:00
Gunnar Beutner bc12d6c0d6 Fix race condition in ConfigObject::SetAuthority
fixes 
2016-05-12 14:06:28 +02:00
Gunnar Beutner 1ad4d9cd27 Report failed reload attempts for the icinga check
fixes 
fixes 
fixes 
2016-05-11 16:07:28 +02:00
Gunnar Beutner fc1168ed3e Only activate HARunOnce objects once there's a cluster connection
fixes 
2016-05-11 12:50:40 +02:00
Gunnar Beutner 2adfcb56fe Improve error handling for TlsStream::Handshake
fixes 
2016-05-11 10:09:54 +02:00
Gunnar Beutner eab2fb79ad Fix crash in UnameHelper()
fixes 
2016-05-10 09:46:48 +02:00
Gunnar Beutner b8e911b0e5 Make sure the dependency graph is properly updated when adding and removing objects
fixes 
fixes 
2016-05-09 14:30:12 +02:00
Gunnar Beutner 8b7d59eb34 Implement support for subjectAltName in SSL certificates
fixes 
2016-04-21 15:25:57 +02:00
Gunnar Beutner 2d55cf1341 Implement validation for the Logger#severity attribute
fixes 
2016-04-21 13:50:47 +02:00
Gunnar Beutner 22cf939086 Build fix for Windows
refs 
2016-04-19 14:48:13 +02:00
Gunnar Beutner d2cd4b6667 Improve performance for locks and value conversions
refs 
2016-04-19 09:38:22 +02:00
Gunnar Beutner ab95670833 Build fix for older boost versions
refs 
2016-04-18 17:21:45 +02:00
Gunnar Beutner 3008d5ef31 Improve performance for field accesses
fixes 
2016-04-18 17:05:22 +02:00
Gunnar Beutner 955df528d7 Fix error message for the EventEngine variable
refs 
2016-04-18 15:02:02 +02:00
Gunnar Beutner d8b0502d67 Make the socket event engine configurable
fixes 
2016-04-18 14:38:59 +02:00
Gunnar Beutner 327d12295c Implement support for upgrading NSIS-based installations
refs 
2016-04-01 08:42:58 +02:00
Gunnar Beutner 6bf3225e84 Implement support for running custom install/uninstall actions
refs 
2016-03-31 14:53:54 +02:00
Gunnar Beutner 112f024810 Build fix for GCC
refs 
2016-03-29 14:52:48 +02:00
Michael Friedrich 5dd685cef9 Fix socket exceptions while querying the API
fixes 
2016-03-29 13:52:37 +02:00
Gunnar Beutner eb0892273e Implement the DateTime class
fixes 
2016-03-29 13:27:20 +02:00
Gunnar Beutner 016f47d6e6 Fix Utility::MkDirP on Windows
fixes 
2016-03-29 09:44:05 +02:00
Gunnar Beutner 796884343b Another build fix for Win64
refs 
2016-03-29 08:42:02 +02:00
Gunnar Beutner b863a84471 Build fix for Win64
refs 
2016-03-29 07:54:41 +02:00
Gunnar Beutner 6ba0c5fe01 Implement recursion limit for AST expressions which don't use a separate stack frame
fixes 
2016-03-23 09:03:49 +01:00
Gunnar Beutner 71060be89a Follow symlinks in Utility::GlobRecursive
fixes 
2016-03-22 08:22:11 +01:00
Michael Friedrich 65cbf04454 Fix: MkDirP supports '/' and '\' on Windows
fixes 
2016-03-07 09:22:07 +01:00
Tobias von der Krone ce3062904f Use the server's preferred cipher for the API connection
When using SSL_OP_CIPHER_SERVER_PREFERENCE the server's preferred cipher
is used instead of the client preference, see
https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_options.html

fixes 
2016-03-04 14:57:06 +01:00
Michael Friedrich d14477c242 Fix MkDirP() on Windows
fixes 
2016-03-03 15:54:35 +01:00
Gunnar Beutner 47521904c1 Attempt to fix race condition problem with epoll_ctl()
refs 
2016-03-03 13:38:13 +01:00
Michael Friedrich 47c5425137 Fix permissions for temporary files
fixes 
fixes 
2016-02-24 11:00:44 +01:00
Michael Friedrich 4cb5b97e52 Fix unique creation of temp files
fixes 
2016-02-23 12:30:59 +01:00