bpdyndnsd
3 years agoFix 'occurred' typo master
Thomas Jarosch [Sat, 23 May 2020 10:35:30 +0000]
Fix 'occurred' typo

6 years agoExplicitly link pthread, needed by new binutils
Thomas Jarosch [Fri, 8 Sep 2017 12:21:16 +0000]
Explicitly link pthread, needed by new binutils

8 years agorelease v1.1 v1.1
Gerd von Egidy [Tue, 26 May 2015 09:06:32 +0000]
release v1.1

8 years agodon't log passwords by default, but make password logging optional
Gerd von Egidy [Mon, 25 May 2015 17:40:55 +0000]
don't log passwords by default, but make password logging optional

8 years agoadd new protocol variation "gnudip-fullhostname", used by provider dynu.com
Gerd von Egidy [Mon, 25 May 2015 17:16:11 +0000]
add new protocol variation "gnudip-fullhostname", used by provider dynu.com

8 years agofix compile with newer boost version
Gerd von Egidy [Mon, 25 May 2015 17:15:39 +0000]
fix compile with newer boost version

9 years agoAdded updated IP into update successful log message.
Bjoern Sikora [Thu, 16 Oct 2014 11:08:44 +0000]
Added updated IP into update successful log message.

9 years agocorrectly parse responses from changeip.com (dyndns protocol)
Gerd von Egidy [Thu, 12 Jun 2014 15:38:05 +0000]
correctly parse responses from changeip.com (dyndns protocol)

10 years agoSplitted method serialize() into load() and save() as this is needed to introduce...
Bjoern Sikora [Wed, 17 Jul 2013 14:57:57 +0000]
Splitted method serialize() into load() and save() as this is needed to introduce versioning. Increased class version to 1. Set member Activated to be available with version 1 only. From older version state files this member is not read.

10 years agoEnhanced update logic to respect not activated hostnames. If a hostname could not...
Bjoern Sikora [Tue, 16 Jul 2013 15:41:40 +0000]
Enhanced update logic to respect not activated hostnames. If a hostname could not be resolved it could be due to offline or not activated state. Try to update at least once. If the server response indicated that the hostname could correctly be associated to an existing account, assume hostname as activated.

10 years agoCatch generic std::exception as there can be thrown different types in case of differ...
Bjoern Sikora [Tue, 16 Jul 2013 09:49:26 +0000]
Catch generic std::exception as there can be thrown different types in case of different problems. Anyhow we can't use the content of the state file in case of exception.

10 years agoDon't exit program if state file could not be pared (for example corrupted or empty...
Bjoern Sikora [Tue, 16 Jul 2013 09:21:18 +0000]
Don't exit program if state file could not be pared (for example corrupted or empty). This fixes mantis-bug#1739.

10 years agoMade compilable again. Now boost_system is explicitly needed. On the const map we...
Bjoern Sikora [Tue, 16 Jul 2013 09:01:28 +0000]
Made compilable again. Now boost_system is explicitly needed. On the const map we need the const_reverse_iterator not only reverse_iterator.

11 years agoAdd missing iterator initialization
Thomas Jarosch [Thu, 27 Dec 2012 13:58:33 +0000]
Add missing iterator initialization

cppcheck reported:
[bpdyndnsd/src/logger.cpp:1974]: (error) Invalid iterator 'r_iter' used.

13 years agoIncrease easydns update interval as the described ten minutes will result in TOOSOON...
Thomas Jarosch [Thu, 24 Mar 2011 15:35:21 +0000]
Increase easydns update interval as the described ten minutes will result in TOOSOON return code

13 years agoLog burnt IP only once
Thomas Jarosch [Tue, 1 Feb 2011 11:01:28 +0000]
Log burnt IP only once

13 years agoDyndns: Better handling for nochg and abuse return codes: Log them as unsuccessful...
Thomas Jarosch [Mon, 31 Jan 2011 14:35:35 +0000]
Dyndns: Better handling for nochg and abuse return codes: Log them as unsuccessful updates and record the IP in the update log (for the burnt logic)

