bpdyndnsd
13 years agoCorrected implementation of GnuDIP HTTP update protocol.
Bjoern Sikora [Mon, 21 Jun 2010 11:06:09 +0000]
Corrected implementation of GnuDIP HTTP update protocol.

13 years agoBugfix: Don't check for private IP-Address if we get the actual IP of the host to...
Bjoern Sikora [Fri, 18 Jun 2010 15:14:11 +0000]
Bugfix: Don't check for private IP-Address if we get the actual IP of the host to update.
Otherwise, if the hosts actual address is within a private range, there will be no update.

13 years agoBugfix. Separated CurlError into CurlError and CurlInitError. Added ability to re...
Bjoern Sikora [Tue, 15 Jun 2010 09:46:12 +0000]
Bugfix. Separated CurlError into CurlError and CurlInitError. Added ability to re-init HTTPHelper if not correctly initialized.

13 years agoChanged user agent string.
Bjoern Sikora [Fri, 11 Jun 2010 15:48:00 +0000]
Changed user agent string.

13 years agoRenamed all header to end with hpp instead of h.
Bjoern Sikora [Mon, 7 Jun 2010 15:31:09 +0000]
Renamed all header to end with hpp instead of h.

13 years agoAdded linter settings.
Bjoern Sikora [Mon, 7 Jun 2010 15:05:13 +0000]
Added linter settings.

13 years agoChanges in spec file: Restrictive folder and file attributes.
Bjoern Sikora [Fri, 21 May 2010 16:06:10 +0000]
Changes in spec file: Restrictive folder and file attributes.

13 years agoStart as user bpdyndnsd.
Bjoern Sikora [Fri, 21 May 2010 15:35:01 +0000]
Start as user bpdyndnsd.

13 years agoBugfix in ExternalLogOnlyOnce. Set the right member ;-).
Bjoern Sikora [Fri, 21 May 2010 15:01:46 +0000]
Bugfix in ExternalLogOnlyOnce. Set the right member ;-).

13 years agoChanges in Logger: Added member ExternalLogOnlyOnce. Changed some classifications...
Bjoern Sikora [Fri, 21 May 2010 14:23:52 +0000]
Changes in Logger: Added member ExternalLogOnlyOnce. Changed some classifications from warning to error.

13 years agoChanged some loglevels and ignore invalid service config rather than exit.
Bjoern Sikora [Fri, 21 May 2010 10:05:41 +0000]
Changed some loglevels and ignore invalid service config rather than exit.

13 years agoImplemented logic for ability to activate webcheck through signals.
Bjoern Sikora [Fri, 21 May 2010 08:09:06 +0000]
Implemented logic for ability to activate webcheck through signals.

13 years agoOnly check config option start_offline once, not in the loop which would avoid signal...
Bjoern Sikora [Fri, 21 May 2010 07:21:31 +0000]
Only check config option start_offline once, not in the loop which would avoid signal handling from taking effect.

13 years agoSignal handling changed to be able to go offline, online or online with webcheck ip.
Bjoern Sikora [Thu, 20 May 2010 16:34:09 +0000]
Signal handling changed to be able to go offline, online or online with webcheck ip.

13 years agoAdded config option for starting in offline mode.
Bjoern Sikora [Thu, 20 May 2010 15:01:32 +0000]
Added config option for starting in offline mode.

13 years agoRemoved unneded helper function.
Bjoern Sikora [Wed, 19 May 2010 15:27:15 +0000]
Removed unneded helper function.

13 years agoChanged name for object serialization file to bpdyndnsd.state.
Bjoern Sikora [Wed, 19 May 2010 15:02:31 +0000]
Changed name for object serialization file to bpdyndnsd.state.

13 years agoChanged folder for serialization file.
Bjoern Sikora [Wed, 19 May 2010 14:57:08 +0000]
Changed folder for serialization file.

13 years agoMoved BOOST macro for class registration from header to cpp file to avoid SEGFAULTING...
Bjoern Sikora [Wed, 19 May 2010 14:56:06 +0000]
Moved BOOST macro for class registration from header to cpp file to avoid SEGFAULTING ;-).

13 years agoChanged init script not to use initlog.
Bjoern Sikora [Wed, 19 May 2010 12:26:11 +0000]
Changed init script not to use initlog.

13 years agoAdded sysconfig path in spec file.
Bjoern Sikora [Wed, 19 May 2010 12:25:29 +0000]
Added sysconfig path in spec file.

