Changeset 279
- Timestamp:
- 08/11/10 10:15:50 (18 months ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
CMakeLists.txt (modified) (1 diff)
-
include/nrpe/server/server.cpp (modified) (1 diff)
-
include/service/unix_service.hpp (modified) (1 diff)
-
modules/CheckExternalScripts/CheckExternalScripts.cpp (modified) (2 diffs)
-
modules/CheckExternalScripts/stdafx.h (modified) (1 diff)
-
modules/NSCAAgent/NSCAAgent.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r277 r279 26 26 # ### ### ### ### 27 27 # Boost setup 28 IF(WIN32 AND MSVC) 28 29 SET(Boost_USE_STATIC_LIBS CACHE BOOL ON "Link boost statically (generally a good idea)") 30 ENDIF(WIN32 AND MSVC) 29 31 SET(BOOST_INCLUDEDIR "${INC_BOOST_INCLUDEDIR}" CACHE PATH "Path to boost includes") 30 32 SET(BOOST_LIBRARYDIR "${NSCP_LIBRARYDIR}" CACHE PATH "Path to boost libraries") -
trunk/include/nrpe/server/server.cpp
r278 r279 36 36 return; 37 37 } 38 SSL_CTX_set_cipher_list(context_.impl(), "ADH"); 39 request_handler_->log_debug(__FILEW__, __LINE__, _T("Using file: C:/source/nscp/build/security/nrpe_dh_512.pem")); 40 context_.use_tmp_dh_file("C:/source/nscp/build/security/nrpe_dh_512.pem"); 41 context_.set_verify_mode(boost::asio::ssl::context::verify_none); 38 if (info.use_ssl) { 39 SSL_CTX_set_cipher_list(context_.impl(), "ADH"); 40 request_handler_->log_debug(__FILEW__, __LINE__, _T("Using file: C:/source/nscp/build/security/nrpe_dh_512.pem")); 41 context_.use_tmp_dh_file("C:/source/nscp/build/security/nrpe_dh_512.pem"); 42 context_.set_verify_mode(boost::asio::ssl::context::verify_none); 43 } 42 44 43 45 new_connection_.reset(nrpe::server::factories::create(io_service_, context_, request_handler_, use_ssl_)); -
trunk/include/service/unix_service.hpp
r257 r279 26 26 #include <string> 27 27 #include <signal.h> 28 #include <strEx.h> 28 29 29 30 namespace service_helper_impl { -
trunk/modules/CheckExternalScripts/CheckExternalScripts.cpp
r273 r279 22 22 #include "CheckExternalScripts.h" 23 23 #include <time.h> 24 #include <string> 24 25 25 26 #include <settings/macros.h> … … 131 132 std::map<std::wstring,std::wstring>::const_iterator cit = wrappers.find(type); 132 133 if (cit == wrappers.end()) { 133 NSC_LOG_ERROR_STD(_T("Failed to find wrappings for: ") + type + _T(" (" + (*it) + _T(")")));134 NSC_LOG_ERROR_STD(_T("Failed to find wrappings for: ") + type + _T(" (") + (*it) + _T(")")); 134 135 } else { 135 136 addWrappedCommand((*it), (*cit).second, val); -
trunk/modules/CheckExternalScripts/stdafx.h
r257 r279 27 27 #include <boost/lexical_cast.hpp> 28 28 29 #include <config.h> 30 #include <unicode_char.hpp> 29 31 #include <types.hpp> 30 32 #include <NSCAPI.h> -
trunk/modules/NSCAAgent/NSCAAgent.cpp
r277 r279 116 116 boost::asio::io_service io_service; 117 117 NSC_DEBUG_MSG_STD(_T("* * *NSCA * * * message: ") + msg); 118 NSC_DEBUG_MSG_STD(_T("* * *NSCA * * * p åerformance: ") + perf);118 NSC_DEBUG_MSG_STD(_T("* * *NSCA * * * performance: ") + perf); 119 119 nsca::socket socket(io_service); 120 120 socket.connect(nscahost_, nscaport_);
Note: See TracChangeset
for help on using the changeset viewer.