13 years agoUse enum for perform_update() return code. Made function protected
Thomas Jarosch [Mon, 31 Jan 2011 14:27:22 +0000]
Use enum for perform_update() return code. Made function protected

13 years agoAdd new feature wish
Thomas Jarosch [Mon, 31 Jan 2011 13:57:36 +0000]
Add new feature wish

13 years agoDyndns protocol: Mark "nochg" and "abuse" return code as successful update. Needed...
Thomas Jarosch [Mon, 31 Jan 2011 13:57:07 +0000]
Dyndns protocol: Mark "nochg" and "abuse" return code as successful update. Needed by the burnt IP logic.

13 years agoFixed burnt IP detection issue. Moved burnt IP detection into update_allowed().
Bjoern Sikora [Mon, 31 Jan 2011 12:45:44 +0000]
Fixed burnt IP detection issue. Moved burnt IP detection into update_allowed().

13 years agoAs we want to delete to oldest entry, we can use begin() instead of upper_bound(0)
Thomas Jarosch [Mon, 31 Jan 2011 10:58:43 +0000]
As we want to delete to oldest entry, we can use begin() instead of upper_bound(0)

13 years agoNo need for manual copy. Implemented exception safe copy
Thomas Jarosch [Mon, 31 Jan 2011 10:56:58 +0000]
No need for manual copy. Implemented exception safe copy

13 years agoCosmetic/documentation changes only
Thomas Jarosch [Mon, 31 Jan 2011 10:56:13 +0000]
Cosmetic/documentation changes only

13 years agoFixed burnt logic: Only check for burnt IP address if there are at least max_equal_up...
Bjoern Sikora [Fri, 28 Jan 2011 17:22:02 +0000]
Fixed burnt logic: Only check for burnt IP address if there are at least max_equal_updates_in_succession entries in the last_updates map.

13 years agoFixed unused variable.
Bjoern Sikora [Fri, 28 Jan 2011 17:06:03 +0000]
Fixed unused variable.
Fixed missing iterator initialization.
Fixed get_last_update_time().

13 years agoFixed spelling.
Bjoern Sikora [Fri, 28 Jan 2011 16:49:48 +0000]
Fixed spelling.

13 years agoFixed undefined var ;-).
Bjoern Sikora [Fri, 28 Jan 2011 16:45:35 +0000]
Fixed undefined var ;-).

13 years agoDon't update the same IP more than 2 times in success.
Bjoern Sikora [Fri, 28 Jan 2011 16:36:49 +0000]
Don't update the same IP more than 2 times in success.
 - Added config var max_equal_updates_in_success.
 - Added Logging if IP is burnt.
 - Changed LastUpdates list to map.
 - Hold max(max_equal_updates_in_success,max_updates_within_interval) entries in the LastUpdates map.

13 years agoAlso add the default update interval into generic service definition file.
Bjoern Sikora [Fri, 28 Jan 2011 11:02:10 +0000]
Also add the default update interval into generic service definition file.
In case we define a new service and forget to set the interval, this prevents using update interval of 0.

13 years agoAdded values for update interval and max updates within this interval for DynDNS...
Bjoern Sikora [Fri, 28 Jan 2011 10:48:15 +0000]
Added values for update interval and max updates within this interval for DynDNS, GnuDIP, TZO and Zoneedit. See mantis bug#1754.

13 years agoFixed mantis Bug#1750: Don't call EVP_cleanup(). This will remove all digest from...
Bjoern Sikora [Mon, 17 Jan 2011 12:15:39 +0000]
Fixed mantis Bug#1750: Don't call EVP_cleanup(). This will remove all digest from the internal table which is also used by curl.

13 years agoAdded possibility to override automatic WAN IP detection
Thomas Jarosch [Wed, 8 Dec 2010 14:42:52 +0000]
Added possibility to override automatic WAN IP detection

13 years agoChanged the comparing "good" update string to satisfy staticip, too.
Bjoern Sikora [Fri, 19 Nov 2010 16:40:33 +0000]
Changed the comparing "good" update string to satisfy staticip, too.

