bpdyndnsd
14 years agoNormalized perform_update method. Improved readability.
Bjoern Sikora [Mon, 7 Sep 2009 11:32:50 +0000]
Normalized perform_update method. Improved readability.

14 years agoUse boost::algorithm::string::split for splitting strings into tokens.
Bjoern Sikora [Mon, 7 Sep 2009 09:48:50 +0000]
Use boost::algorithm::string::split for splitting strings into tokens.

14 years agoFirst shot on easydns.
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.

14 years agoAdded implementation of dyns service.
Bjoern Sikora [Thu, 3 Sep 2009 14:41:11 +0000]
Added implementation of dyns service.

14 years agoNo need to initialize strings with "".
Bjoern Sikora [Thu, 3 Sep 2009 12:34:11 +0000]
No need to initialize strings with "".
Init basic member variables via initializer list.

14 years agoInit member variables via initializer list in object constructor
Thomas Jarosch [Thu, 3 Sep 2009 11:14:57 +0000]
Init member variables via initializer list in object constructor

14 years agoNo need to init empty string classes - they already contain an empty string
Thomas Jarosch [Thu, 3 Sep 2009 11:12:02 +0000]
No need to init empty string classes - they already contain an empty string

14 years agoAdded constructor to use if auth options are encoded into the url.
Bjoern Sikora [Thu, 3 Sep 2009 10:58:57 +0000]
Added constructor to use if auth options are encoded into the url.

14 years agoDynDNS config.
Bjoern Sikora [Thu, 3 Sep 2009 10:48:59 +0000]
DynDNS config.

14 years agoImplemented dyndns service.
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.

14 years agoImplemented curl error handling. Improved httphelper. Enhanced dhs protocol handling.
Bjoern Sikora [Thu, 3 Sep 2009 08:35:10 +0000]
Implemented curl error handling. Improved httphelper. Enhanced dhs protocol handling.

14 years agoFirt shot on DHS Protocol implementation. At this point only Error handling is missing.
Bjoern Sikora [Wed, 2 Sep 2009 10:01:17 +0000]
Firt shot on DHS Protocol implementation. At this point only Error handling is missing.

14 years agoConcetptionally each service needs it's own HTTPHelper class.
Bjoern Sikora [Tue, 1 Sep 2009 10:01:15 +0000]
Concetptionally each service needs it's own HTTPHelper class.

14 years agoIntroduced HTTPHelper class to easily perform HTTP operations within services.
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.

14 years agoAdded ability to log warnings to external program defined via config.
Bjoern Sikora [Thu, 27 Aug 2009 16:03:35 +0000]
Added ability to log warnings to external program defined via config.

14 years agoImproved conf file and cmd option parsing and corresponding logging.
Bjoern Sikora [Wed, 26 Aug 2009 09:45:11 +0000]
Improved conf file and cmd option parsing and corresponding logging.

14 years agoCURLOPT_PROXY is avaiting a NULL terminated C string (char *), so we have to give...
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.

14 years agoImplemented first part of http proxy ability.
Bjoern Sikora [Tue, 25 Aug 2009 16:01:08 +0000]
Implemented first part of http proxy ability.

14 years agoImproved logging and added code to handle failed dns lookup of cached dns record.
Bjoern Sikora [Tue, 25 Aug 2009 14:56:42 +0000]
Improved logging and added code to handle failed dns lookup of cached dns record.

14 years agoAdded DNS Rechecking of DynDNS Hostname after DNS record ttl timeout.
Bjoern Sikora [Tue, 25 Aug 2009 14:05:31 +0000]
Added DNS Rechecking of DynDNS Hostname after DNS record ttl timeout.

14 years agoNamed all parameters in headers' function prototypes.
Bjoern Sikora [Tue, 25 Aug 2009 09:46:13 +0000]
Named all parameters in headers' function prototypes.

14 years agoImproved shut down behaviour.
Bjoern Sikora [Tue, 25 Aug 2009 08:55:37 +0000]
Improved shut down behaviour.

