16 |
$OUT .= ", fwv4-skip='$fwskip' " if ( $fwskip ne '' ); |
$OUT .= ", fwv4-skip='$fwskip' " if ( $fwskip ne '' ); |
17 |
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm |
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm |
18 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-11-10 16:11:05.915271983 +0000 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-11-10 16:11:05.915271983 +0000 |
19 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-12-13 16:00:00.000000000 +0000 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-12-14 10:17:00.000000000 +0000 |
20 |
@@ -114,90 +114,164 @@ |
@@ -114,90 +114,164 @@ |
21 |
|
|
22 |
my %ddc_datas = (); |
my %ddc_datas = (); |
93 |
+ # Web Services from which it can get ip address |
+ # Web Services from which it can get ip address |
94 |
+ # |
+ # |
95 |
+ my $webservices = ( [ |
+ my $webservices = ( [ |
96 |
+ [ 'dyndnshttp://checkip.dyndns.org/' => 'dyndns' ], |
+ [ 'dyndns-http://checkip.dyndns.org/' => 'dyndns' ], |
97 |
+ [ 'freednshttps://freedns.afraid.org/dynamic/check.php' => 'freedns' ], |
+ [ 'freedns-https://freedns.afraid.org/dynamic/check.php' => 'freedns' ], |
98 |
+ [ 'googledomainshttps://domains.google.com/checkip' => 'googledomains' ], |
+ [ 'googledomains-https://domains.google.com/checkip' => 'googledomains' ], |
99 |
+ [ 'hehttps://checkip.dns.he.net/' => 'he' ], |
+ [ 'he-https://checkip.dns.he.net/' => 'he' ], |
100 |
+ [ 'ip4only.mehttps://ip4only.me/api/' => 'ip4only.me' ], |
+ [ 'ip4only.me-https://ip4only.me/api/' => 'ip4only.me' ], |
101 |
+ [ 'ip6only.mehttps://ip6only.me/api/' => 'ip6only.me' ], |
+ [ 'ip6only.me-https://ip6only.me/api/' => 'ip6only.me' ], |
102 |
+ [ 'ipify-ipv4https://api.ipify.org/' => 'ipify-ipv4' ], |
+ [ 'ipify-ipv4-https://api.ipify.org/' => 'ipify-ipv4' ], |
103 |
+ [ 'ipify-ipv6https://api6.ipify.org/' => 'ipify-ipv6' ], |
+ [ 'ipify-ipv6-https://api6.ipify.org/' => 'ipify-ipv6' ], |
104 |
+ [ 'loopiahttps://dns.loopia.se/checkip/checkip.php' => 'loopia' ], |
+ [ 'loopia:-https://dns.loopia.se/checkip/checkip.php' => 'loopia' ], |
105 |
+ [ 'myonlineportalhttps://myonlineportal.net/checkip' => 'myonlineportal' ], |
+ [ 'myonlineportal-https://myonlineportal.net/checkip' => 'myonlineportal' ], |
106 |
+ [ 'noip-ipv4http://ip1.dynupdate.no-ip.com/' => 'noip-ipv4' ], |
+ [ 'noip-ipv4-http://ip1.dynupdate.no-ip.com/' => 'noip-ipv4' ], |
107 |
+ [ 'noip-ipv6http://ip1.dynupdate6.no-ip.com/' => 'noip-ipv6' ], |
+ [ 'noip-ipv6-http://ip1.dynupdate6.no-ip.com/' => 'noip-ipv6' ], |
108 |
+ [ 'nsupdate.info-ipv4https://ipv4.nsupdate.info/myip' => 'nsupdate.info-ipv4' ], |
+ [ 'nsupdate.info-ipv4-https://ipv4.nsupdate.info/myip' => 'nsupdate.info-ipv4' ], |
109 |
+ [ 'nsupdate.info-ipv6https://ipv6.nsupdate.info/myip' => 'nsupdate.info-ipv6' ], |
+ [ 'nsupdate.info-ipv6-https://ipv6.nsupdate.info/myip' => 'nsupdate.info-ipv6' ], |
110 |
+ [ 'zoneedithttps://dynamic.zoneedit.com/checkip.html' => 'zoneedit' ] |
+ [ 'zoneedit-https://dynamic.zoneedit.com/checkip.html' => 'zoneedit' ] |
111 |
+ ] ); |
+ ] ); |
112 |
+ return $webservices |
+ return $webservices |
113 |
+ |
+ |
744 |
</span><span class=data> |
</span><span class=data> |
745 |
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep |
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep |
746 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-11-10 16:11:05.902271946 +0000 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-11-10 16:11:05.902271946 +0000 |
747 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-12-04 10:53:00.000000000 +0000 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-12-14 09:58:00.000000000 +0000 |
748 |
@@ -1,4 +1,9 @@ |
@@ -1,4 +1,9 @@ |
749 |
<div id='paramlist'> |
<div id='paramlist'> |
750 |
+ <script> |
+ <script> |
863 |
+ %=l 'Web service' |
+ %=l 'Web service' |
864 |
+ </span><span class=data> |
+ </span><span class=data> |
865 |
+ % param retrievewebservice=>$ddc_datas->{"params"}->{"urlcheckip"} unless param 'retrievewebservice'; |
+ % param retrievewebservice=>$ddc_datas->{"params"}->{"urlcheckip"} unless param 'retrievewebservice'; |
866 |
+ %=select_field retrievewebservice=>$dnslabels |
+ %=select_field retrievewebservice=>$webservices |
867 |
+ </span><br /> |
+ </span><br /> |
868 |
+ </div> |
+ </div> |
869 |
+ |
+ |