Bjoern Sikora [Thu, 15 Oct 2009 15:54:54 +0000]
Created needed docs.
Bjoern Sikora [Thu, 15 Oct 2009 15:41:23 +0000]
Adjusted README file to this project.
Bjoern Sikora [Thu, 15 Oct 2009 15:11:38 +0000]
Makefile needed for source tar generation.
Bjoern Sikora [Thu, 15 Oct 2009 14:59:26 +0000]
We need to switch to build dir in install section, too.
Bjoern Sikora [Thu, 15 Oct 2009 14:17:13 +0000]
To fully support IPv6 we need to be able to parse an IPv6 address out of the received curl data.
Bjoern Sikora [Thu, 15 Oct 2009 14:15:33 +0000]
Little change in description and changed buildroot.
Bjoern Sikora [Thu, 15 Oct 2009 14:14:56 +0000]
Moved into subfolder config.
Bjoern Sikora [Thu, 15 Oct 2009 14:14:29 +0000]
Configure.in needed for make source tar file.
Bjoern Sikora [Thu, 15 Oct 2009 14:14:06 +0000]
First shot on spec file.
Bjoern Sikora [Thu, 15 Oct 2009 14:13:43 +0000]
Moved config file into subfolder config.
Bjoern Sikora [Wed, 14 Oct 2009 15:47:39 +0000]
Added support for multiple interfaces.
Improved IPv6 Support.
Bjoern Sikora [Tue, 13 Oct 2009 11:24:22 +0000]
Bugfix: Status code in curl data is delimited by carriage return + line feed, so we need \r\n as delimiter.
Bjoern Sikora [Mon, 12 Oct 2009 11:18:42 +0000]
Don't try to update if dynamic hostname could not be found.
Changed log level for "Host not found" to warning (doesn't lead to program exit).
Bjoern Sikora [Fri, 9 Oct 2009 15:27:47 +0000]
Bugfix: Curl appends rather than overrites writedata buff, so we need to copy and clear it.
Bjoern Sikora [Tue, 22 Sep 2009 17:31:51 +0000]
Bugfix: User \n as delimiter for service tzo.
Bjoern Sikora [Tue, 22 Sep 2009 17:30:54 +0000]
Bugfix: User \n as delimiter for easydns.
Bjoern Sikora [Tue, 22 Sep 2009 17:30:05 +0000]
Increased version in user agent info.
Bjoern Sikora [Tue, 22 Sep 2009 15:21:11 +0000]
Changed paths to the final locations.
Bjoern Sikora [Tue, 22 Sep 2009 15:14:40 +0000]
Clearly rearranged update algorithm.
Improved logging.
Bjoern Sikora [Tue, 22 Sep 2009 15:13:57 +0000]
Removed version information from main.cpp.
Bjoern Sikora [Tue, 22 Sep 2009 15:13:22 +0000]
Added version into agent string.
Bjoern Sikora [Mon, 21 Sep 2009 14:41:40 +0000]
Also (de-)serialize object state (LastWebcheck) of IPAddrHelper.
This is needed to prevent massiv use of webcheck IP url's.
Bjoern Sikora [Mon, 21 Sep 2009 13:05:16 +0000]
Do not invoke any webcheck url to often (once every 10 minutes will be the default).
Thomas Jarosch [Mon, 21 Sep 2009 10:19:14 +0000]
Updated macros to search for boost, curl and openssl libraries
Thomas Jarosch [Mon, 21 Sep 2009 09:58:51 +0000]
Restructured source file list. Created list for header files, so the program will recompile on header changes, too
Thomas Jarosch [Mon, 21 Sep 2009 09:57:52 +0000]
Split into smaller cmake files
Thomas Jarosch [Mon, 21 Sep 2009 09:29:03 +0000]
lint settings: Don't complain about redeclaration of Service::Ptr
Thomas Jarosch [Mon, 21 Sep 2009 09:26:04 +0000]
No need for ; after a namespace declaration
Bjoern Sikora [Mon, 21 Sep 2009 10:05:49 +0000]
Deleted example config files.
Bjoern Sikora [Mon, 21 Sep 2009 10:02:52 +0000]
Created example config files for each service in examples_config/*.
Bjoern Sikora [Mon, 21 Sep 2009 09:59:17 +0000]
Added compiler option -j2.
Bjoern Sikora [Mon, 21 Sep 2009 09:53:20 +0000]
Bugfix: Catch also generic program_options error.
Don't use pointer to std::list<int>, make a copy.
Bjoern Sikora [Mon, 21 Sep 2009 09:32:37 +0000]
Bugfix: Don't test for NULL pointer of fixed sized character array.
Bjoern Sikora [Mon, 21 Sep 2009 09:31:54 +0000]
Bugfix: We need a virtual destructor for the interface.
Bjoern Sikora [Fri, 18 Sep 2009 15:52:48 +0000]
Improved cmake CMakeLists.txt.
Bjoern Sikora [Fri, 18 Sep 2009 15:51:01 +0000]
Fixed includes.
Fixed BOOST::SERIALIZATION linking error after fixed includes.
Bjoern Sikora [Fri, 18 Sep 2009 09:09:22 +0000]
Get rid of the compiler warning about strict aliasing rule.
Bjoern Sikora [Fri, 18 Sep 2009 08:19:43 +0000]
Improved shared_pointer handling. Use swap instead of copy and reset().
Bjoern Sikora [Thu, 17 Sep 2009 16:16:56 +0000]
Added logging for external logging failures and removed unneccessary statements.
Bjoern Sikora [Thu, 17 Sep 2009 15:35:49 +0000]
Last steps on DHS service.
Bjoern Sikora [Thu, 17 Sep 2009 15:17:31 +0000]
Bugfix: Avoid curl from segfaulting when CurlErrBuff is filled. Allocate CurlErrBuff with CURL_ERROR_SIZE.
Bjoern Sikora [Thu, 17 Sep 2009 14:43:19 +0000]
Do not use ostringstream if not really needed.
Bjoern Sikora [Thu, 17 Sep 2009 13:30:53 +0000]
Update A record. An update operation is not available, an IP update must be done through DELRR and ADDRR.
Bjoern Sikora [Wed, 16 Sep 2009 09:59:58 +0000]
Avoid typedefs in header files if not really necessary.
Bjoern Sikora [Tue, 15 Sep 2009 15:36:32 +0000]
Implemented ODS protocol.
Added net_helper and corresponding classes.
Bjoern Sikora [Tue, 15 Sep 2009 15:35:29 +0000]
Added Util::parse_status_code().
Bjoern Sikora [Tue, 15 Sep 2009 15:30:09 +0000]
Generalized print_http_not_authorized to print_service_not_authorized.
Added Log messages.
Bjoern Sikora [Tue, 15 Sep 2009 15:28:23 +0000]
Bugfix: Free up memory in httphelper.
Bugfix: Init ProxyPort in config.cpp.
Bjoern Sikora [Wed, 9 Sep 2009 13:55:02 +0000]
Refactoring: Renamed class IPHelper to a more meaningful name IPAddrHelper.
Bjoern Sikora [Wed, 9 Sep 2009 12:55:11 +0000]
Added error handling in Util::compute_md5_digest and avoided using of C functions like sprintf.
Bjoern Sikora [Tue, 8 Sep 2009 17:08:55 +0000]
Added implementation of gnudip protocol.
Added util class to compute md5 sum (wrapper class which uses high level C interface openssl/evp.h).
Adapted all perform_update member functions.
Bjoern Sikora [Mon, 7 Sep 2009 16:37:50 +0000]
Added regex tests to test if given IP is within a private range.
Bjoern Sikora [Mon, 7 Sep 2009 16:37:03 +0000]
Renamed within refactoring class naming.
Bjoern Sikora [Mon, 7 Sep 2009 14:53:40 +0000]
Refactoring unexpected part two: Class naming adopted to I2N coding style ;-).
Bjoern Sikora [Mon, 7 Sep 2009 14:33:34 +0000]
Refactoring: Class renaming. All service implementaion classes should start with service_.
Bjoern Sikora [Mon, 7 Sep 2009 13:41:57 +0000]
Added implementation of service zoneedit.
Bjoern Sikora [Mon, 7 Sep 2009 12:53:35 +0000]
Added implementation for tzo.
Bjoern Sikora [Mon, 7 Sep 2009 11:32:50 +0000]
Normalized perform_update method. Improved readability.
Bjoern Sikora [Mon, 7 Sep 2009 09:48:50 +0000]
Use boost::algorithm::string::split for splitting strings into tokens.
Bjoern Sikora [Fri, 4 Sep 2009 15:59:44 +0000]
First shot on easydns.
Implemented checking of configured hostname for service, must contain at least a domain part and a tld.
Bjoern Sikora [Thu, 3 Sep 2009 14:41:11 +0000]
Added implementation of dyns service.
Bjoern Sikora [Thu, 3 Sep 2009 12:34:11 +0000]
No need to initialize strings with "".
Init basic member variables via initializer list.
Thomas Jarosch [Thu, 3 Sep 2009 11:14:57 +0000]
Init member variables via initializer list in object constructor
Thomas Jarosch [Thu, 3 Sep 2009 11:12:02 +0000]
No need to init empty string classes - they already contain an empty string
Bjoern Sikora [Thu, 3 Sep 2009 10:58:57 +0000]
Added constructor to use if auth options are encoded into the url.
Bjoern Sikora [Thu, 3 Sep 2009 10:48:59 +0000]
DynDNS config.
Bjoern Sikora [Thu, 3 Sep 2009 10:46:57 +0000]
Implemented dyndns service.
Added user agent info to curl operations.
Added access to CurlWritedataBuff.
Bug fix: Do not append IP to member BaseUrl.
Bjoern Sikora [Thu, 3 Sep 2009 08:35:10 +0000]
Implemented curl error handling. Improved httphelper. Enhanced dhs protocol handling.
Bjoern Sikora [Wed, 2 Sep 2009 10:01:17 +0000]
Firt shot on DHS Protocol implementation. At this point only Error handling is missing.
Bjoern Sikora [Tue, 1 Sep 2009 10:01:15 +0000]
Concetptionally each service needs it's own HTTPHelper class.
Bjoern Sikora [Tue, 1 Sep 2009 09:38:21 +0000]
Introduced HTTPHelper class to easily perform HTTP operations within services.
Ensured that config reload will re-init all helper classes.
Bjoern Sikora [Thu, 27 Aug 2009 16:03:35 +0000]
Added ability to log warnings to external program defined via config.
Bjoern Sikora [Wed, 26 Aug 2009 09:45:11 +0000]
Improved conf file and cmd option parsing and corresponding logging.
Bjoern Sikora [Wed, 26 Aug 2009 08:25:51 +0000]
CURLOPT_PROXY is avaiting a NULL terminated C string (char *), so we have to give it in the old-fashioned way.
Bjoern Sikora [Tue, 25 Aug 2009 16:01:08 +0000]
Implemented first part of http proxy ability.
Bjoern Sikora [Tue, 25 Aug 2009 14:56:42 +0000]
Improved logging and added code to handle failed dns lookup of cached dns record.
Bjoern Sikora [Tue, 25 Aug 2009 14:05:31 +0000]
Added DNS Rechecking of DynDNS Hostname after DNS record ttl timeout.
Bjoern Sikora [Tue, 25 Aug 2009 09:46:13 +0000]
Named all parameters in headers' function prototypes.
Bjoern Sikora [Tue, 25 Aug 2009 08:55:37 +0000]
Improved shut down behaviour.
Bjoern Sikora [Tue, 18 Aug 2009 12:37:35 +0000]
First steps in redesign:
- Config is loading config only and holding configuration members
- Updater is the gateway between all classes
- Serviceholder from now on holds Services and OldServices and is responsible for serialization and deserialization
- SerializeServiceContainer adopted the operations from Serviceholder and is only familiar to Serviceholder
Bjoern Sikora [Mon, 17 Aug 2009 16:19:56 +0000]
Added cmake search for curl.
Bjoern Sikora [Mon, 17 Aug 2009 15:53:43 +0000]
Introduced new Service members: UpdateInterval and MaxUpdatesWithinInterval.
Implemented logic to avoid too much updates within interval.
Thomas Jarosch [Mon, 17 Aug 2009 09:14:14 +0000]
Small STL usage improvement
Bjoern Sikora [Thu, 13 Aug 2009 15:57:11 +0000]
Implemented determining IP through WEBCHECK URL.
Bjoern Sikora [Wed, 12 Aug 2009 14:43:27 +0000]
Indroduced new config options for use of ipv6 and ip webcheck url's.
Bjoern Sikora [Tue, 11 Aug 2009 15:27:43 +0000]
Separated Service update into update and perform_update.
Improved logging.
Prepared support for IPv6.
Bjoern Sikora [Tue, 11 Aug 2009 14:36:47 +0000]
Introduced new class IPHelper which should perform DNS and webcheck IP queries.
Bjoern Sikora [Tue, 11 Aug 2009 07:55:53 +0000]
Finally a string manipulating boost header was found ;-).
Replaced own insecure to_lower with boost::algorithm::string::to_lower_copy.
Bjoern Sikora [Tue, 11 Aug 2009 07:43:04 +0000]
Declared all non member manipulating methods as const, so compiler can optimize.
Bjoern Sikora [Mon, 10 Aug 2009 16:09:03 +0000]
Commented all config options for testing purposes and added next TODO's.
Bjoern Sikora [Mon, 10 Aug 2009 15:39:07 +0000]
Separated init of daemon mode into extra function.
Bjoern Sikora [Mon, 10 Aug 2009 15:20:34 +0000]
Convert protocol to lower case.
Bjoern Sikora [Mon, 10 Aug 2009 14:40:06 +0000]
Generalized return values. 0 indicates success, -1 failure.
Bjoern Sikora [Mon, 10 Aug 2009 14:35:06 +0000]
Added and improved some error handling.
Bjoern Sikora [Mon, 10 Aug 2009 10:50:02 +0000]
Fixed variable naming to I2N coding style.
Now we have camel's as MemBer.
_
.--' |
/ _ ^ |
(_/ `\ | .--. .--.
) | / \ / \
/ | /` ` '.
| '-' / \
\ | |\
\ / \ /\|
\ / `'-----'``.\ /
||| \\ |
((| ((|
||| |||
//_( //_(
Bjoern Sikora [Mon, 10 Aug 2009 10:29:13 +0000]
Improved readability (bool online_mode becomes is_online).
Replaced numeric representation for bool with true/false keywords.
Bjoern Sikora [Mon, 10 Aug 2009 10:25:41 +0000]
Corrected include's in header files.
Corrected typedef's in header files.
Bjoern Sikora [Mon, 10 Aug 2009 08:36:47 +0000]
Started with boost/serialization error handling.
Thomas Jarosch [Mon, 10 Aug 2009 08:26:01 +0000]
Start PC-lint 9.00c options file
Thomas Jarosch [Mon, 10 Aug 2009 08:13:45 +0000]
Added some code remarks