diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-07-05 16:00:09 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-07-05 16:00:37 -0500 |
commit | 64746cf64046b0a9e42b2223677704d8cce9c16b (patch) | |
tree | 5c79f9a8eb7ffd9854edc453efa5f0fb11f614f2 /etc/inc/dyndns.class | |
parent | 3fe260c2c0bb79158e372ff5b97b4827d0d87799 (diff) | |
download | pfsense-64746cf64046b0a9e42b2223677704d8cce9c16b.zip pfsense-64746cf64046b0a9e42b2223677704d8cce9c16b.tar.gz |
use HTTPS for dyndns providers that support it
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r-- | etc/inc/dyndns.class | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index 5a8b271..73f55ad 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -327,7 +327,7 @@ case 'noip-free': $needsIP = TRUE; curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); - $server = "http://dynupdate.no-ip.com/ducupdate.php"; + $server = "https://dynupdate.no-ip.com/ducupdate.php"; $port = ""; if($this->_dnsServer) $server = $this->_dnsServer; @@ -349,7 +349,7 @@ $needsIP = TRUE; curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); - $server = "http://members.easydns.com/dyn/dyndns.php"; + $server = "https://members.easydns.com/dyn/dyndns.php"; $port = ""; if($this->_dnsServer) $server = $this->_dnsServer; @@ -385,7 +385,7 @@ break; case 'dyns': $needsIP = FALSE; - $server = "http://www.dyns.cx/postscript011.php"; + $server = "https://www.dyns.cx/postscript011.php"; $port = ""; if($this->_dnsServer) $server = $this->_dnsServer; @@ -433,11 +433,11 @@ break; case 'freedns': $needIP = FALSE; - curl_setopt($ch, CURLOPT_URL, 'http://freedns.afraid.org/dynamic/update.php?' . $this->_dnsPass); + curl_setopt($ch, CURLOPT_URL, 'https://freedns.afraid.org/dynamic/update.php?' . $this->_dnsPass); break; case 'dnsexit': $needsIP = TRUE; - curl_setopt($ch, CURLOPT_URL, 'http://www.dnsexit.com/RemoteUpdate.sv?login='.$this->_dnsUser. '&password='.$this->_dnsPass.'&host='.$this->_dnsHost.'&myip='.$this->_dnsIP); + curl_setopt($ch, CURLOPT_URL, 'https://www.dnsexit.com/RemoteUpdate.sv?login='.$this->_dnsUser. '&password='.$this->_dnsPass.'&host='.$this->_dnsHost.'&myip='.$this->_dnsIP); break; case 'loopia': $needsIP = TRUE; @@ -461,7 +461,7 @@ case 'staticcling': $needsIP = FALSE; - curl_setopt($ch, CURLOPT_URL, 'http://www.staticcling.org/update.html?login='.$this->_dnsUser.'&pass='.$this->_dnsPass); + curl_setopt($ch, CURLOPT_URL, 'https://www.staticcling.org/update.html?login='.$this->_dnsUser.'&pass='.$this->_dnsPass); break; case 'dnsomatic': /* Example syntax |