DDNS: Use HTTPS for all-inkl.com.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Aug 2013 11:36:19 +0000 (13:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Aug 2013 11:36:19 +0000 (13:36 +0200)
src/scripts/setddns.pl

index 0833b49c0d4989399e798d68cea0335a1e36dfc5..f943ac83e0dae25e89d8db161e45e6fbf4807725 100644 (file)
@@ -158,7 +158,7 @@ if ($ip ne $ipcache) {
                                Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} );
                            }
 
-                           my ($out, $response) = Net::SSLeay::get_http("dyndns.kasserver.com", 80, "/", Net::SSLeay::make_headers(
+                           my ($out, $response) = Net::SSLeay::get_https("dyndns.kasserver.com", 443, "/", Net::SSLeay::make_headers(
                                        'User-Agent' => 'IPFire', 'Authorization' => 'Basic ' . encode_base64("$settings{'LOGIN'}:$settings{'PASSWORD'}")
                            ));