Commit graph

151 commits

Author SHA1 Message Date
Edi Turn
0e4f2b1068 ddns-scripts: make WGET_SSL executable
Signed-off-by: Edi Turn <yyxstter@gmail.com>
2021-01-27 20:40:03 +08:00
Gerald Hansen
937560417c ddns-scripts: Remove not working ddns provider
I checked the hostname for existing DNS A and AAAA entries and these
ones didn't have an entry.

Signed-off-by: Gerald Hansen <gerald.hansen@cloud.ionos.com>
2021-01-26 11:24:08 +01:00
Gerald Hansen
9787de80e5 ddns-scripts: Change parameter for myonlineportal
As the default uclient-fetch doesn't support authentication header
and the ddns provider myonlineportal.net support also username and
passwort as url parameter this can be changed.

Signed-off-by: Gerald Hansen <gerald.hansen@cloud.ionos.com>
2021-01-26 11:24:08 +01:00
Huangbin Zhan
9eab8cceda ddns-scripts: fix wget-ssl path
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-01-17 22:28:05 +08:00
Florian Eckert
733e6508f3 ddns-scripts: add gandi.net provider
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-28 11:07:14 +01:00
Florian Eckert
dd719e4960 ddns-scripts: update sitelutions url
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-22 07:44:26 +02:00
Joel Johnson
5b362932a7 ddns-scripts: use ip_source as bind_network default
Fixes: #13182 on https://github.com/openwrt/packages

Signed-off-by: Joel Johnson <mrjoel@lixil.net>
2020-10-21 08:43:18 -06:00
Johnathan Arsenault
33d6dc4027 ddns-scripts: add ipv6 capability for no-ip.com
Signed-off-by: Johnathan Arsenault <johnathan.arsenault@gmail.com>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
2020-10-05 16:02:26 +02:00
Florian Eckert
8d10cdda08 ddns-scripts: also read providers from custom directory
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>
2020-09-28 15:28:27 +02:00
Florian Eckert
8be604072c ddns-scripts: move all json files to default
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>
2020-09-28 14:47:37 +02:00
Florian Eckert
3ec59622e9 ddns-scripts: change install path of custom service providers
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:53:46 +02:00
Florian Eckert
f184fdf44c ddns-scripts: add ddns script to manage the providers
Redmine-patch-id: 5298
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22 11:56:35 +02:00
Florian Eckert
30234fcb55 ddns-scripts: add service list file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
1d20c59fc3 ddns-scripts: update dynamic_dns_*.sh installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
88f6bc8d7b ddns-scripts: update init installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
dd9633977c ddns-scripts: update hotplug installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
63804b7358 ddns-scripts: update config installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
f5c7271ff1 ddns-scripts: write version string during installation into file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
7855caff9e ddns-scripts: remove old and unmaintainded uci defaults scripts
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>
2020-09-21 10:17:01 +02:00
Florian Eckert
fdf1cdbd7b ddns-scripts: update cnkuai.cn to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
96c67053e3 ddns-scripts: update route53-v1 to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
e051d37720 ddns-scripts: update bind-nsupdate to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
cabdcdf795 ddns-scripts: update no-ip.com to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
6945528179 ddns-scripts: update digitalocean.com-v2 to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
f9f3d67a57 ddns-scripts: update godaddy.com-v1 to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
a4b13ba1dd ddns-scripts: update freedns.42.pl to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
7a41ef8283 ddns-scripts: update cloudflare.com-v4 to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
5229d8f954 ddns-scripts: convert ddns service provider files into json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
1b3bb98fcf ddns-scripts: load ddsn service provider parameter from json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Norman Gehrsitz
aa8ee7e440 ddns-scripts: cloudflare.com-v4: Simplify Bearer Token support
Signed-off-by: Norman Gehrsitz <gehrsitz.norman@student.dhbw-kahlsruhe.de>
2020-08-18 11:06:34 +02:00
Mateusz Stępień
f778b1eea3 ddns-scripts: Add moniker.com DDNS service
Signed-off-by: Mateusz Stępień <mateusz@argc.pl>
2020-08-16 17:42:05 +02:00
Paul Spooren
30ea917518 treewide: replace which with command -v
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>
2020-08-09 13:58:14 -10:00
Frank Zhang
bf1d880c24 ddns-scripts: Added api token method for cloudflare ddns script v4
Update cloudflare token ddns file