14 years agoFirst steps in redesign:
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

14 years agoAdded cmake search for curl.
Bjoern Sikora [Mon, 17 Aug 2009 16:19:56 +0000]
Added cmake search for curl.

14 years agoIntroduced new Service members: UpdateInterval and MaxUpdatesWithinInterval.
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.

14 years agoSmall STL usage improvement
Thomas Jarosch [Mon, 17 Aug 2009 09:14:14 +0000]
Small STL usage improvement

14 years agoImplemented determining IP through WEBCHECK URL.
Bjoern Sikora [Thu, 13 Aug 2009 15:57:11 +0000]
Implemented determining IP through WEBCHECK URL.

14 years agoIndroduced new config options for use of ipv6 and ip webcheck url's.
Bjoern Sikora [Wed, 12 Aug 2009 14:43:27 +0000]
Indroduced new config options for use of ipv6 and ip webcheck url's.

14 years agoSeparated Service update into update and perform_update.
Bjoern Sikora [Tue, 11 Aug 2009 15:27:43 +0000]
Separated Service update into update and perform_update.
Improved logging.
Prepared support for IPv6.

14 years agoIntroduced new class IPHelper which should perform DNS and webcheck IP queries.
Bjoern Sikora [Tue, 11 Aug 2009 14:36:47 +0000]
Introduced new class IPHelper which should perform DNS and webcheck IP queries.

14 years agoFinally a string manipulating boost header was found ;-).
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.

14 years agoDeclared all non member manipulating methods as const, so compiler can optimize.
Bjoern Sikora [Tue, 11 Aug 2009 07:43:04 +0000]
Declared all non member manipulating methods as const, so compiler can optimize.

14 years agoCommented all config options for testing purposes and added next TODO's.
Bjoern Sikora [Mon, 10 Aug 2009 16:09:03 +0000]
Commented all config options for testing purposes and added next TODO's.

14 years agoSeparated init of daemon mode into extra function.
Bjoern Sikora [Mon, 10 Aug 2009 15:39:07 +0000]
Separated init of daemon mode into extra function.

14 years agoConvert protocol to lower case.
Bjoern Sikora [Mon, 10 Aug 2009 15:20:34 +0000]
Convert protocol to lower case.

14 years agoGeneralized return values. 0 indicates success, -1 failure.
Bjoern Sikora [Mon, 10 Aug 2009 14:40:06 +0000]
Generalized return values. 0 indicates success, -1 failure.

14 years agoAdded and improved some error handling.
Bjoern Sikora [Mon, 10 Aug 2009 14:35:06 +0000]
Added and improved some error handling.

14 years agoFixed variable naming to I2N coding style.
Bjoern Sikora [Mon, 10 Aug 2009 10:50:02 +0000]
Fixed variable naming to I2N coding style.
Now we have camel's as MemBer.
      _
  .--' |
 / _ ^ |
