Thomas Jarosch [Sat, 23 May 2020 10:35:30 +0000]
Fix 'occurred' typo
Thomas Jarosch [Fri, 8 Sep 2017 12:21:16 +0000]
Explicitly link pthread, needed by new binutils
Gerd von Egidy [Tue, 26 May 2015 09:06:32 +0000]
release v1.1
Gerd von Egidy [Mon, 25 May 2015 17:40:55 +0000]
don't log passwords by default, but make password logging optional
Gerd von Egidy [Mon, 25 May 2015 17:16:11 +0000]
add new protocol variation "gnudip-fullhostname", used by provider dynu.com
Gerd von Egidy [Mon, 25 May 2015 17:15:39 +0000]
fix compile with newer boost version
Bjoern Sikora [Thu, 16 Oct 2014 11:08:44 +0000]
Added updated IP into update successful log message.
Gerd von Egidy [Thu, 12 Jun 2014 15:38:05 +0000]
correctly parse responses from changeip.com (dyndns protocol)
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.
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.
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.
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.
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.
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.
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
Thomas Jarosch [Tue, 1 Feb 2011 11:01:28 +0000]
Log burnt IP only once
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)
Thomas Jarosch [Mon, 31 Jan 2011 14:27:22 +0000]
Use enum for perform_update() return code. Made function protected
Thomas Jarosch [Mon, 31 Jan 2011 13:57:36 +0000]
Add new feature wish
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.
Bjoern Sikora [Mon, 31 Jan 2011 12:45:44 +0000]
Fixed burnt IP detection issue. Moved burnt IP detection into update_allowed().
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)
Thomas Jarosch [Mon, 31 Jan 2011 10:56:58 +0000]
No need for manual copy. Implemented exception safe copy
Thomas Jarosch [Mon, 31 Jan 2011 10:56:13 +0000]
Cosmetic/documentation changes only
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.
Bjoern Sikora [Fri, 28 Jan 2011 17:06:03 +0000]
Fixed unused variable.
Fixed missing iterator initialization.
Fixed get_last_update_time().
Bjoern Sikora [Fri, 28 Jan 2011 16:49:48 +0000]
Fixed spelling.
Bjoern Sikora [Fri, 28 Jan 2011 16:45:35 +0000]
Fixed undefined var ;-).
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.
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.
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.
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.
Thomas Jarosch [Wed, 8 Dec 2010 14:42:52 +0000]
Added possibility to override automatic WAN IP detection
Bjoern Sikora [Fri, 19 Nov 2010 16:40:33 +0000]
Changed the comparing "good" update string to satisfy staticip, too.
Thomas Jarosch [Mon, 8 Nov 2010 15:29:22 +0000]
Fix md5 to hex conversion: Output a leading zero for values smaller than ten
Thomas Jarosch [Wed, 20 Oct 2010 12:21:35 +0000]
Add note about TTL
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
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)
Thomas Jarosch [Mon, 18 Oct 2010 09:47:33 +0000]
Add TODO entry about nochg response
Thomas Jarosch [Mon, 18 Oct 2010 09:40:00 +0000]
Save one indent level in ServiceDyndns::perform_update()
Thomas Jarosch [Mon, 18 Oct 2010 09:31:34 +0000]
Fix HTTP request output parsing: Don't read past the curl buffer end
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
Thomas Jarosch [Thu, 14 Oct 2010 13:57:25 +0000]
And even one more TODO entry
Thomas Jarosch [Thu, 14 Oct 2010 13:48:23 +0000]
Fix another user-agent pointer bug. Fix user-agent string
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
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 :)
Thomas Jarosch [Thu, 14 Oct 2010 12:48:42 +0000]
Add CA certificate handling to TODO
Thomas Jarosch [Thu, 14 Oct 2010 10:37:25 +0000]
One more TODO entry
Thomas Jarosch [Thu, 14 Oct 2010 10:30:05 +0000]
One more idea to do
Thomas Jarosch [Thu, 14 Oct 2010 10:18:50 +0000]
Update TODO list
Thomas Jarosch [Thu, 14 Oct 2010 09:56:54 +0000]
Block service for a short period of time on too many update errors
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)
Thomas Jarosch [Thu, 14 Oct 2010 08:53:49 +0000]
Skip webcheck idle period check if we just went online. Improve webcheck logging
Thomas Jarosch [Thu, 14 Oct 2010 08:27:34 +0000]
Make note about curl HTTP headers
Bjoern Sikora [Wed, 13 Oct 2010 13:18:59 +0000]
Added a TODO: Failure handling.
Thomas Jarosch [Wed, 13 Oct 2010 12:59:55 +0000]
Add HTTP proxy auth to TODO list
Thomas Jarosch [Wed, 13 Oct 2010 12:29:16 +0000]
Add example configuration for no-ip
Thomas Jarosch [Wed, 13 Oct 2010 12:09:29 +0000]
Use alternative 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.
Thomas Jarosch [Wed, 13 Oct 2010 11:45:19 +0000]
Add TODO entry about user-agent version string
Thomas Jarosch [Wed, 13 Oct 2010 11:29:59 +0000]
Configurable version string in CMakeLists.txt
Thomas Jarosch [Wed, 13 Oct 2010 10:02:03 +0000]
Fix typo in error message
Thomas Jarosch [Tue, 12 Oct 2010 09:29:01 +0000]
Update gitignore file to kdevelop v4
Bjoern Sikora [Tue, 12 Oct 2010 08:51:05 +0000]
Removed redundant code into separate member function.
Thomas Jarosch [Tue, 12 Oct 2010 07:22:18 +0000]
Abort on unknown/misspelled configuration options
Thomas Jarosch [Mon, 11 Oct 2010 10:38:06 +0000]
Implement dialup mode
Thomas Jarosch [Mon, 11 Oct 2010 09:19:41 +0000]
Move exit_now variable to main() function
Thomas Jarosch [Mon, 11 Oct 2010 09:16:24 +0000]
Implemented command line parser for dialup mode
Thomas Jarosch [Mon, 11 Oct 2010 08:54:29 +0000]
Migrate to kdevelop v4
Thomas Jarosch [Mon, 11 Oct 2010 08:52:12 +0000]
Switch version number to 1.0
Thomas Jarosch [Mon, 11 Oct 2010 08:50:55 +0000]
Document new dialup mode
Thomas Jarosch [Mon, 11 Oct 2010 08:40:46 +0000]
Remove redundant function
Thomas Jarosch [Mon, 11 Oct 2010 08:38:48 +0000]
Fix config file regex
Thomas Jarosch [Fri, 8 Oct 2010 14:44:58 +0000]
Increase log level on SIGRTMAX. Reset it on SIGHUP
Thomas Jarosch [Thu, 7 Oct 2010 10:24:56 +0000]
Log message on startup
Thomas Jarosch [Thu, 7 Oct 2010 09:45:10 +0000]
Don't kill config and doc dir on uninstallation
Thomas Jarosch [Thu, 7 Oct 2010 09:36:42 +0000]
Don't replace user modified config files on RPM upgrade
Thomas Jarosch [Thu, 7 Oct 2010 09:11:52 +0000]
Make sure get_last_updates() contains atleast one entry before calling .front()
Thomas Jarosch [Wed, 6 Oct 2010 15:53:31 +0000]
Log determined WAN IP
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
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
Thomas Jarosch [Wed, 6 Oct 2010 14:33:32 +0000]
Rename signal handler functions to what they really are: Handle signals
Bjoern Sikora [Wed, 6 Oct 2010 14:22:49 +0000]
Expire old entries in LastUpdates of each service.
Thomas Jarosch [Wed, 6 Oct 2010 14:05:29 +0000]
Really handle SIG_TERM outside the signal handler
Thomas Jarosch [Wed, 6 Oct 2010 14:02:56 +0000]
Move signal processing completly out of the signal handler (including logging)
Thomas Jarosch [Wed, 6 Oct 2010 13:54:28 +0000]
Do the SIGTERM cleanup outside the signal handler
Thomas Jarosch [Wed, 6 Oct 2010 13:39:41 +0000]
Log before exiting the application on config reload error
Thomas Jarosch [Wed, 6 Oct 2010 13:34:17 +0000]
Don't reload config in the signal handler
Thomas Jarosch [Wed, 6 Oct 2010 13:25:28 +0000]
Clarify comment
Thomas Jarosch [Wed, 6 Oct 2010 13:22:49 +0000]
Remove almost redundant update code
Thomas Jarosch [Wed, 6 Oct 2010 13:00:19 +0000]
Save one more indent/if level
Thomas Jarosch [Wed, 6 Oct 2010 12:51:18 +0000]
Save one more indent/if level
Thomas Jarosch [Wed, 6 Oct 2010 12:45:57 +0000]
Safe one indent level by reversing empty IP logic
Thomas Jarosch [Wed, 6 Oct 2010 12:36:26 +0000]
Variables modified inside signal handlers should be volatile
Thomas Jarosch [Wed, 6 Oct 2010 12:01:01 +0000]
Skip interfaces without IP addresses
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
Thomas Jarosch [Fri, 17 Sep 2010 14:52:19 +0000]
Adapt to boost 1.44.0
Bjoern Sikora [Fri, 17 Sep 2010 14:40:07 +0000]
Added file from the ignore list.
Bjoern Sikora [Fri, 25 Jun 2010 09:34:45 +0000]
Removed double quote from external log message, escape_shellarg already appends semicolons.
Bjoern Sikora [Fri, 25 Jun 2010 09:27:49 +0000]
Escaped argument for external warning log.