Commit graph

14 commits

Author SHA1 Message Date
Aleksandr V. Piskunov
3c04a6d235 stubby: restart on trigger interfaces
Force restart stubby if any of the trigger interfaces goes up or down.
Avoids DoT DNS lookup timeouts when default route changes, in case of multiple
upstream interfaces.

Signed-off-by: Aleksandr V. Piskunov <aleksandr.v.piskunov@gmail.com>
2022-05-25 17:35:38 -07:00
Dmitry Mikhirev
bdd264b890 stubby: quote address value in config
fixes #17421

Signed-off-by: Dmitry Mikhirev <mikhirev@gmail.com>
2021-12-26 15:43:07 +01:00
James White
1ad5e3f88c stubby: Add multi WAN support for procd trigger
Signed-off-by: James White <james@jmwhite.co.uk>
2021-08-07 09:30:52 +01:00
Jonathan G. Underwood
31be44ca61 stubby: fix handling of tls_port config option
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2020-06-27 16:58:47 +01:00
Rosen Penev
b95699c647
stubby: fix init script
The configuration file was not being generated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-26 19:49:08 -08:00
Rosen Penev
eaf5225323
stubby: makefile and init script cleanup
Reordered Makefile according to
https://github.com/openwrt/packages/pull/9399#issuecomment-508727872 .

Added PKG_BUILD_PARALLEL for faster compilation.

Remove duplicated conffiles section.

Install /etc/config/stubby using INSTALL_CONF, as is done elsewhere

Run init script through shellcheck and clean it up.

Added chmod for the stubby config file, to fix a LuCI issue.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-24 16:26:12 -08:00
Jonathan G. Underwood
1a0df27ed2 stubby: add support for TLS configuration options
- tls_cipher_list
  - tls_ciphersuites
  - tls_min_version
  - tls_max_version

Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 21:45:51 +01:00
Jonathan G. Underwood
b0cc47b143 stubby: add support for tls_port resolver config option (#8889)
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 20:24:38 +01:00
Jonathan G. Underwood
5db119a1cc stubby: fix handling of pkis in config (#8888)
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 00:26:38 +01:00
Jonathan G. Underwood
c7c3eca42e stubby: update to version 0.2.4
This upstream release adds support for trust_anchors_backoff_time
configuration parameter. UCI support has been added for this.

This commit also includes a number of clean-ups:
    o change START=50 to START=30 in init file
      Starting earlier in the boot means less chance of missing interface
      trigger events. See: https://github.com/openwrt/packages/pull/4675
    o remove unused variables from init file
    o separate local declarations and assignments in init file
    o add defensive quoting in init file
    o use default values for procd respawn in init file
    o make use of {} in variables consistent in init file
    o remove unused variable from init file

Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-01-20 15:26:36 +00:00
Jonathan G. Underwood
ada93c69f0 stubby: fix loading of config file
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2018-10-27 14:34:14 +01:00
Jonathan G. Underwood
7b1f892504 stubby: add uci support to init file
This commit brings UCI support to the stubby package.

    o All options are documented in the README.md file.
    o The README.md file has been re-written to include a short usage
      manual.
    o The default configuration now includes more Cloudflare addresses.
    o The stubby service is (re)started using procd triggers from a
      specified interface with a configurable time delay.
    o Round robin use of upstream resolvers is now activated by
      default.
    o Client privacy is now activated by default.
    o Options are added for specifying the log level of the daemon and
      command line options passed to the stubby command.

Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2018-10-14 18:39:53 +01:00
Tony Ambardar
7a1cfd43e9 stubby: remove unnecessary core limit
Remove the limit setting core="unlimited", since this shouldn't be needed
in production use (i.e. non-debug) and on an embedded platform, which is
why it's rarely used by any existing packages.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 21:55:03 -07:00
David Mora
bbab28385b stubby: Initial commit of openwrt package for stubby daemon
(This daemon utilizes the getdns library)

Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-01-29 10:45:16 +00:00