(_/ `\ |     .--.   .--.
     ) |    /    \ /    \
    /  |  /`      `      '.
   |   '-'           /     \
   \                |      |\
    \    /          \      /\|
     \  / `'-----'``.\    /
     |||              \\ |
     ((|               ((|
     |||               |||
    //_(              //_(

14 years agoImproved readability (bool online_mode becomes is_online).
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.

14 years agoCorrected include's in header files.
Bjoern Sikora [Mon, 10 Aug 2009 10:25:41 +0000]
Corrected include's in header files.
Corrected typedef's in header files.

14 years agoStarted with boost/serialization error handling.
Bjoern Sikora [Mon, 10 Aug 2009 08:36:47 +0000]
Started with boost/serialization error handling.

14 years agoStart PC-lint 9.00c options file
Thomas Jarosch [Mon, 10 Aug 2009 08:26:01 +0000]
Start PC-lint 9.00c options file

14 years agoAdded some code remarks
Thomas Jarosch [Mon, 10 Aug 2009 08:13:45 +0000]
Added some code remarks

14 years agoImplemented logic to avoid recently redefined Services from expiring their update...
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).

14 years agoReplaced Options_description * with shared_ptr.
Bjoern Sikora [Fri, 7 Aug 2009 14:38:28 +0000]
Replaced Options_description * with shared_ptr.

14 years agoNow serializing list of shared pointers instead of list of Service*.
Bjoern Sikora [Fri, 7 Aug 2009 14:20:44 +0000]
Now serializing list of shared pointers instead of list of Service*.

14 years agoThis is the simple Serviceholder class needed for de/serialization purposes.
Bjoern Sikora [Fri, 7 Aug 2009 11:02:15 +0000]
This is the simple Serviceholder class needed for de/serialization purposes.

14 years agoManaged Service de/serialization through dedicated Serviceholder class.
Bjoern Sikora [Fri, 7 Aug 2009 10:58:58 +0000]
Managed Service de/serialization through dedicated Serviceholder class.

14 years agoEach Service has Protocol, Hostname, Login, Password, Shared_Ptr to Logging facility...
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.

14 years agoAdded search for boost/serialization.
Bjoern Sikora [Wed, 5 Aug 2009 16:21:54 +0000]
Added search for boost/serialization.

14 years agoImplemented object serialization of Service objects (first steps).
Bjoern Sikora [Wed, 5 Aug 2009 15:05:44 +0000]
Implemented object serialization of Service objects (first steps).

14 years agoAdded chkconfig runlevel info.
Bjoern Sikora [Wed, 5 Aug 2009 08:42:02 +0000]
Added chkconfig runlevel info.

14 years agoUseing initlog to start process.
Bjoern Sikora [Tue, 4 Aug 2009 15:46:10 +0000]
Useing initlog to start process.

14 years agoAdjusted exit code on terminate through SIGTERM.
Bjoern Sikora [Tue, 4 Aug 2009 15:45:10 +0000]
Adjusted exit code on terminate through SIGTERM.

14 years agoAdded return value to non void function ;-).
Bjoern Sikora [Tue, 4 Aug 2009 15:07:29 +0000]
Added return value to non void function ;-).

14 years agoInit script taken from trusted_net_helper and adjusted to bpdyndnsd needs.
Bjoern Sikora [Tue, 4 Aug 2009 14:59:44 +0000]
Init script taken from trusted_net_helper and adjusted to bpdyndnsd needs.

14 years agoRemoved 'logfile' directive. Logfile can be specified through syslogd.
Bjoern Sikora [Tue, 4 Aug 2009 14:19:29 +0000]
Removed 'logfile' directive. Logfile can be specified through syslogd.

14 years agoLogging through syslog or std(out/err) is now possible.
Bjoern Sikora [Tue, 4 Aug 2009 14:18:22 +0000]
Logging through syslog or std(out/err) is now possible.

14 years agoAdded bin/ to .gitignore.
Bjoern Sikora [Tue, 4 Aug 2009 11:08:50 +0000]
Added bin/ to .gitignore.

14 years agoRemoved using of namespaces from header files.
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.

14 years agoFix test for valid pointer after conversion to boost::smart_ptr (The class defines...
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)

14 years agoFix escape sequence in config file regex
Thomas Jarosch [Mon, 3 Aug 2009 09:19:27 +0000]
Fix escape sequence in config file regex

14 years agoAdded our default .gitignore file
Thomas Jarosch [Mon, 3 Aug 2009 09:14:40 +0000]
Added our default .gitignore file

14 years agoImplemented signal handling.
Bjoern Sikora [Fri, 31 Jul 2009 16:29:59 +0000]
Implemented signal handling.

14 years agoImplemented daemon ability.
Bjoern Sikora [Fri, 31 Jul 2009 15:02:26 +0000]
Implemented daemon ability.

14 years agoCMD options have higher preference than config options.
Bjoern Sikora [Thu, 30 Jul 2009 15:52:12 +0000]
CMD options have higher preference than config options.

14 years agoTuned Logger.
Bjoern Sikora [Thu, 30 Jul 2009 14:27:39 +0000]
Tuned Logger.

14 years agoIntroduced Logger.
Bjoern Sikora [Thu, 30 Jul 2009 13:48:28 +0000]
Introduced Logger.

14 years agoMoved some logic out of main into updater.
Bjoern Sikora [Wed, 29 Jul 2009 16:10:42 +0000]
Moved some logic out of main into updater.

14 years agoDivided load_config_from_files into smaller ones.
Bjoern Sikora [Wed, 29 Jul 2009 15:18:12 +0000]
Divided load_config_from_files into smaller ones.

14 years agoError handling for unknown service.
Bjoern Sikora [Tue, 28 Jul 2009 10:53:05 +0000]
Error handling for unknown service.

14 years agoExample service config file.
Bjoern Sikora [Tue, 28 Jul 2009 10:12:34 +0000]
Example service config file.

14 years agoIntroduced shared_ptr semantic. Introduced const & semantic.
Bjoern Sikora [Tue, 28 Jul 2009 09:48:25 +0000]
Introduced shared_ptr semantic. Introduced const & semantic.

14 years agoAdded config load from files(main/service).
Bjoern Sikora [Mon, 27 Jul 2009 15:37:29 +0000]
Added config load from files(main/service).

14 years agoFixed member naming.
Bjoern Sikora [Mon, 27 Jul 2009 12:34:34 +0000]
Fixed member naming.

14 years agoAdded doxygen comments and renamed members.
Bjoern Sikora [Mon, 27 Jul 2009 12:31:11 +0000]
Added doxygen comments and renamed members.

14 years agoAdded doxygen comments and changed member names.
Bjoern Sikora [Mon, 27 Jul 2009 11:33:52 +0000]
Added doxygen comments and changed member names.

14 years agoMerged Tom's changes into my HEAD
Bjoern Sikora [Mon, 27 Jul 2009 08:40:18 +0000]
Merged Tom's changes into my HEAD

Merge commit '4248e8ca2f83e33137e3dce90c939f7b21e355a4'; commit '7ec77cf125ac21e7a6c0ef7aa99ab84c71c680d1'

14 years agoBOOST Filesystem to load config file.
Bjoern Sikora [Mon, 27 Jul 2009 08:15:19 +0000]
BOOST Filesystem to load config file.

14 years agoSmall cosmetic changes
Thomas Jarosch [Mon, 27 Jul 2009 08:05:04 +0000]
Small cosmetic changes

14 years agoAdjust project directory paths
Thomas Jarosch [Mon, 27 Jul 2009 07:54:51 +0000]
Adjust project directory paths

14 years agoRemoved binary from repo.
Bjoern Sikora [Fri, 24 Jul 2009 15:15:45 +0000]
Removed binary from repo.

14 years agoUpdater class.
Bjoern Sikora [Fri, 24 Jul 2009 15:14:54 +0000]
Updater class.

14 years agoService class.
Bjoern Sikora [Fri, 24 Jul 2009 15:14:33 +0000]
Service class.

14 years agoMain file.
Bjoern Sikora [Fri, 24 Jul 2009 15:14:21 +0000]
Main file.

14 years agoConfig class header.
Bjoern Sikora [Fri, 24 Jul 2009 15:13:00 +0000]
Config class header.

14 years agoThe config class.
Bjoern Sikora [Fri, 24 Jul 2009 15:12:44 +0000]
The config class.

14 years agoServices are defined in extra files due to a bug in boost/program_options,
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.

14 years agoThe main configuration file.
Bjoern Sikora [Fri, 24 Jul 2009 15:08:36 +0000]
The main configuration file.

14 years agoInitial commit on project bpdyndnsd.
Bjoern Sikora [Fri, 24 Jul 2009 07:35:56 +0000]
Initial commit on project bpdyndnsd.