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
Bjoern Sikora [Fri, 7 Aug 2009 15:53:23 +0000]
Implemented logic to avoid recently redefined Services from expiring their update timeout.
This is done by holding (serialize/deserialize) old (not active) Services in a internal list,
until their update timeout is expired or the same Service is redefined (values copied from old service).
Bjoern Sikora [Fri, 7 Aug 2009 14:38:28 +0000]
Replaced Options_description * with shared_ptr.
Bjoern Sikora [Fri, 7 Aug 2009 14:20:44 +0000]
Now serializing list of shared pointers instead of list of Service*.
Bjoern Sikora [Fri, 7 Aug 2009 11:02:15 +0000]
This is the simple Serviceholder class needed for de/serialization purposes.
Bjoern Sikora [Fri, 7 Aug 2009 10:58:58 +0000]
Managed Service de/serialization through dedicated Serviceholder class.
Bjoern Sikora [Thu, 6 Aug 2009 09:59:48 +0000]
Each Service has Protocol, Hostname, Login, Password, Shared_Ptr to Logging facility and Lastupdated member.
A Service is identified through Protocol and Hostname, if they are equal, it is the same service.
Bjoern Sikora [Wed, 5 Aug 2009 16:21:54 +0000]
Added search for boost/serialization.
Bjoern Sikora [Wed, 5 Aug 2009 15:05:44 +0000]
Implemented object serialization of Service objects (first steps).
Bjoern Sikora [Wed, 5 Aug 2009 08:42:02 +0000]
Added chkconfig runlevel info.
Bjoern Sikora [Tue, 4 Aug 2009 15:46:10 +0000]
Useing initlog to start process.
Bjoern Sikora [Tue, 4 Aug 2009 15:45:10 +0000]
Adjusted exit code on terminate through SIGTERM.
Bjoern Sikora [Tue, 4 Aug 2009 15:07:29 +0000]
Added return value to non void function ;-).
Bjoern Sikora [Tue, 4 Aug 2009 14:59:44 +0000]
Init script taken from trusted_net_helper and adjusted to bpdyndnsd needs.
Bjoern Sikora [Tue, 4 Aug 2009 14:19:29 +0000]
Removed 'logfile' directive. Logfile can be specified through syslogd.
Bjoern Sikora [Tue, 4 Aug 2009 14:18:22 +0000]
Logging through syslog or std(out/err) is now possible.
Bjoern Sikora [Tue, 4 Aug 2009 11:08:50 +0000]
Added bin/ to .gitignore.
Bjoern Sikora [Tue, 4 Aug 2009 09:51:09 +0000]
Removed using of namespaces from header files.
Introduced logging facility.
Improved option handling when reloading through SIGHUP.
Improved signal handling.
Sorry for big check in ;-). Next time there will be smaller ones.
Thomas Jarosch [Mon, 3 Aug 2009 09:26:45 +0000]
Fix test for valid pointer after conversion to boost::smart_ptr (The class defines a bool cast operator to test for a valid pointer)
Thomas Jarosch [Mon, 3 Aug 2009 09:19:27 +0000]
Fix escape sequence in config file regex
Thomas Jarosch [Mon, 3 Aug 2009 09:14:40 +0000]
Added our default .gitignore file
Bjoern Sikora [Fri, 31 Jul 2009 16:29:59 +0000]
Implemented signal handling.
Bjoern Sikora [Fri, 31 Jul 2009 15:02:26 +0000]
Implemented daemon ability.
Bjoern Sikora [Thu, 30 Jul 2009 15:52:12 +0000]
CMD options have higher preference than config options.
Bjoern Sikora [Thu, 30 Jul 2009 14:27:39 +0000]
Tuned Logger.
Bjoern Sikora [Thu, 30 Jul 2009 13:48:28 +0000]
Introduced Logger.
Bjoern Sikora [Wed, 29 Jul 2009 16:10:42 +0000]
Moved some logic out of main into updater.
Bjoern Sikora [Wed, 29 Jul 2009 15:18:12 +0000]
Divided load_config_from_files into smaller ones.
Bjoern Sikora [Tue, 28 Jul 2009 10:53:05 +0000]
Error handling for unknown service.
Bjoern Sikora [Tue, 28 Jul 2009 10:12:34 +0000]
Example service config file.
Bjoern Sikora [Tue, 28 Jul 2009 09:48:25 +0000]
Introduced shared_ptr semantic. Introduced const & semantic.
Bjoern Sikora [Mon, 27 Jul 2009 15:37:29 +0000]
Added config load from files(main/service).
Bjoern Sikora [Mon, 27 Jul 2009 12:34:34 +0000]
Fixed member naming.
Bjoern Sikora [Mon, 27 Jul 2009 12:31:11 +0000]
Added doxygen comments and renamed members.
Bjoern Sikora [Mon, 27 Jul 2009 11:33:52 +0000]
Added doxygen comments and changed member names.
Bjoern Sikora [Mon, 27 Jul 2009 08:40:18 +0000]
Bjoern Sikora [Mon, 27 Jul 2009 08:15:19 +0000]
BOOST Filesystem to load config file.
Thomas Jarosch [Mon, 27 Jul 2009 08:05:04 +0000]
Small cosmetic changes
Thomas Jarosch [Mon, 27 Jul 2009 07:54:51 +0000]
Adjust project directory paths
Bjoern Sikora [Fri, 24 Jul 2009 15:15:45 +0000]
Removed binary from repo.
Bjoern Sikora [Fri, 24 Jul 2009 15:14:54 +0000]
Updater class.
Bjoern Sikora [Fri, 24 Jul 2009 15:14:33 +0000]
Service class.
Bjoern Sikora [Fri, 24 Jul 2009 15:14:21 +0000]
Main file.
Bjoern Sikora [Fri, 24 Jul 2009 15:13:00 +0000]
Config class header.
Bjoern Sikora [Fri, 24 Jul 2009 15:12:44 +0000]
The config class.
Bjoern Sikora [Fri, 24 Jul 2009 15:08:51 +0000]
Services are defined in extra files due to a bug in boost/program_options,
which doesn't make it possible to load unregistered_options from config files,
which is working for parsing from cmd line. Perhaps it's working in a future release.
Bjoern Sikora [Fri, 24 Jul 2009 15:08:36 +0000]
The main configuration file.
Bjoern Sikora [Fri, 24 Jul 2009 07:35:56 +0000]
Initial commit on project bpdyndnsd.