13 years agoFix md5 to hex conversion: Output a leading zero for values smaller than ten
Thomas Jarosch [Mon, 8 Nov 2010 15:29:22 +0000]
Fix md5 to hex conversion: Output a leading zero for values smaller than ten

13 years agoAdd note about TTL
Thomas Jarosch [Wed, 20 Oct 2010 12:21:35 +0000]
Add note about TTL

13 years agoAdd DNS TTL/server error threshold so we don't update with the same IP too often
Thomas Jarosch [Wed, 20 Oct 2010 12:14:26 +0000]
Add DNS TTL/server error threshold so we don't update with the same IP too often

13 years agoImprove logging when IP update is not allowed (log once on log level 0 if we changed...
Thomas Jarosch [Wed, 20 Oct 2010 10:00:30 +0000]
Improve logging when IP update is not allowed (log once on log level 0 if we changed to online mode)

13 years agoAdd TODO entry about nochg response
Thomas Jarosch [Mon, 18 Oct 2010 09:47:33 +0000]
Add TODO entry about nochg response

13 years agoSave one indent level in ServiceDyndns::perform_update()
Thomas Jarosch [Mon, 18 Oct 2010 09:40:00 +0000]
Save one indent level in ServiceDyndns::perform_update()

13 years agoFix HTTP request output parsing: Don't read past the curl buffer end
Thomas Jarosch [Mon, 18 Oct 2010 09:31:34 +0000]
Fix HTTP request output parsing: Don't read past the curl buffer end

13 years agoFix user agent. Don't output a newline after any HTTP header as curl won't filter...
Thomas Jarosch [Mon, 18 Oct 2010 09:06:10 +0000]
Fix user agent. Don't output a newline after any HTTP header as curl won't filter them and this will disrupt the HTTP request

13 years agoAnd even one more TODO entry
Thomas Jarosch [Thu, 14 Oct 2010 13:57:25 +0000]
And even one more TODO entry

13 years agoFix another user-agent pointer bug. Fix user-agent string
Thomas Jarosch [Thu, 14 Oct 2010 13:48:23 +0000]
Fix another user-agent pointer bug. Fix user-agent string

13 years agoFix user-agent issue: Use char* pointer instead of address of the std::string class
Thomas Jarosch [Thu, 14 Oct 2010 13:31:16 +0000]
Fix user-agent issue: Use char* pointer instead of address of the std::string class

13 years agoDisable SSL certificate validation until we have CA certificate handling. Better...
Thomas Jarosch [Thu, 14 Oct 2010 13:00:24 +0000]
Disable SSL certificate validation until we have CA certificate handling. Better than no encryption at all :)

13 years agoAdd CA certificate handling to TODO
Thomas Jarosch [Thu, 14 Oct 2010 12:48:42 +0000]
Add CA certificate handling to TODO

13 years agoOne more TODO entry
Thomas Jarosch [Thu, 14 Oct 2010 10:37:25 +0000]
One more TODO entry

13 years agoOne more idea to do
Thomas Jarosch [Thu, 14 Oct 2010 10:30:05 +0000]
One more idea to do

13 years agoUpdate TODO list
Thomas Jarosch [Thu, 14 Oct 2010 10:18:50 +0000]
Update TODO list

13 years agoBlock service for a short period of time on too many update errors
Thomas Jarosch [Thu, 14 Oct 2010 09:56:54 +0000]
Block service for a short period of time on too many update errors

13 years agoSet last webcheck timestamp early so we don't trash the server in case of an error...
Thomas Jarosch [Thu, 14 Oct 2010 09:03:11 +0000]
Set last webcheck timestamp early so we don't trash the server in case of an error (and keep quiet for the defined idle period)

13 years agoSkip webcheck idle period check if we just went online. Improve webcheck logging
Thomas Jarosch [Thu, 14 Oct 2010 08:53:49 +0000]
Skip webcheck idle period check if we just went online. Improve webcheck logging

13 years agoMake note about curl HTTP headers
Thomas Jarosch [Thu, 14 Oct 2010 08:27:34 +0000]
Make note about curl HTTP headers

13 years agoAdded a TODO: Failure handling.
Bjoern Sikora [Wed, 13 Oct 2010 13:18:59 +0000]
Added a TODO: Failure handling.

