ddns-scripts: "now-dns.com" service fix 6039/head
authorEmil Muratov <gpm@hotplug.ru>
Fri, 11 May 2018 14:46:40 +0000 (17:46 +0300)
committerEmil Muratov <gpm@hotplug.ru>
Fri, 11 May 2018 15:35:49 +0000 (18:35 +0300)
 - Add valid responses "good|nochg" so that ddns-script could recognize "badauth"
   error that comes with http 200 code
 - Switch url to https scheme. "now-dns.com" always returns 302 redirect
   to https:// for all plain-text http requests. Since working via default
   plain-text http is not possible anyway, forcing url to https prevents
   curl sending unencrypted plain-text credentials via basic auth

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
net/ddns-scripts/Makefile
net/ddns-scripts/files/services
net/ddns-scripts/files/services_ipv6

index f8c63dec8b398aa57ab10932ada86749a23ffdfd..792a2ea92dbcb8e0f61a30d20e3c25048f643cfe 100755 (executable)
@@ -12,7 +12,7 @@ PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.7.7
 # Release == build
 # increase on changes of services files or tld_names.dat
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_LICENSE:=GPL-2.0
 PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
index 6847092c15d762bd9c65b8d94e226e4481cf2394..58d0cc160da8cf0bf96721b4694adc551396b910 100644 (file)
 
 "no-ip.pl"             "http://[USERNAME]:[PASSWORD]@update.no-ip.pl/?hostname=[DOMAIN]"
 
-"now-dns.com"          "http://[USERNAME]:[PASSWORD]@now-dns.com/update?hostname=[DOMAIN]"
+"now-dns.com"          "https://[USERNAME]:[PASSWORD]@now-dns.com/update?hostname=[DOMAIN]"    "good|nochg"
 
 "nsupdate.info"                "http://[USERNAME]:[PASSWORD]@ipv4.nsupdate.info/nic/update?hostname=[DOMAIN]&myip=[IP]"        "good|nochg"
 
index 409aea376bae9073cc2b0565316a61a836985345..b108d3f21f1345f4ad698c27589be0cb23d68477 100644 (file)
@@ -86,7 +86,7 @@
 
 "no-ip.pl"             "http://[USERNAME]:[PASSWORD]@update.no-ip.pl/?hostname=[DOMAIN]"
 
-"now-dns.com"          "http://[USERNAME]:[PASSWORD]@now-dns.com/update?hostname=[DOMAIN]"
+"now-dns.com"          "https://[USERNAME]:[PASSWORD]@now-dns.com/update?hostname=[DOMAIN]"    "good|nochg"
 
 "nsupdate.info"                "http://[USERNAME]:[PASSWORD]@ipv6.nsupdate.info/nic/update?hostname=[DOMAIN]&myip=[IP]"        "good|nochg"