Commit Graph

179 Commits

Author SHA1 Message Date
Gunnar Beutner 42881d4b8a Build fix for RHEL 5.3 2012-05-09 13:49:26 +02:00
Gunnar Beutner 2c93eea4e7 Fixed library dependencies (libtool). 2012-05-09 12:10:07 +02:00
Gunnar Beutner 18bffce0ed Implemented message-based authorisation checks. 2012-05-09 10:16:31 +02:00
Gunnar Beutner 1573c19aaa Removed rpclistener/rpcconnection config object types. 2012-05-08 13:03:29 +02:00
Gunnar Beutner 63e318383d Bugfix: duplicate Welcome messages 2012-05-08 10:17:45 +02:00
Gunnar Beutner 4c04c47018 Implemented broker authorisation. 2012-05-08 09:20:42 +02:00
Gunnar Beutner 203d788ea5 Implemented discovery::Welcome message type. 2012-05-07 14:52:49 +02:00
Gunnar Beutner 28bdbe1ffe Cleaned up JSON-RPC client code. 2012-05-07 13:48:17 +02:00
Gunnar Beutner c8a5343fe5 Refactored subscription code in preparation for a centralized broker/discovery component. 2012-05-07 11:13:47 +02:00
Gunnar Beutner 7e4788720d Bugfix: Exception for invalid messages wasn't properly dealt with. 2012-04-30 08:22:30 +02:00
Gunnar Beutner 415f1d39aa Close old connection when duplicate endpoints are found. 2012-04-27 13:44:53 +02:00
Gunnar Beutner d55965c070 Made SSL cert paths configurable. 2012-04-27 13:12:06 +02:00
Gunnar Beutner 6b4647a5dc Updated log messages. 2012-04-27 11:57:14 +02:00
Gunnar Beutner 4d873b50fb Disallow connections to endpoints we're already connected to. 2012-04-27 11:50:01 +02:00
Gunnar Beutner c1a8576c5c Implemented IPv6 support. 2012-04-27 09:54:07 +02:00
Gunnar Beutner 3825e2902f Cleaned up reconnection code. 2012-04-26 21:33:23 +02:00
Gunnar Beutner ae58a2dcda Cleaned up logging.
Implemented TCPSocket::Get*Address()
2012-04-26 16:50:47 +02:00
Gunnar Beutner e35b14f9a4 Make Application::Log static and add more logging. 2012-04-26 12:58:20 +02:00
Gunnar Beutner 0d8b352150 Fixed subscription code. 2012-04-25 20:35:37 +02:00
Gunnar Beutner 09a7cf9a82 Removed EndpointManager::SetIdentity and EndpointManager::GetIdentity 2012-04-24 19:54:06 +02:00
Gunnar Beutner fa9449fc73 SSL bugfixes. 2012-04-24 16:27:23 +02:00
Gunnar Beutner 55e8619b76 Fixed *NIX build scripts. 2012-04-24 15:58:19 +02:00
Gunnar Beutner e5b146b792 Updated authentication subsystem to use SSL certificates. 2012-04-24 15:56:48 +02:00
Gunnar Beutner 21ef4836ee Implement SSL support. 2012-04-24 14:02:15 +02:00
Gunnar Beutner 576181f304 Added helper functions for commonly used IcingaApplication methods. 2012-04-24 07:17:46 +02:00
Gunnar Beutner bd3ceb8edd Fixed message subscriptions. 2012-04-23 17:00:39 +02:00
Gunnar Beutner 9e85d1efe4 Auto-load the discovery component. 2012-04-23 16:51:03 +02:00
Gunnar Beutner 885f1834f1 Added discovery component. 2012-04-23 16:49:02 +02:00
Gunnar Beutner 5fa34a3e3d Funnel messages through the generic SendUnicastRequest method to take advantage of the centralised security features. 2012-04-23 16:48:40 +02:00
Gunnar Beutner ab0a37142a Bugfixes for the demo component. 2012-04-23 14:01:31 +02:00
Gunnar Beutner d3798c4bf4 Implemented demo component. 2012-04-23 13:45:41 +02:00
Gunnar Beutner ce6272d306 Build fix for *NIX. 2012-04-23 09:53:13 +02:00
Gunnar Beutner f7acf4ba3f Code cleanups.
Proper error handling for some *NIX functions.
2012-04-23 09:48:20 +02:00
Gunnar Beutner bf1e07b686 Bugfix for reconnection handling. 2012-04-20 16:44:32 +02:00
Gunnar Beutner 5ae2c4aa5b Fixed crash while unloading auth/sub components. 2012-04-20 16:10:38 +02:00
Gunnar Beutner fb53dd345c Refactored authentication code into a separate component. 2012-04-20 16:06:06 +02:00
Gunnar Beutner 51b3fe14e7 Added 'replicated' property for config objects. 2012-04-20 14:22:50 +02:00
Gunnar Beutner b1256d9fe9 Cleaned up message classes. 2012-04-20 13:51:39 +02:00
Gunnar Beutner a4b0da505f Updated *NIX build scripts. 2012-04-20 10:38:58 +02:00
Gunnar Beutner 1a128e2f66 Implemented pseudo-authentication handshake. 2012-04-20 10:38:11 +02:00
Gunnar Beutner 761d494d8e Build fixes for *NIX. 2012-04-19 12:20:03 +02:00
Gunnar Beutner c11231f4e7 Added placeholders for event persistance handling. 2012-04-19 12:16:52 +02:00
Gunnar Beutner 2cd43ed8c6 Refactored subscription handling into a separate component. 2012-04-19 11:29:36 +02:00
Gunnar Beutner 8621717f4c Set SO_REUSEADDR for listeners. 2012-04-19 09:31:24 +02:00
Gunnar Beutner 810a8215e6 Updated test code. 2012-04-19 08:51:38 +02:00
Gunnar Beutner f3f582ab61 Cleaned up Socket/Timer code. 2012-04-19 08:46:41 +02:00
Gunnar Beutner 7474b63dff Refactored messaging system. 2012-04-18 15:22:25 +02:00
Gunnar Beutner ab32aa4f71 Refactored JSON/message code. 2012-04-16 16:27:41 +02:00
Gunnar Beutner 40b45c3d91 Renamed event/condvar/mutex/thread classes to match other class names. 2012-04-16 08:36:50 +02:00
Gunnar Beutner 8f7fb9699d Fixed config file loader. 2012-04-13 13:24:32 +02:00
Gunnar Beutner 9b20a9271e Build fixes. 2012-04-13 13:21:36 +02:00
Gunnar Beutner 9bfff6ddb7 Restructured components. 2012-04-13 13:10:35 +02:00
Gunnar Beutner 05a6303f82 Build fixes for Windows. 2012-04-13 11:45:09 +02:00
Gunnar Beutner 27d008f1ce Build fix for *NIX. 2012-04-13 11:32:19 +02:00
Gunnar Beutner d5be7a0b4f Build fixes. 2012-04-13 11:08:33 +02:00
Gunnar Beutner fda4f1189b Build fix. 2012-04-06 09:28:43 +02:00
Gunnar Beutner 04472c5a85 Fixed *NIX build 2012-04-06 09:13:25 +02:00
Gunnar Beutner 390a00e546 Made build system more Windows-friendly
Implemented endpoint system for the discovery service
2012-04-06 08:56:52 +02:00
Gunnar Beutner 6a42ac0fe5 Moved ConnectionManager class to icinga subproject. 2012-04-04 15:37:57 +02:00
Gunnar Beutner 261329e483 Implemented outbound JSON-RPC client connections.
Made socket error handling more robust.
2012-04-04 12:36:23 +02:00
Gunnar Beutner f20e71ace8 Fixed compilation problem on *NIX. 2012-04-04 10:33:27 +02:00
Gunnar Beutner c3142ed593 Refactored config handling to support observing individual config object types more easily. 2012-04-04 10:04:38 +02:00
Gunnar Beutner 66fdf079fa Removed custom new_object function. 2012-04-03 15:16:11 +02:00
Gunnar Beutner 3da08ca9b6 Refactored event handling. 2012-04-03 11:13:17 +02:00
Gunnar Beutner 7c5d29bbc9 Renamed RefType/WeakRefType typedefs to Ptr/WeakPtr 2012-04-02 20:50:35 +02:00
Gunnar Beutner 7e1add815b Use config filename from command line arguments. 2012-04-02 13:46:10 +02:00
Gunnar Beutner a8b83c2d35 Fixed setting the component search path. 2012-04-02 13:43:47 +02:00
Gunnar Beutner 0e215f112a Fixed search path problems. 2012-04-02 13:09:33 +02:00
Gunnar Beutner d386a2cc4c Build fixes for CentOS 5.3 2012-04-02 12:32:23 +02:00
Gunnar Beutner 1b6bfb9db5 Cleaned up includes; using namespace std is the default now. 2012-04-02 09:03:29 +02:00
Gunnar Beutner 191ded487b Removed I2_ prefix for header guard #defines. 2012-04-02 08:56:30 +02:00
Gunnar Beutner de501581d9 Removed autogenerated file (config.h.in)
Updated version output for icinga component loader
Updated project file
2012-04-01 20:04:30 +02:00
Gunnar Beutner 1aab066d33 Added auto-generated icinga-version.h header file 2012-04-01 19:56:04 +02:00
Gunnar Beutner eb34b40d40 Refactored config object handling. 2012-04-01 19:32:41 +02:00
Gunnar Beutner 41f620a8f0 Fixed more compilation problems. 2012-04-01 13:57:22 +02:00
Gunnar Beutner 43b38f5a85 Fixed compilation errors with automake/gcc 2012-04-01 10:18:29 +02:00
Gunnar Beutner 4b093d9872 Updated project files. 2012-04-01 09:38:31 +02:00
Gunnar Beutner a49876a1ae Auto-load components when component config objects are created. 2012-04-01 09:30:38 +02:00
Gunnar Beutner b291bf3cfc Implemented component loader app. 2012-03-31 16:29:53 +02:00