13 years agoAdd HTTP proxy auth to TODO list
Thomas Jarosch [Wed, 13 Oct 2010 12:59:55 +0000]
Add HTTP proxy auth to TODO list

13 years agoAdd example configuration for no-ip
Thomas Jarosch [Wed, 13 Oct 2010 12:29:16 +0000]
Add example configuration for no-ip

13 years agoUse alternative server name ;)
Thomas Jarosch [Wed, 13 Oct 2010 12:09:29 +0000]
Use alternative server name ;)

13 years agoDYNDNS protocol from now on accepts alternative update server name.
Bjoern Sikora [Wed, 13 Oct 2010 11:55:16 +0000]
DYNDNS protocol from now on accepts alternative update server name.
Verions is loaded from version_info.h.

13 years agoAdd TODO entry about user-agent version string
Thomas Jarosch [Wed, 13 Oct 2010 11:45:19 +0000]
Add TODO entry about user-agent version string

13 years agoConfigurable version string in CMakeLists.txt
Thomas Jarosch [Wed, 13 Oct 2010 11:29:59 +0000]
Configurable version string in CMakeLists.txt

13 years agoFix typo in error message
Thomas Jarosch [Wed, 13 Oct 2010 10:02:03 +0000]
Fix typo in error message

13 years agoUpdate gitignore file to kdevelop v4
Thomas Jarosch [Tue, 12 Oct 2010 09:29:01 +0000]
Update gitignore file to kdevelop v4

13 years agoRemoved redundant code into separate member function.
Bjoern Sikora [Tue, 12 Oct 2010 08:51:05 +0000]
Removed redundant code into separate member function.

13 years agoAbort on unknown/misspelled configuration options
Thomas Jarosch [Tue, 12 Oct 2010 07:22:18 +0000]
Abort on unknown/misspelled configuration options

13 years agoImplement dialup mode
Thomas Jarosch [Mon, 11 Oct 2010 10:38:06 +0000]
Implement dialup mode

13 years agoMove exit_now variable to main() function
Thomas Jarosch [Mon, 11 Oct 2010 09:19:41 +0000]
Move exit_now variable to main() function

13 years agoImplemented command line parser for dialup mode
Thomas Jarosch [Mon, 11 Oct 2010 09:16:24 +0000]
Implemented command line parser for dialup mode

13 years agoMigrate to kdevelop v4
Thomas Jarosch [Mon, 11 Oct 2010 08:54:29 +0000]
Migrate to kdevelop v4

13 years agoSwitch version number to 1.0
Thomas Jarosch [Mon, 11 Oct 2010 08:52:12 +0000]
Switch version number to 1.0

13 years agoDocument new dialup mode
Thomas Jarosch [Mon, 11 Oct 2010 08:50:55 +0000]
Document new dialup mode

13 years agoRemove redundant function
Thomas Jarosch [Mon, 11 Oct 2010 08:40:46 +0000]
Remove redundant function

13 years agoFix config file regex
Thomas Jarosch [Mon, 11 Oct 2010 08:38:48 +0000]
Fix config file regex

13 years agoIncrease log level on SIGRTMAX. Reset it on SIGHUP
Thomas Jarosch [Fri, 8 Oct 2010 14:44:58 +0000]
Increase log level on SIGRTMAX. Reset it on SIGHUP

13 years agoLog message on startup
Thomas Jarosch [Thu, 7 Oct 2010 10:24:56 +0000]
Log message on startup

13 years agoDon't kill config and doc dir on uninstallation
Thomas Jarosch [Thu, 7 Oct 2010 09:45:10 +0000]
Don't kill config and doc dir on uninstallation

13 years agoDon't replace user modified config files on RPM upgrade
Thomas Jarosch [Thu, 7 Oct 2010 09:36:42 +0000]
Don't replace user modified config files on RPM upgrade

13 years agoMake sure get_last_updates() contains atleast one entry before calling .front()
Thomas Jarosch [Thu, 7 Oct 2010 09:11:52 +0000]
Make sure get_last_updates() contains atleast one entry before calling .front()