13 years agoAdded sysconfig file.
Bjoern Sikora [Wed, 19 May 2010 12:24:45 +0000]
Added sysconfig file.

13 years agoChanged binary path to /usr/bin not /usr/local/bin.
Bjoern Sikora [Wed, 19 May 2010 08:34:51 +0000]
Changed binary path to /usr/bin not /usr/local/bin.

13 years agoChanges in spec file dependencies: Should be curl and curl-devel.
Bjoern Sikora [Wed, 19 May 2010 08:28:16 +0000]
Changes in spec file dependencies: Should be curl and curl-devel.

13 years agoBuild requires and build process changed.
Bjoern Sikora [Wed, 19 May 2010 07:56:41 +0000]
Build requires and build process changed.

13 years agoFinished fine tuning due to linter output.
Bjoern Sikora [Tue, 18 May 2010 12:39:54 +0000]
Finished fine tuning due to linter output.

13 years agoLast linter optimizations.
Bjoern Sikora [Tue, 18 May 2010 09:39:27 +0000]
Last linter optimizations.

13 years agoVarious fixes.
Bjoern Sikora [Mon, 17 May 2010 16:02:33 +0000]
Various fixes.

13 years agoUse time_t instead of int.
Bjoern Sikora [Mon, 17 May 2010 09:51:06 +0000]
Use time_t instead of int.

13 years agoAgain some consting and int -> void.
Bjoern Sikora [Mon, 17 May 2010 09:14:31 +0000]
Again some consting and int -> void.

13 years agoConst function and changed not needed return value from int to void.
Bjoern Sikora [Mon, 17 May 2010 09:07:34 +0000]
Const function and changed not needed return value from int to void.

13 years agoUsing reference for exception catching.
Bjoern Sikora [Mon, 17 May 2010 09:03:16 +0000]
Using reference for exception catching.

13 years agoAvoid using swap to initialize boost:shared_ptr members.
Bjoern Sikora [Mon, 17 May 2010 08:52:36 +0000]
Avoid using swap to initialize boost:shared_ptr members.

13 years agoNext steps in fine tuning code.
Bjoern Sikora [Wed, 12 May 2010 15:40:03 +0000]
Next steps in fine tuning code.

13 years agoNext steps in fine tuning.
Bjoern Sikora [Wed, 12 May 2010 14:36:17 +0000]
Next steps in fine tuning.

13 years agoFirst steps in fine tuning and improving error handling.
Bjoern Sikora [Wed, 12 May 2010 12:16:05 +0000]
First steps in fine tuning and improving error handling.

14 years agoExamples to improve code.
Bjoern Sikora [Thu, 15 Apr 2010 08:19:56 +0000]
Examples to improve code.

14 years agoImproved PC-lint settings
Thomas Jarosch [Thu, 4 Feb 2010 16:20:49 +0000]
Improved PC-lint settings

14 years agomini test-checkin
Gerd von Egidy [Fri, 6 Nov 2009 14:48:54 +0000]
mini test-checkin

14 years agoRenamed folder to config_examples.
Bjoern Sikora [Thu, 15 Oct 2009 16:28:19 +0000]
Renamed folder to config_examples.

14 years agoInserted docs and examples into rpm and added uninstall section.
Bjoern Sikora [Thu, 15 Oct 2009 16:27:25 +0000]
Inserted docs and examples into rpm and added uninstall section.

14 years agoInserted final location of binary.
Bjoern Sikora [Thu, 15 Oct 2009 16:26:39 +0000]
Inserted final location of binary.

14 years agoMoved into doc folder.
Bjoern Sikora [Thu, 15 Oct 2009 15:55:38 +0000]
Moved into doc folder.

14 years agoCreated needed docs.
Bjoern Sikora [Thu, 15 Oct 2009 15:54:54 +0000]
Created needed docs.

14 years agoAdjusted README file to this project.
Bjoern Sikora [Thu, 15 Oct 2009 15:41:23 +0000]
Adjusted README file to this project.

14 years agoMakefile needed for source tar generation.
Bjoern Sikora [Thu, 15 Oct 2009 15:11:38 +0000]
Makefile needed for source tar generation.

14 years agoWe need to switch to build dir in install section, too.
Bjoern Sikora [Thu, 15 Oct 2009 14:59:26 +0000]
We need to switch to build dir in install section, too.

14 years agoTo fully support IPv6 we need to be able to parse an IPv6 address out of the received...
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.

