Commit Graph

48 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Rudy Andram ac13ebc68f stubby: bump to 0.4.3
Signed-off-by: Rudy Andram <rmandrad@gmail.com>
2022-12-31 11:04:35 +02:00
Rudy Andram 318e48c6f9 stubby: bump to latest 0.4.2
Maintainer: @neheb (find it by checking history of the package Makefile)
Compile tested: aarch64/ipq8074
Run tested: aarch64/ipq8074

Description: stubby: bump to latest 0.4.2

Signed-off-by: Rudy Andram <rmandrad@gmail.com>
2022-12-02 19:43:36 +02:00
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
Rui Salvaterra e636e433c1 stubby: explicitly disable static linking
Although undocumented, there's a way to explicitly disable static linking in
Stubby, setting the CMake build option ENABLE_GETDNS_STATIC_LINK to OFF (ON by
default). Make it so.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-11 14:54:25 -08:00
Rui Salvaterra e6809f7d79 stubby: clean up the makefile
These cmake modules are actually never referenced. Stubby itself doesn't link to
libidn or libunbound, only getdns does. They're most likely leftovers from when
stubby was split from getdns to its own repository.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-03 02:18:57 -08: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 791a8fb2bc stubby: remove maintainer
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2021-06-13 15:10:51 +01:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 4ebc879855 stubby: remove libidn2 and libunwind dependencies
There's no good way to get rid of these, so just delete the cmake files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-11 15:46:18 -07:00
Rui Salvaterra a01696890c stubby: bump to 0.4.0
Remove obsolete patch.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-06-11 15:38:42 +01:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Salim B 50cced2475
stubby: fix typo
Signed-off-by: Salim B salim@posteo.de
2020-09-18 14:28:08 -07:00
Jonathan G. Underwood d2016285ad stubby: update to version 0.3.0
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2020-07-01 22:27:27 +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
Maxim Storchak 11731c81c3 stubby: switch to ca-bundle
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2019-12-23 17:47:57 +02:00
Salim B 65bb20fc59 stubby: Fix UCI command in README
Signed-off-by: Salim B <salim@posteo.de>
2019-08-04 23:20:19 +02:00
Jonathan G. Underwood 53a4edf7d3 stubby: set PKG_SOURCE_VERSION using PKG_VERSION
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 21:50:58 +01:00
Jonathan G. Underwood 780d5e6898 stubby: remove PKG_SOURCE from Makefile
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 21:45:51 +01: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 2391c91afe stubby: update to 0.2.6
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 19:58:48 +01:00
Rosen Penev 238f7a2c6a
stubby: Update PKG_RELEASE
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-10 01:00:48 -07: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
Jannik Vieten 84afa95b5b stubby: fixed duplicate IPv6 address in stubby.yml; fixed typo in README.md
Signed-off-by: Jannik Vieten <me@exploide.net>
2019-03-18 12:07:22 +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
David Mora 89cef29983
stubby: Remove iamperson347 from maintainer
I am no longer able to support maintaining the stubby daemon for openwrt. I suggest Jonathan Underwood <jonathan.underwood@gmail.com> as a replacement.
2018-12-30 09:50:36 -05:00
Dirk Brenken 4e70f1c949
Merge pull request #7258 from jonathanunderwood/stubby_documentation
stubby: add reload_config to documentation
2018-11-04 13:36:48 +01:00
Dirk Brenken 8e00bab166
Merge pull request #7257 from jonathanunderwood/stubby_fix_init
stubby: fix loading of config file
2018-11-04 13:36:29 +01:00
jonathanunderwood 35a377dbfc stubby: add Jonathan Underwood as co-maintainer (#7307)
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2018-11-04 10:49:52 +00:00
Jonathan G. Underwood a3de18a2c7 stubby: add reload_config to documentation
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2018-10-27 18:28:29 +01: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 8f241854ed stubby: bump PKG_RELEASE
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 22:20:39 -07: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
Tony Ambardar 1170686cba stubby: add SPKI pin set for Cloudflare cert
Add an SPKI pin for Cloudflare to help prevent MITM and downgrade attacks,
as described in RFC7858 (DNS over TLS). The setup of SPKI and the specific
SHA256 certificate hash are taken from Cloudflare's DoT configuration guide
published at https://developers.cloudflare.com/1.1.1.1/dns-over-tls/.

Note that the certificate is valid to March 25th 2020, 13:00 CET, which
provides ample time for issuance of a backup pin to support future key
rollover.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 21:55:03 -07:00
Tony Ambardar 8b2de594de stubby: add Cloudflare 1.0.0.1 and ::1001 servers
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 21:55:03 -07:00
Tony Ambardar 0425d9198a stubby: use EDNS client-subnet privacy by default
Retain the upstream value since privacy is usually the key user motivation
for using DNS-over-TLS, and simply note that those encountering sub-optimal
routing may consider disabling the setting.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 21:55:03 -07:00
Tony Ambardar 4819fc5e6e stubby: fix config file definition
The config file /etc/stubby/stubby.yml is not registered properly and any
local changes are being overwritten on upgrade or reinstall.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 21:55:03 -07:00
Tony Ambardar d5b0c46ece stubby: rearrange Makefile for clarity
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-23 21:55:03 -07:00
Tony Ambardar 9ddc94a374 stubby: add missing dependency on ca-certificates
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-09-16 00:34:38 +01:00
David Mora 8a8e68580f stubby: Bump to 0.2.3
Update to new upstream version. Also changed to Cloudflare's DNS as default.

Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-05-13 07:27:30 -04:00
David Mora dcbeb660dd stubby: Bump to 0.2.2 plus updates to default config
Bump version plus changes to address concerns regarding default config for stubby provided with this package

Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-02-21 22:56:02 -05: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