Signed-off-by: Frank Zhang <i@xjboss.net>
2020-06-21 16:08:22 +08:00
Jeroen Peelaerts
e297ffbe34 ddns-scripts: Add digitalocean as DDNS provider
Signed-off-by: Jeroen Peelaerts <jeroen.peelaerts@gmail.com>
2020-05-03 00:15:13 +02:00
Zheng Luo
88b03577c4 ddns-scripts: cloudflare.com-v4: Fix grep patterns.
Related commit: 0080bb4b

Use `\s*` instead of ` \?` to match 0 or multiple spaces.

Signed-off-by: Zheng Luo <cherrotluo@gmail.com>
2020-04-29 16:22:59 +08:00
Michael Gray
0080bb4bba ddns-scripts: cloudflare.com-v4: Fix success check for new response format
JSON response now has spaces between parameters. Accept this new format and the old one.

Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
2020-04-25 17:36:51 +10:00
Chip Lee
066b8b427a ddns-scripts: Append ddns script for cnkuai.cn
A low-cost domain name service provider in China

Signed-off-by: Chip Lee <chplee@gmail.com>
2020-03-21 20:31:05 +08:00
Rosen Penev
bf68826897
ddns-scripts: fix logging bug
Fixes issue #11282, this patch was provided by PaulFertser on the #openwrt
IRC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-28 15:33:05 -08:00
Rosen Penev
635339663b
Revert "ddns-scripts: Fixed HE (hurricane electric) to tunnelbroker.net"
This reverts commit 3dbdd67cf9.

This is totally wrong. tunnelbroker.net is completely different.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-30 16:23:13 -08:00
Rosen Penev
81d67a21b1
Revert "ddns-scripts: fix cloudflare.com-v4"
This reverts commit 67e2efb301.

This is totally wrong. The actual bug is in the luci app.
2020-01-30 16:20:56 -08:00
Rosen Penev
da57ac0f39 ddns-scripts: use HTTP for IPv6 dyndns URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 22:20:27 -08:00
Rosen Penev
fdfe5a7607 ddns-scripts: remove HTTPS from dyndns URL
HTTPS support is not provided by default.

Also fixed a mistakenly added ].

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 22:17:26 -08:00
Rosen Penev
a0fa14360c
ddns-scripts: use new DDNS URL for dyndns.org
https://github.com/openwrt/packages/issues/8360

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Rosen Penev
4128151843
ddns-scripts: update ddnss.de response
https://github.com/openwrt/packages/issues/8013

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Rosen Penev
67e2efb301
ddns-scripts: fix cloudflare.com-v4
https://github.com/openwrt/packages/issues/11042

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Euler Alves
3dbdd67cf9
ddns-scripts: Fixed HE (hurricane electric) to tunnelbroker.net
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>
2020-01-27 21:28:15 -08:00
Kwonjin Jeong
e25b558999 ddns-scripts: Change protocols of afraid.org urls to HTTPS.
- 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>
2019-12-01 15:24:38 +09:00
Leong Hui Wong
a6f1ff5a85 treewide: update wiki links
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-11-29 09:16:02 +08:00
Paul Tobias
21f5cdd2fa
ddns-scripts: Use https for domains.google.com
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>
2019-09-12 15:26:07 -07:00
Dirk Brenken
2e06c4ec93
ddns-scripts: various fixes
* 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>
2019-07-03 22:41:26 +02:00