13 years agoLog determined WAN IP
Thomas Jarosch [Wed, 6 Oct 2010 15:53:31 +0000]
Log determined WAN IP

13 years agoLog once if we can't determine our IP. Also log if we are unable to look up the dyndn...
Thomas Jarosch [Wed, 6 Oct 2010 15:39:29 +0000]
Log once if we can't determine our IP. Also log if we are unable to look up the dyndns hostname

13 years agoLog if we don't update a service when switching from offline to online, otherwise...
Thomas Jarosch [Wed, 6 Oct 2010 15:06:42 +0000]
Log if we don't update a service when switching from offline to online, otherwise keep quiet

13 years agoRename signal handler functions to what they really are: Handle signals
Thomas Jarosch [Wed, 6 Oct 2010 14:33:32 +0000]
Rename signal handler functions to what they really are: Handle signals

13 years agoExpire old entries in LastUpdates of each service.
Bjoern Sikora [Wed, 6 Oct 2010 14:22:49 +0000]
Expire old entries in LastUpdates of each service.

13 years agoReally handle SIG_TERM outside the signal handler
Thomas Jarosch [Wed, 6 Oct 2010 14:05:29 +0000]
Really handle SIG_TERM outside the signal handler

13 years agoMove signal processing completly out of the signal handler (including logging)
Thomas Jarosch [Wed, 6 Oct 2010 14:02:56 +0000]
Move signal processing completly out of the signal handler (including logging)

13 years agoDo the SIGTERM cleanup outside the signal handler
Thomas Jarosch [Wed, 6 Oct 2010 13:54:28 +0000]
Do the SIGTERM cleanup outside the signal handler

13 years agoLog before exiting the application on config reload error
Thomas Jarosch [Wed, 6 Oct 2010 13:39:41 +0000]
Log before exiting the application on config reload error

13 years agoDon't reload config in the signal handler
Thomas Jarosch [Wed, 6 Oct 2010 13:34:17 +0000]
Don't reload config in the signal handler

13 years agoClarify comment
Thomas Jarosch [Wed, 6 Oct 2010 13:25:28 +0000]
Clarify comment

13 years agoRemove almost redundant update code
Thomas Jarosch [Wed, 6 Oct 2010 13:22:49 +0000]
Remove almost redundant update code

13 years agoSave one more indent/if level
Thomas Jarosch [Wed, 6 Oct 2010 13:00:19 +0000]
Save one more indent/if level

13 years agoSave one more indent/if level
Thomas Jarosch [Wed, 6 Oct 2010 12:51:18 +0000]
Save one more indent/if level

13 years agoSafe one indent level by reversing empty IP logic
Thomas Jarosch [Wed, 6 Oct 2010 12:45:57 +0000]
Safe one indent level by reversing empty IP logic

13 years agoVariables modified inside signal handlers should be volatile
Thomas Jarosch [Wed, 6 Oct 2010 12:36:26 +0000]
Variables modified inside signal handlers should be volatile

13 years agoSkip interfaces without IP addresses
Thomas Jarosch [Wed, 6 Oct 2010 12:01:01 +0000]
Skip interfaces without IP addresses

13 years agoDon't depend on the boost meta package as this would require all boost packages to...
Thomas Jarosch [Thu, 23 Sep 2010 13:57:06 +0000]
Don't depend on the boost meta package as this would require all boost packages to be installed

13 years agoAdapt to boost 1.44.0
Thomas Jarosch [Fri, 17 Sep 2010 14:52:19 +0000]
Adapt to boost 1.44.0

13 years agoAdded file from the ignore list.
Bjoern Sikora [Fri, 17 Sep 2010 14:40:07 +0000]
Added file from the ignore list.

13 years agoRemoved double quote from external log message, escape_shellarg already appends semic...
Bjoern Sikora [Fri, 25 Jun 2010 09:34:45 +0000]
Removed double quote from external log message, escape_shellarg already appends semicolons.

13 years agoEscaped argument for external warning log.
Bjoern Sikora [Fri, 25 Jun 2010 09:27:49 +0000]
Escaped argument for external warning log.