This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 38b6ec334229a4702b7adb08b025df5db172dde0 (commit) from 0f27d5de70bef384acb3ca289ca1de7a555e037b (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 38b6ec334229a4702b7adb08b025df5db172dde0 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Wed Feb 9 10:48:42 2011 +0100
Remove mydyn.de from ddns services.
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/ddns.cgi | 4 +--- src/scripts/setddns.pl | 27 --------------------------- 2 files changed, 1 insertions(+), 30 deletions(-)
Difference in files: diff --git a/html/cgi-bin/ddns.cgi b/html/cgi-bin/ddns.cgi index 2912b44..f7ae568 100644 --- a/html/cgi-bin/ddns.cgi +++ b/html/cgi-bin/ddns.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2011 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2011 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -243,7 +243,6 @@ $checked{'SERVICE'}{'easydns.com'} = ''; $checked{'SERVICE'}{'enom.com'} = ''; $checked{'SERVICE'}{'freedns.afraid.org'} = ''; $checked{'SERVICE'}{'hn.org'} = ''; -$checked{'SERVICE'}{'mydyn.de'} = ''; $checked{'SERVICE'}{'no-ip.com'} = ''; $checked{'SERVICE'}{'nsupdate'} = ''; $checked{'SERVICE'}{'ovh.com'} = ''; @@ -337,7 +336,6 @@ print <<END <option $checked{'SERVICE'}{'enom.com'}>enom.com</option> <option $checked{'SERVICE'}{'freedns.afraid.org'}>freedns.afraid.org</option> <option $checked{'SERVICE'}{'hn.org'}>hn.org</option> - <option $checked{'SERVICE'}{'mydyn.de'}>mydyn.de</option> <option $checked{'SERVICE'}{'no-ip.com'}>no-ip.com</option> <option $checked{'SERVICE'}{'nsupdate'}>nsupdate</option> <option $checked{'SERVICE'}{'ovh.com'}>ovh.com</option> diff --git a/src/scripts/setddns.pl b/src/scripts/setddns.pl index a715904..2c7c947 100644 --- a/src/scripts/setddns.pl +++ b/src/scripts/setddns.pl @@ -174,33 +174,6 @@ if ($ip ne $ipcache) { &General::log("Dynamic DNS ip-update for cjb.net ($settings{'LOGIN'}) : failure (could not connect to server)"); } } - elsif ($settings{'SERVICE'} eq 'mydyn') { - # use proxy ? - my %proxysettings; - &General::readhash("${General::swroot}/proxy/settings", %proxysettings); - if ($_=$proxysettings{'UPSTREAM_PROXY'}) { - my ($peer, $peerport) = (/^(?:[a-zA-Z ]+://)?(?:[A-Za-z0-9_.-]*?(?::[A-Za-z0-9_.-]*?)?@)?([a-zA-Z0-9._-]*?)(?::([0-9]{1,5}))?(?:/.*?)?$/); - Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} ); - } - - my ($out, $response) = Net::SSLeay::get_http( 'www.mydyn.de', - 80, - "/cgi-bin/update.pl?$settings{'LOGIN'}-$settings{'PASSWORD'}", - Net::SSLeay::make_headers('User-Agent' => 'IPFire' ) - ); - - if ($response =~ m%HTTP/1.. 200 OK%) { - if ( $out !~ m/The IP address of the subdomain/ ) { - &General::log("Dynamic DNS ip-update for mydyn.de ($settings{'LOGIN'}) : failure (bad password or login)"); - } else { - &General::log("Dynamic DNS ip-update for mydyn.de ($settings{'LOGIN'}) : success"); - $success++; - } - } else { - &General::log("Dynamic DNS ip-update for mydyn.de ($settings{'LOGIN'}) : failure (could not connect to server)"); - } - - } elsif ($settings{'SERVICE'} eq 'selfhost') { # use proxy ? my %proxysettings;
hooks/post-receive -- IPFire 2.x development tree