Commit graph

9709 commits

Author SHA1 Message Date
Daniel Golle
15fdb5fa16
snowflake: update to version 2.3.1
03b2b56f Fix broker race condition
 36f03dfd Record proxy type for proxy relay stats

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-07 02:12:01 +01:00
Eneas U de Queiroz
2e75ccbb7d gnunnet: halt build if any command fails
There are many places in the packages' install recipes whith multiple
commands being executed in the same shell invocation, separated with a
semicolon (;).  The return status will depend only on the last command
being run.  The same thing happens in loops, where only the last file
will determine the result of the command.

Change the ';' to '&&', and exit the loop if any operation fails.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-10-06 23:33:10 +01:00
Eneas U de Queiroz
fb91f8b7b0 gnunnet: don't copy non-existing files
There are six places pointing to files that do not exist any more:
 - gns-import.sh in package gnunet-gns (dropped in v0.11.0)
 - libgnunetdnsstub.so* in gnunet-vpn (integrated into util in v0.11.0)
 - libgnunettun.so* in gnunet-vpn (integrated into util in v0.11.0)
 - gnunet-service-ats-new in package gnunet (dropped in v0.12.0)
 - libgnunetreclaimattribute.so.* (integrated into reclaim in v0.13.0)
 - libgnunetabe.so.* in gnunet-reclaim (dropped in v0.17.2)

They were not noticed because their failing copy commands were part of
loops in which only the last operation had its exit status checked.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-10-06 23:33:10 +01:00
Eneas U de Queiroz
f041796003 gnunet: gnunet-rest: add libjose dependency
According to the package's configure.ac, reclaimID OpenID Connect plugin
depends on jose.  It is installed by the gnunet-rest plugin package:
libgnunnetrest_openid_connect.so.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-10-06 23:33:10 +01:00
Glen Huang
671594bec2 acme: remove help info of unused command
Signed-off-by: Glen Huang <i@glenhuang.com>
2022-10-06 18:38:47 +02:00
Glen Huang
ef4289e96d acme: fix acmesh dnsapi dependencies
Signed-off-by: Glen Huang <i@glenhuang.com>
2022-10-06 18:38:47 +02:00
Philip Prindeville
38b73c0a28
Merge pull request #19532 from pprindeville/isc-dhcp-drop-gratuitous-named-reload
isc-dhcp: avoid gratuitous reload of named
2022-10-05 16:01:33 -06:00
Glenn Strauss
9d7e18fb25 lighttpd: remove deprecated modules
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-10-05 14:20:57 -07:00
Philip Prindeville
77d9ed5f6e isc-dhcp: avoid gratuitous reload of named
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-10-05 11:19:37 -06:00
Florian Eckert
fc60a6547b
Merge pull request #19520 from dyarkovoy/master
mwan3: support offload routing modifier
2022-10-05 16:27:46 +02:00
Denys Yarkovyi
675ecfba89 mwan3: support offload routing modifier
Signed-off-by: Denys Yarkovyi <dyarkovoy@gmail.com>
2022-10-05 05:20:05 -07:00
Stan Grishin
4ff71d8e4c https-dns-proxy: add settings for canary domains
* add setting to enable/disable blocking access to iCloud Private Relay resolvers
* add setting to enable/disable blocking access to Mozilla resolvers
* rename variables loaded from config in the init script

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-10-04 22:08:00 +00:00
Stan Grishin
f99ada410f https-dns-proxy: bugfix: prevent canary domains duplicates
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-10-04 21:25:42 +00:00
Petr Štetiar
845d81ca09 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-04 00:58:29 -07:00
Stan Grishin
41243a41cf
Merge pull request #19501 from stangri/master-simple-adblock
simple-adblock: allow domains bugfix & canary domains support
2022-10-03 20:59:51 -07:00
Andrew Sim
095eaf113b samba4: update waf-cross-answers
* update waf-cross-answers for 4.14.x

Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2022-10-03 15:04:27 -07:00
Andrew Sim
5cf95dbf05 samba4: update to 4.14.14
* update to 4.14.14
* fixes: CVE-2022-2031, CVE-2022-32744, CVE-2022-32745, CVE-2022-32746, CVE-2022-32742

Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2022-10-03 15:04:27 -07:00
Tianling Shen
891b87747a gg: Update to 0.2.13
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-02 17:35:13 +02:00
Tianling Shen
b5ec852c54 dnsproxy: Update to 0.45.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-02 17:34:36 +02:00
Tianling Shen
cae36485f0 cloudflared: Update to 2022.9.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-10-02 17:34:06 +02:00
Stan Grishin
9156ef6507 simple-adblock: allow domains bugfix & canary domains support
* fix bug in download_lists and adb_allow to prevent unintended exclisions from
  the block-lists of domains containing allowed domain. Fixes issue:
  https://github.com/stangri/source.openwrt.melmac.net/issues/160
