Commit graph

1171 commits

Author SHA1 Message Date
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
Richard Hansen
cfcf5c1c04
Merge pull request #256 from rhansen/io-socket-inet
Import IO::Socket::INET
2020-07-14 17:35:24 -04:00
Richard Hansen
7d58f2d749 Import IO::Socket::INET
We've always required IO::Socket::INET but never explicitly included
it. For some reason that hasn't been a problem until now.

Fixes #255
2020-07-12 18:58:31 -04:00
Richard Hansen
5f1dacc3bd Eliminate unnecessary hashref
Pass the key-value pairs directly instead of via a hashref.
2020-07-11 21:39:48 -04:00
Richard Hansen
17069e3668 Clarify compatibility goal and core module support 2020-07-11 11:17:10 -04:00
Richard Hansen
7a21c1646c Sort the list of tests 2020-07-11 11:16:52 -04:00
Richard Hansen
c50ecfa9ee Merge pull request #198 from dkerr64/New-extract_ipv6-algorithm
New extract_ipv6 algorithm
2020-07-11 11:08:44 -04:00
David Kerr
29202f5bc1 New is_ipv6 and extract_ipv6 algorithms
Also add unit tests.
2020-07-11 11:04:47 -04:00
David Kerr
92c1294af9 Accept leading zeros in IPv4 addresses
Also add unit tests.
2020-07-11 11:04:33 -04:00
Sandro
f414493a06
Merge pull request #252 from rhansen/inet6
Skip IPv6 tests if IO::Socket::INET6 isn't available
2020-07-11 11:35:23 +02:00
Richard Hansen
a86f40ae9b Skip IPv6 tests if IO::Socket::INET6 isn't available
Fixes #251
2020-07-10 23:10:56 -04:00
Richard Hansen
ac7d8c7b6e
Merge pull request #249 from rhansen/mockmodule
Fix `write_cache` tests
2020-07-10 12:10:30 -04:00
Richard Hansen
d309732480 Add missing test dependency on Test::MockModule
This should have been done in 6ae5fe62d7
but I forgot.
2020-07-10 12:06:45 -04:00
Richard Hansen
bba1ecfe27 Switch from redefine to mock 2020-07-10 12:06:45 -04:00
Richard Hansen
173865bd75 Don't test writing to a read-only directory
root can always write to a read-only directory so the test was failing
on the CI runners (which run as root).
2020-07-10 12:06:45 -04:00
Richard Hansen
192a00ad64 Don't match against locale-dependent $! 2020-07-10 12:06:45 -04:00
Richard Hansen
4e1607c8f6 Enable autoflush on STDOUT and STDERR for tests
This prevents STDOUT lines from appearing out of order relative to
STDERR lines in the test log, which makes it much easier to understand
what's happening.

Devel::Autoflush is from https://metacpan.org/pod/Devel::Autoflush and
is licensed under the terms of the Apache 2.0 license.
2020-07-10 12:06:45 -04:00
Richard Hansen
4cee1e4c7d
Merge pull request #250 from Steve8291/patch-1
Adjust path to ddclient
2020-07-10 12:05:56 -04:00
Steve8291
6b7800380c Adjust path to ddclient
Installing with `make install` automatically places the ddclient
executable in `/usr/bin/ddclient`. This service file has the wrong
path and that causes systemd to be unable to start ddclient.
2020-07-10 12:04:21 -04:00