14 years agoLittle change in description and changed buildroot.
Bjoern Sikora [Thu, 15 Oct 2009 14:15:33 +0000]
Little change in description and changed buildroot.

14 years agoMoved into subfolder config.
Bjoern Sikora [Thu, 15 Oct 2009 14:14:56 +0000]
Moved into subfolder config.

14 years agoConfigure.in needed for make source tar file.
Bjoern Sikora [Thu, 15 Oct 2009 14:14:29 +0000]
Configure.in needed for make source tar file.

14 years agoFirst shot on spec file.
Bjoern Sikora [Thu, 15 Oct 2009 14:14:06 +0000]
First shot on spec file.

14 years agoMoved config file into subfolder config.
Bjoern Sikora [Thu, 15 Oct 2009 14:13:43 +0000]
Moved config file into subfolder config.

14 years agoAdded support for multiple interfaces.
Bjoern Sikora [Wed, 14 Oct 2009 15:47:39 +0000]
Added support for multiple interfaces.
Improved IPv6 Support.

14 years agoBugfix: Status code in curl data is delimited by carriage return + line feed, so...
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.

14 years agoDon't try to update if dynamic hostname could not be found.
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).

14 years agoBugfix: Curl appends rather than overrites writedata buff, so we need to copy and...
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.

14 years agoBugfix: User \n as delimiter for service tzo.
Bjoern Sikora [Tue, 22 Sep 2009 17:31:51 +0000]
Bugfix: User \n as delimiter for service tzo.

14 years agoBugfix: User \n as delimiter for easydns.
Bjoern Sikora [Tue, 22 Sep 2009 17:30:54 +0000]
Bugfix: User \n as delimiter for easydns.

14 years agoIncreased version in user agent info.
Bjoern Sikora [Tue, 22 Sep 2009 17:30:05 +0000]
Increased version in user agent info.

14 years agoChanged paths to the final locations.
Bjoern Sikora [Tue, 22 Sep 2009 15:21:11 +0000]
Changed paths to the final locations.

14 years agoClearly rearranged update algorithm.
Bjoern Sikora [Tue, 22 Sep 2009 15:14:40 +0000]
Clearly rearranged update algorithm.
Improved logging.

14 years agoRemoved version information from main.cpp.
Bjoern Sikora [Tue, 22 Sep 2009 15:13:57 +0000]
Removed version information from main.cpp.

14 years agoAdded version into agent string.
Bjoern Sikora [Tue, 22 Sep 2009 15:13:22 +0000]
Added version into agent string.

14 years agoAlso (de-)serialize object state (LastWebcheck) of IPAddrHelper.
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.

14 years agoDo not invoke any webcheck url to often (once every 10 minutes will be the default).
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).

14 years agoUpdated macros to search for boost, curl and openssl libraries
Thomas Jarosch [Mon, 21 Sep 2009 10:19:14 +0000]
Updated macros to search for boost, curl and openssl libraries

14 years agoRestructured source file list. Created list for header files, so the program will...
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

14 years agoSplit into smaller cmake files
Thomas Jarosch [Mon, 21 Sep 2009 09:57:52 +0000]
Split into smaller cmake files

14 years agolint settings: Don't complain about redeclaration of Service::Ptr
Thomas Jarosch [Mon, 21 Sep 2009 09:29:03 +0000]
lint settings: Don't complain about redeclaration of Service::Ptr

14 years agoNo need for ; after a namespace declaration
Thomas Jarosch [Mon, 21 Sep 2009 09:26:04 +0000]
No need for ; after a namespace declaration

14 years agoDeleted example config files.
Bjoern Sikora [Mon, 21 Sep 2009 10:05:49 +0000]
Deleted example config files.