* add support for returning NXDOMAIN/blocking iCloud & Mozilla canary domains,
  disabled by default

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-10-01 23:11:38 +00:00
Stan Grishin
749b03ffbf https-dns-proxy: uci wrappers & iCloud canary domains
* switch to using uci wrappers instead of direct uci calls
* add support for iCloud canary domains
  https://developer.apple.com/support/prepare-your-network-for-icloud-private-relay

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-30 00:00:01 +00:00
Josef Schlehofer
6c827a73f6
Merge pull request #19447 from turris-cz/unbound
unbound: update to version 1.16.3
2022-09-29 07:11:41 +02:00
Rafał Miłecki
f93cc0e22f ddns-scripts: add explicit "-d" switch for Dry Run
It was a bit confusing to use *verbosity* level for Dry Run mode. Add
explicity switch for it and designed DRY_RUN variable to make code
easier to understand.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-09-28 09:49:39 +02:00
Rafał Miłecki
586e283a51 ddns-scripts: rename variable: s/ERR_UPDATE/RETRY_COUNT/
Rename variable to make code easier to understand. This variable
specifies how many times in row ddns script tried to update IP without a
success.

Previous name ("ERR_UPDATE") didn't suggest it was for counting
anything. It also didn't specify was error was it related to.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-09-27 17:46:04 +02:00
Rafał Miłecki
a6247d81a9 ddns-scripts: replace IP type (name) "local" with "current"
Local suggests something related to the local network or available
locally only. All that code related to the "local" IP was actually
dealing with *current* device external IP address. Using name "current"
should make code a bit easier to understand.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-09-27 17:42:58 +02:00
Rafał Miłecki
e3292e4c97 ddns-scripts: rename variable: s/retry_count/retry_max_count/
Rename variable to make code easier to understand. This variable
specifies how many times ddns script should try to send a request.

Previous name ("retry_count") suggested it was for *counting* attempts.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-09-27 17:42:58 +02:00
Stan Grishin
74bd32f9ff
Merge pull request #19448 from stangri/master-simple-adblock
simple-adblock: update to 1.9.1-1
2022-09-27 03:37:57 -07:00
Stan Grishin
eb9aeb1dca
Merge pull request #19460 from stangri/master-curl
curl: bugfix: github source url
2022-09-26 12:07:38 -07:00
Florian Eckert
2c66e83754
Merge pull request #19446 from jamesmacwhite/mwan3-config-replace-google-dns
mwan3: Switch default track_ip targets from Google DNS to Cloudflare DNS
2022-09-26 11:41:43 +02:00
Karl Palsson
346de940af pagekite: add patchs for 64bit time
Source: https://github.com/pagekite/libpagekite/pull/78

Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-09-26 09:38:00 +00:00
Karl Palsson
5f051dff4c mosquitto: bump to 2.0.15
Changelog: https://mosquitto.org/blog/2022/08/version-2-0-15-released/
Changelog: https://mosquitto.org/blog/2021/11/version-2-0-14-released/

2.0.15 is bigger security and bugfix release.  2.0.14 had a couple of
  minor changes and was skipped for OpenWrt.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-09-26 09:38:00 +00:00
