aboutsummaryrefslogtreecommitdiff
path: root/net/ddns-scripts/files
Commit message (Collapse)AuthorAge
...
* ddns-scripts: also read providers from custom directoryFlorian Eckert2020-09-28
| | | | | | | | | The provider could also be read from the custom directory. To get always the latest version of the provider config json file, we read first the custom directory and after that we also check the default directory, if we could not find the provider file Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: move all json files to defaultFlorian Eckert2020-09-28
| | | | | | | | Since we can also install custom ddns services, the name for the default services is not optimally chosen. To emphasize this the folder with the standard services for the package feed will be renamed to default. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: change install path of custom service providersFlorian Eckert2020-09-28
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: add ddns script to manage the providersFlorian Eckert2020-09-22
| | | | | Redmine-patch-id: 5298 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: add service list fileFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update dynamic_dns_*.sh installationFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update init installationFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update hotplug installationFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update config installationFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: write version string during installation into fileFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: remove old and unmaintainded uci defaults scriptsFlorian Eckert2020-09-21
| | | | | | | | | | | | | | | | | | From my point of view there are several reasons why this uci default script should be deleted. - This script is no longer maintained and there was no significant change since the old stable release openwrt-18.06. - The script is installed with every additional package. Which is kind of funny. It would be better to maintain a separate uci default upgrade script for each package. So uci default tasks that are no longer needed can simply be deleted without having to watch and test the whole scirpt. - The script is also not so easy to maintain, because the code is not easy to read. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update cnkuai.cn to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update route53-v1 to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update bind-nsupdate to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update no-ip.com to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update digitalocean.com-v2 to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update godaddy.com-v1 to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update freedns.42.pl to jsonFlorian Eckert2020-09-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: update cloudflare.com-v4 to jsonFlorian 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: 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: 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: 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