aboutsummaryrefslogtreecommitdiff
path: root/net/ddns-scripts
Commit message (Collapse)AuthorAge
...
* ddns-scripts: update install for service provider json filesFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: convert ddns service provider files into jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: load ddsn service provider parameter from jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: cloudflare.com-v4: Simplify Bearer Token supportNorman Gehrsitz2020-08-18
| | | | Signed-off-by: Norman Gehrsitz <gehrsitz.norman@student.dhbw-kahlsruhe.de>
* ddns-scripts: Add moniker.com DDNS serviceMateusz Stępień2020-08-16
| | | | Signed-off-by: Mateusz Stępień <mateusz@argc.pl>
* treewide: replace `which` with `command -v`Paul Spooren2020-08-09
| | | | | | | | | | Fix shellcheck SC2230 > which is non-standard. Use builtin 'command -v' instead. Once applied to everything concerning OpenWrt we can disable the busybox feature `which` and save 3.8kB. Signed-off-by: Paul Spooren <mail@aparcar.org>
* ddns-scripts: Added api token method for cloudflare ddns script v4Frank Zhang2020-06-21
| | | | | | Update cloudflare token ddns file Signed-off-by: Frank Zhang <i@xjboss.net>
* ddns-scripts: Add digitalocean as DDNS providerJeroen Peelaerts2020-05-03
| | | | Signed-off-by: Jeroen Peelaerts <jeroen.peelaerts@gmail.com>
* ddns-scripts: cloudflare.com-v4: Fix grep patterns.Zheng Luo2020-04-29
| | | | | | | | Related commit: 0080bb4b Use `\s*` instead of ` \?` to match 0 or multiple spaces. Signed-off-by: Zheng Luo <cherrotluo@gmail.com>
* ddns-scripts: cloudflare.com-v4: Fix success check for new response formatMichael Gray2020-04-25
| | | | | | JSON response now has spaces between parameters. Accept this new format and the old one. Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
* ddns-scripts: Append ddns script for cnkuai.cnChip Lee2020-03-21
| | | | | | A low-cost domain name service provider in China Signed-off-by: Chip Lee <chplee@gmail.com>
* ddns-scripts: bump package versionRosen Penev2020-02-28
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: fix logging bugRosen Penev2020-02-28
| | | | | | | Fixes issue #11282, this patch was provided by PaulFertser on the #openwrt IRC. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Revert "ddns-scripts: Fixed HE (hurricane electric) to tunnelbroker.net"Rosen Penev2020-01-30
| | | | | | | | This reverts commit 3dbdd67cf93e5f2c271e7663b35353f8c8102757. This is totally wrong. tunnelbroker.net is completely different. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Revert "ddns-scripts: fix cloudflare.com-v4"Rosen Penev2020-01-30
| | | | | | This reverts commit 67e2efb301f9e6ac9ee471d2457f08feda7fab38. This is totally wrong. The actual bug is in the luci app.
* ddns-scripts: use HTTP for IPv6 dyndns URLRosen Penev2020-01-27
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: remove HTTPS from dyndns URLRosen Penev2020-01-27
| | | | | | | | HTTPS support is not provided by default. Also fixed a mistakenly added ]. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: use new DDNS URL for dyndns.orgRosen Penev2020-01-27
| | | | | | https://github.com/openwrt/packages/issues/8360 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: update ddnss.de responseRosen Penev2020-01-27
| | | | | | https://github.com/openwrt/packages/issues/8013 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: fix cloudflare.com-v4Rosen Penev2020-01-27
| | | | | | https://github.com/openwrt/packages/issues/11042 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: Fixed HE (hurricane electric) to tunnelbroker.netEuler Alves2020-01-27
| | | | | | | | Hurricane Electric provides a free IPv6inIPv4 tunnel. It changed its ipv4 ddns service, fully needed to keep the ipv6 tunnel up, to the domain tunnelbroker.net. Besides, the old he.net script was bugged because it doesn't had a [USERNAME] placement but instead two [DOMAIN]. The new tunnelbroker.net update URL, still provided by Hurricane Electric, is https://[USERNAME]:[PASSWORD]@ipv4.tunnelbroker.net/nic/update?hostname=[DOMAIN]&myip=[IP] and it gets the response good or nochg Signed-off-by: Euler Alves <euler@alves.pro.br> (fixed-signed-off-by and prefixed) Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: Incremented PKG_RELEASE: fix in files/servicesEuler Alves2020-01-27
| | | | | | | | PKG_RELEASE was incremented to 15 because of a fix in files/services Signed-off-by: Euler Alves <euler@alves.pro.br> (fixed-signed-off-by and prefixed) Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ddns-scripts: Change protocols of afraid.org urls to HTTPS.Kwonjin Jeong2019-12-01
| | | | | | | - Use HTTPS protocol for updating urls for afraid.org to protect the password. - Bump/align package version number. Signed-off-by: Kwonjin Jeong <gram25gwh@gmail.com>
* treewide: update wiki linksLeong Hui Wong2019-11-29
| | | | Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
* ddns-scripts: Use https for domains.google.comPaul Tobias2019-09-12
| | | | | | | | | | | | | | | | | | | | | Without https the update fails with: ``` 132954 : #> /usr/bin/curl -RsS -o /var/run/ddns/myddns_ipv4.dat --stderr /var/run/ddns/myddns_ipv4.err --noproxy '*' 'http://CENSORED:***PW***@domains.google.com/nic/update?hostname=CENSORED&myip=CENSORED' 132954 : DDNS Provider answered: <HTML> <HEAD> <TITLE>Moved Temporarily</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Moved Temporarily</H1> The document has moved <A HREF="https://domains.google.com/nic/update?hostname=CENSORED&amp;myip=CENSORED">here</A>. </BODY> </HTML> 132954 ERROR : IP update not accepted by DDNS Provider ``` Signed-off-by: Paul Tobias <tobias.pal@gmail.com>
* ddns-scripts: various fixesDirk Brenken2019-07-03
| | | | | | | | | | | * use '$ddns_rundir' in 'get_service_data' for pipe creation, fix #8971 * add missing local variables in 'get_service_data' * change DNS server verification with drill in 'verify_host_port', fix/supersed #8935 * remove needless cat calls in 'verify_host_port' * set cloudfare TTL to min. 120 seconds, fix #7745 * bump/align package version number Signed-off-by: Dirk Brenken <dev@brenken.org>
* ddns-scripts: modify deSEC update urlJames Qian2019-06-26
| | | | | | | the latest update url format for deSEC is http(s)://update.dedyn.io/update?username=[USERNAME]&password=[PWD] Signed-off-by: James Qian <sotux82@gmail.com>
* ddns-scripts: Add INWX serviceFlorian Keller2019-06-05
| | | | Signed-off-by: Florian Keller <github@floriankeller.de>
* ddns-scripts: Bumped PKG_RELEASEKeve Mueller2019-04-11
| | | | Signed-off-by: Keve Mueller <keve@keve.hu>
* ddns-scripts: Working example to use local_script to derive a SLAAC IPv6 addressKeve Mueller2019-04-11
| | | | Signed-off-by: Keve Mueller <keve@keve.hu>
* ddns-scripts: add hsts-file parameter to wget callJan Pavlinec2019-03-25
| | | | | | | Note: this should prevent wget to writing to /root/.wget-hsts which can lead to flash memory degradation. Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* ddns-scripts: submit one change at a time to route53Martin Konrad2018-11-23
| | | | | | | This prevents updates from failing if multiple instances of the script are running in parallel. This fixes #7492. Signed-off-by: Martin Konrad <info@martin-konrad.net>
* ddns-scripts: multiple fixesDirk Brenken2018-09-28
| | | | | | | | | | | | | * replace shell based urlencoder with an awk variant * fix write_log function/syslog output in case of an error * protect answer string with double quotes in update_route53 * remove bogus set/IFS options in update_route53 * clean-up update_route53 a little bit This patchset finally fix #6977 Many thanks to @mark0n & @a-bali for testing & debugging Signed-off-by: Dirk Brenken <dev@brenken.org>
* ddns-scripts: Respect config option 'ip_source'Jacek Politowski2018-08-27
| | | | | | | | | | | | | | | Option 'ip_source' was silently ignored during public IP discovery. Discovery (in spite of chosen 'ip_source') was based only on 'ip_network', 'ip_interface', 'ip_script' or 'ip_url' options (in this order) if they were set. This could lead to misleading log entries "Detect local IP on '$ip_source'" pointing to source that wasn't really used. Now only option relevant to configured 'ip_source' is taken into account. Signed-off-by: Jacek Politowski <dev@jpol.net.pl>
* ddns-scripts: revert latest noglob/subshell changesDirk Brenken2018-08-26
| | | | | | | * partly revert 9e79e1b to fix #6861 * simplify CURL_SSL detection * bump package version in Makefile & script library Signed-off-by: Dirk Brenken <dev@brenken.org>
* Merge pull request #6747 from mark0n/fix-curl-variableDirk Brenken2018-08-20
|\ | | | | ddns-scripts: Fix problems detecting if curl is SSL capable
| * ddns-scripts_route53-v1: Fix problems detecting curlMartin Konrad2018-08-20
| | | | | | | | | | | | | | Ensure cURL is installed and has SSL support. This fixes issue 6744. Signed-off-by: Martin Konrad <info@martin-konrad.net>
* | Merge pull request #6562 from KarlVogel/host_sanitizeJo-Philipp Wich2018-08-16
|\ \ | |/ |/| ddns-scripts: sanitize host charset and shell escape characters
| * ddns-scripts: sanitize host charset and shell escape charactersKarl Vogel2018-07-25
| | | | | | | | | | | | | | | | | | | | | | Since certain characters are dangerous to pass as-is to a sub shell, sanitize the character set and only allow characters that are considered valid for DNS hosts and filter shell escape characters on generic parameters. Disable pathname expansion on RUNPROG evals to disable the shell expanding *, ? and [ in the arguments. Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
* | ddns-scripts: bump to version 2.7.8-1Christian Schoenebeck2018-08-01
|/ | | | | | | | | | - remove Cloudflare v1 protocol support #6084 #6519 - fix goip.de update url #6448 #6519 - change Cloudflare v4 to read "Proxied" from current setting at Cloudflare Dashboard #5097 #6364 #6505 - fix replace of password inside logfile #6568 - remove myself as PKG_MAINTAINER Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: New ddns script for polish service FreeDNS.42.plMichal Lipka2018-06-09
| | | | | | | | | new ddns script for polish service FreeDNS.42.pl where you can host your own domains for free Signed-off-by: Michal Lipka <michal@sysadmin.care> (commits from PR #6150 squashed together)
* ddns-scripts: fix unefficent sh scriptAnsuel Smith2018-06-02
| | | | | | Currently this 3 variable are used only 1 time in the sh script and cause 10s of delay for them to load... move them to load only if it's required by the command. This also fix luci-app-ddns delay problem derived by calling dns_lucihelper (that use tdns_functions to load data) for the version. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ddns-scripts: "now-dns.com" service fixEmil Muratov2018-05-11
| | | | | | | | | | | - 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>
* ddns-scripts: fixes "sed: no previous regexp"Christian Schoenebeck2018-04-21
| | | | | | | | | | | | | | | | | | Rewritten Pull for #5885 When ran from the command line, the script prints error messages like below. They are caused by supplying empty "$password" and "$URL_PASS" for some log messages like "130822 : Detect local IP on 'interface'". The fix is to check if the values are not empty before running through sed. /etc/init.d/ddns start sed: no previous regexp Reported by Marc Benoit <marcb62185@gmail.com> Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: Add OK to valid easydns resonse.Danny Scott2018-04-16
| | | | Signed-off-by: Danny Scott <doscott@gmail.com>'
* ddns-scripts: fix incompatibility with luci-app-ddns <= V.2.4.8-2Christian Schoenebeck2018-01-14
| | | | | | fix incompatibility with luci-app-ddns versions <= 2.4.8-2 (#5430) Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: multiple fixesChristian Schoenebeck2018-01-13
| | | | | | | | | | | | | Write *.ip file with current registered IP, whenever "get_registered_IP" is called (used by next luci-app-ddns version) Changed detection of cURL proxy support #3876 Reread data from ubus if "get_local_ip" from "ip_network" #5004 #3338 Fix godaddy_com_v1 #5285 Implement "param_opt" for "cloudflare_com_v4" #5097 Inside logfile "*password*" printed in stead of real password #5281 and others Add ipv4 service "dnsever.com" #5178 Add ipv4 service "myip.co.ua" #5199 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: Support Amazon AWS Route53 as a ddns providerMax Berger2018-01-09
| | | | | | | Based on a sh-only route53 update script by Yuval Adam https://github.com/yuvadm/route53-ddns/blob/master/route53.sh Signed-off-by: Max Berger <max@berger.name>
* ddns-scripts: remove gzip timestampAlexander Couzens2017-12-03
| | | | | | | | | | gzip create a header by default containing the filename and the timestamp of the file. This timestamp will break reproducible builds [0]. [0] https://reproducible-builds.org/docs/timestamps/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ddns-script: fix update_url incorrect for duckdns.org serviceWendy Wu2017-10-30
| | | | | | | | | | Maintainer: Christian Schoenebeck <christian.schoenebeck@gmail.com> Compile tested: arch:arm, OpenWRT/LEDE version:for-15.05 Run tested: arch:arm, OpenWRT/LEDE version:for-15.05, tests done Description: <ddns-script>: fix update_url incorrect for duckdns.org service Signed-off-by: Wendy Wu <wendy2001011@163.com>