Ptilopsis Leucotis
6a0ecf300d mosquitto: add missing 'persistence' section in config
Section 'Persistence' in 'luci-app-mosquitto' is unusable without 'persistence'
section in config file.

Signed-off-by: Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com>
2022-09-26 09:38:00 +00:00
Nick Hainke
b9cf0cdce6 tor: update to 0.4.7.9
Release Notes:
https://forum.torproject.net/t/urgent-stable-release-0-4-5-14-0-4-6-12-and-0-4-7-10

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-26 11:17:04 +02:00
Stan Grishin
c812153f8d curl: bugfix: github source url
* fixes https://github.com/openwrt/packages/issues/19456

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-26 08:37:15 +00:00
Christian Lachner
398c403ae2 haproxy: Update HAProxy to v2.6.6
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-09-26 09:52:17 +03:00
Dirk Brenken
5603ed9237
adblock: update 4.1.4-5
* auto-whitelist ext. dns lookup domain
* add public doh server blocklist source
* whitespace fixes in adblock.sources

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-09-25 21:01:51 +02:00
Stan Grishin
f8c5fd93e7 simple-adblock: update to 1.9.1-1
* remove obsolete block-lists from config
* add removal of obsolete lists to config-update
* add AdGuard team's block-list to config
* improve allow command
* improve nftset support
* move config load to uci_load_validate, which required some code refactoring which
  looks dramatic, but isn't
* always use dnsmasq_restart instead of dnsmasq_hup for all dns resolution options
  for dnsmasq

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-09-25 12:25:40 +00:00
Josef Schlehofer
027533f9a2
unbound: update to version 1.16.3
Changelog: https://www.nlnetlabs.nl/projects/unbound/download/#unbound-1-16-3
- Fixes: CVE-2022-3204

Refreshed one patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-09-25 12:25:59 +02:00
James White
1a703ed6a6 mwan3: Switch default track_ip targets from Google DNS to Cloudflare DNS
Signed-off-by: James White <james@jmwhite.co.uk>
2022-09-25 09:06:05 +01:00
Dirk Brenken
add4ebbd31
Merge pull request #19419 from james-mcguire/master
adblock: add lightswitch05 source
2022-09-25 08:55:45 +02:00
Daniel Golle
0f3d48a378 snowflake: run snowflake-proxy with procd-ujail
snowflake-proxy doesn't write any files
 => run in read-only rootfs environment

the process needs to read SSL certs but no other files
 => only exposed path is /etc/ssl/certificates (read-only)

running as unpriviledged user with no additional capabilities
 => set no-new-privs bit

By default procd-ujail also isolates the process by executing it in
a separate new IPC and PID namespace.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-25 01:38:09 +01:00
James McGuire
b971cdc79b adblock: add lightswitch05 blocklist source
Signed-off-by: James McGuire <jamesm51@gmail.com>
2022-09-24 14:49:21 -07:00
Daniel Golle
cf120a7eff snowflake: add package
Package Tor's Snowflake system components so users can offer e.g.
a standalone Snowflake proxy on their routers or other devices.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-24 19:06:47 +01:00
Martin Hübner
83ff83e320 gatling: add package gatling
Gatling is a high-performance webserver from fefe. It gives a
fairly decent feature-set at really small size. And its fast.

Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Signed-off-by: Martin Hübner <martin.hubner@web.de>
2022-09-23 13:41:49 -07:00
Tianling Shen
5b72dce338 dnsproxy: Update to 0.45.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-23 09:40:16 +02:00
Tianling Shen
671e794db1 dnslookup: Update to 1.8.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-09-23 09:39:25 +02:00
Josef Schlehofer
9a9c31e7e2
Merge pull request #19422 from paper42/knot-resolver-5.5.3
knot-resolver: update to 5.5.3
2022-09-23 00:43:04 +02:00
Peter van Dijk
8e234be1e7 pdns-recursor: update to 4.7.3
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2022-09-22 12:20:26 -07:00
Michal Vasilek
5d2fd88693
knot-resolver: update to 5.5.3
* fixes CVE-2022-40188

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-09-22 20:10:13 +02:00