Commit graph

739 commits

Author SHA1 Message Date
Krerkkiat Chusap
db8b6baca9 modify Cloudflare documentation
It seems that ddclient check if the login field is equal to "token" to
use the correct header for the API token.
2021-04-05 12:36:45 -04:00
Sandro
11a583b003
Merge pull request #266 from dkerr64/get-if-ip 2020-09-22 20:29:44 +02:00
David Kerr
4c76274ba6 Add missing comment block 2020-09-21 15:16:48 -04:00
David Kerr
1b2f45cc59 Add get_default_interface 2020-09-21 15:16:48 -04:00
David Kerr
213cf6ad09 Add get_ip_from_interface function 2020-09-21 15:16:11 -04:00
Sandro
bafe142692
Merge pull request #233 from dkerr64/curl
🎉
2020-09-21 19:57:26 +02:00
David Kerr
d1d7548e09 So the bug was actually in the escape_curl_param function, not that the data should not be escaped 2020-08-22 21:32:27 -04:00
David Kerr
6ae64e6cfb bug fix... segfault when using WWW::Curl::Easy->pushopt() replace with setopt() 2020-08-21 17:28:57 -04:00
David Kerr
4c79c6b607 must not escape the 'data' field sent to servers. 2020-08-21 17:01:13 -04:00
David Kerr
3a73e5e6b4 header_ok() function must accept HTTP versions other than just '1' 2020-08-21 16:59:07 -04:00
David Kerr
cde60432dd Remove from debug message in geturl() parameters sent as part of a URL 2020-08-12 12:53:59 -04:00
David Kerr
8106b3025f Add support to use WWW::Curl::Easy if it exists 2020-08-07 11:17:44 -04:00
David Kerr
d24b75960d Add support for curl and option to not validate SSL certificates for getip from web or firewall
Check exists not just length
2020-08-07 11:17:44 -04:00
Richard Hansen
3730ff54be
Merge pull request #265 from rhansen/builtinweb
Add additional builtinweb entries
2020-08-05 18:52:29 -04:00
Richard Hansen
2de6a02f14 New %builtinweb entries for nsupdate.info 2020-08-04 13:58:51 -04:00
Richard Hansen
c9b6c8b3bf New %builtinweb entries for whatismyv6.com 2020-08-04 13:57:07 -04:00
Richard Hansen
ae89dbdfa3 New %builtinweb entry for Hurricane Electric 2020-08-04 13:54:49 -04:00
Richard Hansen
fb42a50318 New %builtinweb entry for ZoneEdit 2020-08-04 13:51:26 -04:00
Richard Hansen
460cf2f465 New %builtinweb entry for FreeDNS 2020-08-04 13:51:26 -04:00
Richard Hansen
1a8bfafb3d New %builtinweb entry for Google Domains 2020-08-04 13:51:26 -04:00
Richard Hansen
ad81aa43d2 New %builtinweb entries for noip.com 2020-08-04 13:51:26 -04:00
Richard Hansen
295ba387aa Rename ipifyipv{4,6} to ipify-ipv{4,6}
The added dash makes it easier to read.
2020-08-04 13:51:26 -04:00
Richard Hansen
52abb27604 Mention new %builtinweb services in ChangeLog.md 2020-08-04 13:51:20 -04:00
Richard Hansen
f3a92fbe63 Delete trailing commas 2020-08-04 13:46:21 -04:00
Richard Hansen
deab8970a1 Whitespace fixes 2020-08-04 13:46:21 -04:00
Richard Hansen
bc849ed157
Merge pull request #269 from rhansen/if-skip
Turn `if-skip` into a no-op and mark it as deprecated
2020-08-04 13:45:59 -04:00
Richard Hansen
601460c0b3 Turn if-skip into a no-op and mark it as deprecated
There is no way the user can meaningfully set `if-skip` because the
user doesn't have control over how ddclient reads an interface's
settings (ddclient could theoretically run `ip addr show`, run
`ifconfig`, read a file in `/dev`, make a system call, use a Perl
library, etc.).
2020-08-03 12:55:38 -04:00
Sandro
985f591aec
Merge pull request #267 from rhansen/help-text 2020-08-03 12:05:03 +02:00
Richard Hansen
686bf5a8c8 Improve -help text 2020-08-02 23:38:46 -04:00
Richard Hansen
4bf9d59722 Whitespace fixes 2020-08-02 21:52:11 -04:00
Richard Hansen
59f363ffe2
Merge pull request #197 from dkerr64/Add-extract_ipv6_gua-function
Add extract_ipv6_global function
2020-08-02 16:03:28 -04:00
David Kerr
1ad4d6737a Add is_ipv6_global and extract_ipv6_global functions 2020-08-01 19:11:28 -04:00
Richard Hansen
147ee33754 Update changelog to note change to dslreports1 default server
This should have been done in 25a636879f
but I forgot.
2020-08-01 18:05:27 -04:00
Sandro
50ca9b6627
Merge pull request #264 from rhansen/dslreports
Change the default server for `dslreports1` to `www.dslreports.com`
2020-08-01 22:38:51 +02:00
Richard Hansen
25a636879f Change the default server for dslreports1 to www.dslreports.com
Before, it defaulted to `members.dyndns.org` which didn't make much
sense.
2020-08-01 16:22:38 -04:00
Sandro
35f1be83f6
Merge pull request #263 from rhansen/routers
Add new device built-ins (`fw=<device>`)
2020-07-27 19:40:50 +02:00
Richard Hansen
f8185182e9 Add new device built-ins (fw=<device>)
Thanks goes to Geoff Simmons, who provided the definitions in
https://bugs.debian.org/589980.
2020-07-27 12:23:35 -04:00
Richard Hansen
31173b3736 Use triple backticks to denote the code block
This keeps the line under 80 columns long, and avoids extra vertical
space between entries in the rendered output.
2020-07-27 12:20:17 -04:00
Sandro
3eef38def6
Merge pull request #261 from rhansen/connectivity-tests 2020-07-25 20:10:00 +02:00
Richard Hansen
310810c291 Group tests by IO::Socket class
Also delete some redundant SSL tests.
2020-07-24 15:23:54 -04:00
Richard Hansen
b46d064f55 Don't show -noipv6 when ipv6_opt is false 2020-07-24 15:18:42 -04:00
Richard Hansen
92a7590846 Whitespace fixes 2020-07-24 15:13:03 -04:00
Sandro
532589219f
Merge pull request #253 from rhansen/compat
Clarify compatibility goal and core module support
2020-07-22 10:56:55 +02:00
Sandro
2e1bb5165a
Merge pull request #254 from rhansen/geturl
Eliminate unnecessary hashref
2020-07-22 10:56:17 +02:00
Richard Hansen
8253c6705f
Merge pull request #257 from spack971/gandi-livedns
Add support for Gandi LiveDNS
2020-07-18 15:09:58 -04:00
Richard Hansen
ae7919fcc4 Mark gandi protocol's ttl var as optional
Gandi doesn't require a TTL in the update request. The protocol
implementation already does the right thing if the `ttl` var is
`undef`.
2020-07-18 15:05:53 -04:00
Jimmy Thrasibule
7f719dc305 Add support for Gandi LiveDNS
Allow update of a DNS record hosted by the Gandi LiveDNS service.

Signed-off-by: Jimmy Thrasibule <jimmy.thrasibule@orange.com>
Reviewed-by: Richard Hansen <rhansen@rhansen.org>
2020-07-18 15:01:52 -04:00
Jimmy Thrasibule
b6a7c44d39 Ensure header_ok accept any 2xx return code
Adapt `header_ok` to return success for any HTTP 2xx code.

Signed-off-by: Jimmy Thrasibule <jimmy.thrasibule@orange.com>
Reviewed-by: Richard Hansen <rhansen@rhansen.org>
2020-07-18 15:01:52 -04:00
Richard Hansen
da23769b68
Merge pull request #258 from rhansen/fix-daemon
Fix `-daemon` command-line argument parsing
2020-07-14 23:26:52 -04:00
Richard Hansen
286fe02478 Fix -daemon command-line argument parsing
It turns out the logic removed in
d10601de11 had a purpose after all.
2020-07-14 23:17:19 -04:00