14 years agoCreated example config files for each service in examples_config/*.
Bjoern Sikora [Mon, 21 Sep 2009 10:02:52 +0000]
Created example config files for each service in examples_config/*.

14 years agoAdded compiler option -j2.
Bjoern Sikora [Mon, 21 Sep 2009 09:59:17 +0000]
Added compiler option -j2.

14 years agoBugfix: Catch also generic program_options error.
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.

14 years agoBugfix: Don't test for NULL pointer of fixed sized character array.
Bjoern Sikora [Mon, 21 Sep 2009 09:32:37 +0000]
Bugfix: Don't test for NULL pointer of fixed sized character array.

14 years agoBugfix: We need a virtual destructor for the interface.
Bjoern Sikora [Mon, 21 Sep 2009 09:31:54 +0000]
Bugfix: We need a virtual destructor for the interface.

14 years agoImproved cmake CMakeLists.txt.
Bjoern Sikora [Fri, 18 Sep 2009 15:52:48 +0000]
Improved cmake CMakeLists.txt.

14 years agoFixed includes.
Bjoern Sikora [Fri, 18 Sep 2009 15:51:01 +0000]
Fixed includes.
Fixed BOOST::SERIALIZATION linking error after fixed includes.

14 years agoGet rid of the compiler warning about strict aliasing rule.
Bjoern Sikora [Fri, 18 Sep 2009 09:09:22 +0000]
Get rid of the compiler warning about strict aliasing rule.

14 years agoImproved shared_pointer handling. Use swap instead of copy and reset().
Bjoern Sikora [Fri, 18 Sep 2009 08:19:43 +0000]
Improved shared_pointer handling. Use swap instead of copy and reset().

14 years agoAdded logging for external logging failures and removed unneccessary statements.
Bjoern Sikora [Thu, 17 Sep 2009 16:16:56 +0000]
Added logging for external logging failures and removed unneccessary statements.

14 years agoLast steps on DHS service.
Bjoern Sikora [Thu, 17 Sep 2009 15:35:49 +0000]
Last steps on DHS service.

14 years agoBugfix: Avoid curl from segfaulting when CurlErrBuff is filled. Allocate CurlErrBuff...
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.

14 years agoDo not use ostringstream if not really needed.
Bjoern Sikora [Thu, 17 Sep 2009 14:43:19 +0000]
Do not use ostringstream if not really needed.

14 years agoUpdate A record. An update operation is not available, an IP update must be done...
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.

14 years agoAvoid typedefs in header files if not really necessary.
Bjoern Sikora [Wed, 16 Sep 2009 09:59:58 +0000]
Avoid typedefs in header files if not really necessary.

14 years agoImplemented ODS protocol.
Bjoern Sikora [Tue, 15 Sep 2009 15:36:32 +0000]
Implemented ODS protocol.
Added net_helper and corresponding classes.

14 years agoAdded Util::parse_status_code().
Bjoern Sikora [Tue, 15 Sep 2009 15:35:29 +0000]
Added Util::parse_status_code().

14 years agoGeneralized print_http_not_authorized to print_service_not_authorized.
Bjoern Sikora [Tue, 15 Sep 2009 15:30:09 +0000]
Generalized print_http_not_authorized to print_service_not_authorized.
Added Log messages.

14 years agoBugfix: Free up memory in httphelper.
Bjoern Sikora [Tue, 15 Sep 2009 15:28:23 +0000]
Bugfix: Free up memory in httphelper.
Bugfix: Init ProxyPort in config.cpp.

14 years agoRefactoring: Renamed class IPHelper to a more meaningful name IPAddrHelper.
Bjoern Sikora [Wed, 9 Sep 2009 13:55:02 +0000]
Refactoring: Renamed class IPHelper to a more meaningful name IPAddrHelper.

14 years agoAdded error handling in Util::compute_md5_digest and avoided using of C functions...
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.

14 years agoAdded implementation of gnudip protocol.
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.

14 years agoAdded regex tests to test if given IP is within a private range.
Bjoern Sikora [Mon, 7 Sep 2009 16:37:50 +0000]
Added regex tests to test if given IP is within a private range.

14 years agoRenamed within refactoring class naming.
Bjoern Sikora [Mon, 7 Sep 2009 16:37:03 +0000]
Renamed within refactoring class naming.

14 years agoRefactoring unexpected part two: Class naming adopted to I2N coding style ;-).
Bjoern Sikora [Mon, 7 Sep 2009 14:53:40 +0000]
Refactoring unexpected part two: Class naming adopted to I2N coding style ;-).

14 years agoRefactoring: Class renaming. All service implementaion classes should start with...
Bjoern Sikora [Mon, 7 Sep 2009 14:33:34 +0000]
Refactoring: Class renaming. All service implementaion classes should start with service_.

14 years agoAdded implementation of service zoneedit.
Bjoern Sikora [Mon, 7 Sep 2009 13:41:57 +0000]
Added implementation of service zoneedit.

14 years agoAdded implementation for tzo.
Bjoern Sikora [Mon, 7 Sep 2009 12:53:35 +0000]
Added implementation for tzo.