Commit graph

8345 commits

Author SHA1 Message Date
Rosen Penev
8de166f424
irssi: update to 1.2.3
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 752656c6be)
2021-08-11 23:36:11 +02:00
Ansuel Smith
e264d66894
atlas-sw-probe: fix copypaste error and clean tmp dir on exit
- Fix copypaste error for PUB_KEY link creation
- Clean tmp dir on exit to clear any remaining data

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 842a9d399f)
2021-08-11 23:35:43 +02:00
Josef Schlehofer
683137cbc5
Merge pull request #16195 from miska/snort3-21.02
net/snort3: Include default configs and snort2lua
2021-08-11 23:22:43 +02:00
Michal Vasilek
dccb988554
knot-resolver: update to version 5.4.0
* refresh patches
* disable kres_gen_test to fix cross

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit e7127d4684)
2021-08-09 23:13:15 +02:00
Michal Vasilek
e387725106
knot: update to version 3.1.0
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 81e0fcb76f)
2021-08-09 23:13:05 +02:00
Rosen Penev
42eaa2ea2c
Merge pull request #16258 from stangri/21.02-curl
[21.02] curl: enable HTTP/2 support by default
2021-08-03 12:21:13 -07:00
Stan Grishin
beba982403 simple-adblock: update to 1.8.7-6
* supports newer shellcheck
* restore EXTRA_COMMANDS compatibility with 19.07
* move status display from various functions to status_service
* bugfix: status_service line break after output
* minor arythmetic fix in status_service

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-08-02 07:03:55 +00:00
Stan Grishin
babb7144ea
Merge pull request #16253 from stangri/21.02-https-dns-proxy
[21.02] https-dns-proxy: update to 2021-07-29-1
2021-08-01 22:58:28 -07:00
Stan Grishin
af5c3af0c3 curl: enable HTTP/2 support by default
Description: Lack of support of HTTP/2 by default starts to hurt,
for example with https-dns-proxy package, some DoH resolvers (like mullvad)
no longer support HTTP/1 and are not usable.

This enables HTTP/2 support by default (which would bring ~68Kb libnghttp).

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-07-30 23:20:34 +00:00
Stan Grishin
3cb1894b83 https-dns-proxy: update to 2021-07-29-01
* update binary to the latest commit (2021-07-29) to fix #16222 and #16239
* add hotplug.d/iface file and update Makefile to install it
* use Cloudflare's and Google's bootstrap DNS if bootstrap DNS is missing
* minor improvements in append_bool function
* add append_counter function for verbosity setting
* add append_bootstrap function (and supporting functions) to parse/sanitize bootstrap setting
* move firewall array from 'main' instance to the first proxy instance
* delete useless 'main' instace

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-07-30 13:11:52 +00:00
Olivier Poitrey
c4a323903f nextdns: Update to version 1.35.0
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-07-30 12:40:03 +03:00
Nick Hainke
bda6773b94 dawn: update to 2021-07-27
276ca16 msghandler: fix rrm array parsing
1e4871d datastorage: debug rrm capabilities

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 6582979678)
2021-07-27 16:07:52 +02:00
Dirk Brenken
25a0a5cc4a
travelmate: update to 2.0.4
* code cleanup
* add auto login script for Julianahoeve beach resort (NL)
* add auto login script for Vodafone hotspots (DE)
* add auto login script for telekom hotspots (DE)
* enhance captive portal detection to support html redirects as well
* change default captive portal detection url to
  'detectportal.firefox.com'

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 380a5110b4)
2021-07-27 14:05:21 +02:00
Stan Grishin
aacfbe1534
Merge pull request #16145 from stangri/21.02-vpn-policy-routing
[21.02] vpn-policy-routing: update to 0.3.5-1
2021-07-26 20:36:14 -07:00
Dirk Brenken
877b652147
adblock: bugfix 4.1.3-3
* fix regex to prepare google safesearch domains

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 69a2a68c31)
2021-07-26 20:01:09 +02:00
Michal Hrusecky
979464c6a1
net/snort3: Include default configs and snort2lua
Include default configuration files to have something to start from.
Also include snort2lua to help convert snort2 rules to snort3 to also
help with bootstrapping the configuration.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2021-07-22 14:15:53 +02:00
Scott Lamb
17c4b03320
ddns-scripts: use https for google ipv6 ddns url
This matches an ipv4 change in 21f5cdd2fa and has the same rationale.
Google requires https for both ipv6 and ipv6.

Signed-off-by: Scott Lamb <slamb@slamb.org>
(cherry picked from commit e5f45b94c0)
2021-07-21 23:54:17 +02:00
George Iv
fc598339c6 yggdrasil: bump to 0.4.0
- Bump yggdrasil-go version to v0.4.0
- Update ygguci tool for compatibility with the new yggdrasil-go version
- Yggdrasil's config file is now generated in a separate command before running the daemon

Signed-off-by: George Iv <zhoreeq@users.noreply.github.com>
(cherry picked from commit e135c4c867)
2021-07-20 20:57:25 -07:00
Rosen Penev
8d20c9ff4d
Merge pull request #16165 from stangri/21.02-vpnbypass
[21.02] vpnbypass: update to 1.3.2-1
2021-07-20 20:55:51 -07:00
Stan Grishin
4ea887e643 vpnbypass: updates to 1.3.2-1
bugfix: domain names bypass
rename config file
update Makefile
updated README link
updated shellcheck compatibility
support for 21.02.0-rc2 and later
updated code for interface triggers
add newline to test.sh

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-07-20 21:23:41 +00:00
Josef Schlehofer
5e69e41081
Revert "net/miniupnpd: ext_ip_reserved_ignore support"
This patch is causing several issues [1], which then were reported to
upstream [2] and it was not accepted by upstream [3]. This results that
nobody maintain this custom patch and it is not useful as it is changing
addr_is_reserved behavior.

[1] https://github.com/openwrt/packages/issues/15258
[2] https://github.com/miniupnp/miniupnp/issues/542
[3] https://github.com/miniupnp/miniupnp/pull/511

This reverts commit b76aa99194.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 107f3376b5)
2021-07-20 10:25:21 +02:00
Jan Hak
117c6bf761
knot: update to version 3.0.8
Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit 5f374929cf)
2021-07-20 09:40:04 +02:00
Jan Hak
1c69a52703
knot: update to version 3.0.7
Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit 8d66f49bae)
2021-07-20 09:39:55 +02:00
Stan Grishin
48576dba7a vpn-policy-routing: update to 0.3.5-1
support for 21.02.0-rc2 and up
support for reloading a single interface on ifup/ifupdate
rename config file
updated shellcheck compatibility
remove obsolete create/remove_lock
interface processing optimizations to speed up reloads
drop dependency on curl in user scripts
uniform styling of functions

Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-07-18 00:33:57 +00:00
Rosen Penev
e67f5868a7
Merge pull request #16125 from jefferyto/addrwatch-fixes-openwrt-21.02
[openwrt-21.02] addrwatch: Various fixes
2021-07-15 11:42:00 -07:00
Nick Hainke
dd1930f032 dawn: update to 2021-07-11
ec9a3a9 fix GCC11 compilation

Thanks to neheb and cotequeiroz.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit ee4616fb43b489003cab957e3a2d6f5f14c6fb97)
2021-07-15 18:58:07 +02:00
Nick Hainke
c6fcfda213 dawn: update to 2021-07-08
555268b ubus: filter neighbors by SSID when preparing nr
3db9607 data storage: match SSID when searching ap entry
a22f5a7 storage: ensure SSID strings are NULL-terminated

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 163ccbf0236824b29fd2158d3a287dda5e427b00)
2021-07-15 18:58:07 +02:00
Jeffery To
cc78ba6b58
addrwatch: Various fixes
Makefile changes include:

* Remove USE_UCLIBC, as uclibc is no longer supported

* Package output modules

* Move main binary (back) to /usr/sbin, as it is system administration
  related and requires superuser privileges

New patches:

* 003-add-space-for-null-byte.patch - from
  374cfd2cab

* 004-more-specific-library-linking.patch - from
  27b57d9da3

* 005-use-c99-format-macro-constants.patch - from
  https://github.com/fln/addrwatch/pull/28

Init script changes include:

* Change from explicit disable to explicit enable, so that the service
  is disabled by default and on first install

* Set config option default values to default values of the main binary

* Fix command-line option names and format (from
  https://forum.openwrt.org/t/cant-start-addrwatch-service/60499/3)

* Always use the --quiet command-line option, as the procd instance is
  not configured to capture stdout/stderr

* Change the syslog config option to start the syslog output module

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 31ae85bca9)
2021-07-15 15:51:35 +08:00
James Vorderbruggen
6a24f88c3b yggdrasil: allow HTTPS connections
Signed-off-by: James Vorderbruggen <jamesvorder@gmail.com>
(cherry picked from commit ffff347396)
2021-07-14 12:27:58 -07:00
George Iv
0a5ab68823 yggdrasil: bump to 0.3.16
Signed-off-by: George Iv <zhoreeq@users.noreply.github.com>
(cherry picked from commit 76b642b50f)
2021-07-14 12:27:58 -07:00
Etienne Champetier
1954ed36ab openvpn: enable LZO support by default for OpenSSL variant
User that don't control both OpenVPN client and server
might still need LZO support, so keep it enable by default for at least
OpenSSL variant.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 03c3c92496)
2021-07-13 11:51:46 -04:00
Florian Eckert
f584949682 mwan3: bump PKG_VERSION to 2.10.11
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 44d79147ea)
2021-07-12 09:53:48 +02:00
Florian Eckert
7e71550f14 mwan3: add troublshoot command from LuCI
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 619b721c2f)
2021-07-12 09:53:25 +02:00
Florian Eckert
4f5b05ab8c mwan3: cleanup help output
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit a9dac71e3d)
2021-07-12 09:53:06 +02:00
Rosen Penev
56d7a225e2
apache: update to 2.4.48
Refreshed patch.

Fixes:

CVE-2019-17567
CVE-2020-13938
CVE-2020-13950
CVE-2020-35452
CVE-2021-26690
CVE-2021-26691
CVE-2021-30641
CVE-2021-31618

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 6dfd07097d)
2021-07-11 12:00:52 +02:00
Rosen Penev
bed3caea8a
Merge pull request #16093 from Andy2244/samba-4.14.5_(21)
[21.02] samba4: update to 4.14.5
2021-07-11 00:10:49 -07:00
Rosen Penev
e490f89de7
Merge pull request #16091 from Andy2244/rpcbind-1.2.6_-21]
[21.02] rpcbind: update to 1.2.6
2021-07-11 00:10:36 -07:00
Rosen Penev
1d662b100a
Merge pull request #16090 from Andy2244/softethervpn-5.02.5180_(21)
[21.02] softethervpn5: update to 5.02.5180
2021-07-11 00:10:32 -07:00
Rosen Penev
e36ffd6a65
Merge pull request #16094 from Andy2244/wsdd2-git-2021-06-28_(21)
[21.02] wsdd2: update to git 2021-06-28
2021-07-11 00:10:26 -07:00
Daniel Golle
e11d70d0c0
transmission: add new syscalls to seccomp filter
Testing showed that additional syscalls are needed on ARMv7.
Add "getegid32", "geteuid32", "getgid32" and "getrandom" as they are
all innocent.
Bump PKG_RELEASE.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 1141ee1e51
and commit a78e527012)
2021-07-10 22:58:48 +01:00
Andy Walsh
3ac73fa18b wsdd2: update to git 2021-06-28
* update to git 2021-06-28
* add extra startup delay

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-07-10 21:11:11 +02:00
Andy Walsh
7723235f47 samba4: update to 4.14.5
* update to 4.14.5
* refresh patches

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-07-10 21:09:29 +02:00
Andy Walsh
a2a9702f8a softethervpn5: update to 5.02.5180
* update to 5.02.5180
* add dep: libsodium

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-07-10 21:07:47 +02:00
Andy Walsh
104af774c6 rpcbind: update to 1.2.6
* update to 1.2.6
* remove upstream merged patch

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-07-10 20:56:50 +02:00
Daniel Golle
033b04ee70 mwan3: use default routes from additional tables
Until now the additional tables listed in gobal 'rt_table_lookup' were
not considered for interfaces.
In order to be able to also use interface-defined routes from tables
other than main, consider also tables listed in 'rt_table_lookup'.
Update version to 2.10.10 as requested by maintainer.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit cb02b42007)
2021-07-06 08:00:17 +02:00
Nikos Mavrogiannopoulos
bfd2ad7a09
Merge pull request #16015 from DeathCamel58/openconnect-backport-iconv/intl-fixes
openconnect: backport iconv/intl fix
2021-07-05 19:43:08 +02:00
Olivier Poitrey
63ca71937f nextdns: Update to version 1.34.2
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-07-02 18:54:54 +00:00
Dylan Corrales
7d9210015d openconnect: backport iconv/intl fix
This was pulled from #14741. #14734 affects me as well on Debian 11.

Signed-off-by: Dylan Corrales <deathcamel58@gmail.com>
2021-07-02 12:11:03 -04:00
Dirk Brenken
c2657a2e96
adblock: update 4.1.3-2
* add a tcpdump option to resolve IPs in adblock reporting,
  set 'adb_represolve' accordingly (disabled by default). If enabled
  tcpdump will perform a reverse DNS (PTR) lookup for each IP address
* add 'stalkerware' source (provided by @astryzia)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e5fd19d2e0)
2021-07-01 06:31:56 +02:00
Olivier Poitrey
24e67d6fa7 nextdns: Update to version 1.33.11
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-06-26 18:00:32 +00:00
Dirk Brenken
4692a31beb
travelmate: startup fixes
* fix a possible race condition during boot
* use the new "device" syntax in the network wizard

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e407566cce)
2021-06-25 23:19:21 +02:00
Magnus Kroken
29eab35c68 openvpn: update to 2.5.3
Remove upstreamed patch and fix test.sh script.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
2021-06-23 22:00:04 +02:00
Alexandru Ardelean
1216b02d4b tcpreplay: bump to version 4.3.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 7436d944fa)
2021-06-22 14:33:16 +02:00
Florian Eckert
1e01952ce8 ddns-scripts: get l3 device for bind network using curl
If pppoe is used for wan access. script set 'eth1' as interface for curl
call. The correct interface is however 'pppoe-wan'.

The script uses 'network_get_physdev' function to get real device for
bind_network but this is wrong. We need instead the l3_device of the the
logical interface.

In case if we don't use pppoe connection - 'l3_device' is equal to real device.

This was reported by the github user `welderpb` with P/R:
 https://github.com/openwrt/packages/pull/14431

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 036079b308)
2021-06-22 10:24:49 +02:00
Wenli Looi
99f838dd6d ddns-scripts: Fix for domains with dash
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
(cherry picked from commit 9e2aad3fde)
2021-06-22 10:24:38 +02:00
Wenli Looi
12cd693294 ddns-scripts: Fix for wildcard subdomain
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
(cherry picked from commit 93344aafa0)
2021-06-22 10:24:12 +02:00
Miroslav Lichvar
c45c0a1d40 chrony: fix uci NTP access configuration
The chrony interface hotplug script reuses the handle_allow function
from the init script to allow NTP access on interfaces specified in uci.
The function requires /lib/functions/network.sh. Include the file in the
hotplug script to make the function work as expected.

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2021-06-19 13:32:16 +02:00
Jan Pavlinec
1cc5bad232
knot-resolver: change scheduling priority
This should prevent some resolving issues by other router app.

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 1d1eca32db)
2021-06-18 17:25:24 +02:00
Andy Walsh
77d5d0cba4
samba4: update to 4.13.9
* update to 4.13.9

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(cherry picked from commit 2057fc9ee4)
2021-06-18 17:25:15 +02:00
Dirk Brenken
26be379c82
banip: refine/fix nginx search pattern
* fix issue with nginx search pattern reported in forum support thread

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 0c16840e26)
2021-06-17 22:28:29 +02:00
Dirk Brenken
7d8213dc8d
banip: update 0.7.9
* add switch 'ban_fetchinsecure' to allow insecure downloads
  without certificate check (disabled by default)
* better explain 'ban_fetchparm' in readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 945513860d)
2021-06-14 06:35:34 +02:00
Dirk Brenken
45935d65a8
adblock: update 4.1.3
* fix a small json syntax issue in adblock.sources
* add easylist addon to reg_fr source
* add switch 'adb_fetchinsecure' to allow insecure downloads
  without certificate check (disabled by default)
* better explain 'adb_fetchparm' in readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 74dec65b61)
2021-06-14 06:33:18 +02:00
Karl Palsson
dbc5434a42 net/mosquitto: Update to 2.0.11
This is a security and bugfix release.

Full release notes: https://mosquitto.org/blog/2021/06/version-2-0-11-released/

Fixes a remotely triggered memory leak
Fixes broker reconnections in certain failure situations
Fixes (non-standard) qos0 queuing

Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-06-11 15:30:50 +00:00
Nick Hainke
5342be8198 samplicator: add samplicator
Samplicator receives UDP datagrams on a given port and resends those
datagrams to a specified set of receivers.

Use Cases:
- replicate Flow Samples to multiple receivers
- use with conntrackd to synchronize via unicast to multiple targets

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 41534e5a19)
2021-06-10 11:58:52 +02:00
Stan Grishin
e548667f14 https-dns-proxy: update to 2021-06-03-1
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-06-04 23:34:08 +00:00
Tianling Shen
cef1cdaa2a
xray-core: bump geodata to latest version
Also removed `fullcone` option as this is outdated.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 53bbfe4de5)
2021-06-04 20:49:18 +08:00
James White
f63872382b iperf3: Update to version 3.10.1
Signed-off-by: James White <james@jmwhite.co.uk>
2021-06-03 09:09:58 +01:00
Rosen Penev
aa0382f440
Merge pull request #15760 from stangri/21.02-miniupnpd
miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar
2021-06-02 20:23:24 -07:00
Nikos Mavrogiannopoulos
df351ba9c9 ocserv: updated to 1.1.3
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2021-06-02 09:08:24 +02:00
Rosen Penev
32e56591c3
Merge pull request #15727 from stangri/21.02-https-dns-proxy
[21.02] https-dns-proxy: 2021-05-14 bugfix: fallback to HTTP/1 by default
2021-06-01 22:08:59 -07:00
Stan Grishin
cf5b982fe3 miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-06-02 04:56:56 +00:00
Stan Grishin
dab3db6218 https-dns-proxy: 2021-05-14 bugfix: fallback to HTTP/1 by default
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-06-02 04:32:25 +00:00
Rosen Penev
ac7b1eff06
Merge pull request #15658 from mattreeve/openwrt-21.02
[21.02] rsync: Add rrsync script
2021-06-01 16:58:28 -07:00
Peter Stadler
52bfda48d5 nginx-util: do not use fallthrough attribute
fixes issue #15653

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
(cherry picked from commit 49a84e9b22)
2021-05-31 17:25:22 -07:00
Rosen Penev
6ee4be3d2d
Merge pull request #15638 from ErwanMAS/2102_tinc_allow_more_param_in_uci
[21.02] tinc: allow more parameter in uci
2021-05-29 16:04:04 -07:00
Stan Grishin
05d9528ad2 https-dns-proxy: update to 2021-05-14-1; bugfixes for dhcp server backup
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-05-29 20:12:18 +00:00
Noah Meyerhans
5f181154a5
bind: bump to 9.17.13
Signed-off-by: Noah Meyerhans <frodo@morgul.net>
(cherry picked from commit 2e02d899ae)
2021-05-28 07:45:43 +02:00
Jan Pavlinec
535e9f534e
curl: update to version 7.77.0 (security fix)
Fixes:
CVE-2021-22897
CVE-2021-22898
CVE-2021-22901

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit ff58fc3a9c)
2021-05-27 17:03:37 +02:00
Matt Reeve
f9876aa81b rsync: Add rrsync script
Rrsync is a perl script that is supplied as an extra with the rsync program.
It must be used in conjunction with openssh-server or openssh-server-pam
as it requires ~/.ssh/authorized_keys which is not supported by dropbear.

Rrsync allows selective access to subdirectories in either read-only, write-only or read-write mode,
depending on settings in authorized_keys. This allows for safer, restrictive access.
It's particularly useful for automated backup purposes.

An example usage would be this entry:

command="/usr/bin/rrsync -ro /home" <public key here>

This would allow a system connecting with this public key to be able to rsync FROM the
/home directory tree only. It could not write to this directory, nor read from any other directory.

Signed-off-by: Matt Reeve <matt@mreeve.com>
(cherry picked from commit 081229aa09)
2021-05-19 09:51:14 +01:00
Jan Hoffmann
a9a6f50c03 vnstat2: update to version 2.7
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2021-05-18 21:51:03 +03:00
Erwan MAS
f7ce67e29d tinc: Add possibility to populate more config variables via uci
Signed-off-by: Erwan MAS <erwan@mas.nom.fr>
2021-05-17 20:19:44 -04:00
Rosen Penev
b86383f038
znc: update to 1.8.2
Switch to CMake + Ninja to fix parallel compilation.

Switched PKG_BUILD_DIR to use PKG_INSTALL_DIR for easier readability.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b92f2c2bee)
2021-05-16 14:39:39 +02:00
Jan Pavlinec
a4c39c931c
knot-resolver: update to version 5.3.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 112af34ff3)
2021-05-14 21:49:39 +02:00
Jan Hak
bba31b1b5b
knot: update to version 3.0.6
Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit d578f60818)
2021-05-14 21:48:06 +02:00
Jan Hak
ab9286520b
knot: update to version 3.0.5
Signed-off-by: Jan Hak <jan.hak@nic.cz>
(cherry picked from commit d92a2cd21b)
2021-05-14 21:47:59 +02:00
Ansuel Smith
dc90d02b47
atlas-sw-probe: fix missing link on sysupgrade
Recreate symbolic link if it's missing after a sysupgrade with a private and public key present in /etc/atlas/

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 6031330749)
2021-05-14 21:47:31 +02:00
Miroslav Lichvar
2bd0bed011 chrony: update to 4.1
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2021-05-14 08:08:03 +02:00
Jan Pavlinec
dae3432f7e
onionshare-cli: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit ae069fad3d)
2021-05-08 01:12:38 +02:00
Jan Pavlinec
a727f9692f
tailscale: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 229b34286d)
2021-05-08 01:12:03 +02:00
Ansuel Smith
692b87b44c
atlas-sw-probe: improve key creation
- Exit start if a probe_key is not present
- Add create_key command to generate a private_key based on the provided username in the atlas config.
- Add registration instruction in /etc/atlas
- Rework script to save probe_key on sysupgrade (the key are now adviced to be placed in the /etc/atlas dir and a link is used to make them accessible in the atlas-sw-scripts etc dir)

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 0afe371bab)
2021-05-08 01:08:14 +02:00
Andy Walsh
29ad9f1ee6
samba4: update to 4.13.8
* update to 4.13.8
* remove faulty io_uring kernel detection
* fixes CVE's: CVE-2020-27840, CVE-2021-20277, CVE-2020-27840, CVE-2021-20277, CVE-2020-27840, CVE-2021-20277, CVE-2021-20254
* resolves #15512

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(cherry picked from commit 93b34d4dda)
2021-05-08 01:06:28 +02:00
Jan Pavlinec
8f15e531f9
unbound: add cache-max-negative-ttl config option
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 9296409e88)
2021-05-08 01:06:07 +02:00
Noah Meyerhans
1b6abeb46f
bind: bump to 9.17.12
Fixes the following security issues:

* CVE-2021-25215 - named crashed when a DNAME record placed in the ANSWER
                   section during DNAME chasing turned out to be the final
                   answer to a client query.
* CVE-2021-25214 - Insufficient IXFR checks could result in named serving a
                   zone without an SOA record at the apex, leading to a
                   RUNTIME_CHECK assertion failure when the zone was
                   subsequently refreshed. This has been fixed by adding an
                   owner name check for all SOA records which are included
                   in a zone transfer.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
(cherry picked from commit ccb1e8923e)
2021-05-08 01:05:42 +02:00
Aaron Goodman
2a1c0e11d4 mwan3: allow interfaces with no tracking IPs
In the procd refactor, support for interfaces with no tracking IPs was
inadvertentiy removed. This commit restores the previous behavior

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit b7ea19bc96)
2021-05-06 12:20:18 +02:00
Florian Eckert
1103ba54b6 mwan3: update ubus status for not tracked interfaces
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit f1da872cd4)
2021-05-06 12:20:07 +02:00
Florian Eckert
e3e651b11e mwna3: fix whitespace
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit cbc5f0916c)
2021-05-06 12:19:58 +02:00
Dirk Brenken
a69f07e5d8
banip: update to 0.7.8
* fix pid file processing of the background monitor plus child
  processes (bug reported in the forum)
* made the enabled/disabled switch of the background monitor functional

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1402b3b56d)
2021-05-04 20:09:33 +02:00
Christian Lachner
e9def406bb haproxy: Update HAProxy to v2.2.14
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-05-01 17:24:08 +03:00
Olivier Poitrey
d8c63ce29f nextdns: Update to version 1.32.1
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-04-30 17:26:49 -07:00
Dirk Brenken
d37803dc29
adblock: update to 4.1.2
* preserve DNS cache after adblock processing (unbound & bind)
* fix redirect issue with oisd basic url
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit df8651255f)
2021-04-30 17:09:06 +02:00
Rosen Penev
8a692578c5
Merge pull request #15526 from 1715173329/xray-2102
[openwrt-21.02] xray-core: remove PROVIDES
2021-04-28 17:25:53 -07:00
Moritz Warning
c2be25ea10 zerotier: update to 1.6.5
Minor ZeroTier update. Refreshed patches.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-04-28 17:21:12 -07:00
Wong Hoi Sing Edison
d7f8f02574
squid: Enable dynamic SSL certificate generation
Maintainer: @neheb / @BKPepe / @zhanhb
Compile tested: ipq806x, generic, netgear_r7800, master
Run tested: ipq806x, generic, netgear_r7800, openwrt-19.07

Description:

Squid now only support HTTPS proxy in TCP tunnel mode (e.g. `ssl_bump splice all`):

    https_port 3128 ssl-bump tls-cert=/etc/squid/squid.pem generate-host-certificates=on
    ssl_bump splice all

In order to operate in SSL Bump mode, we need to compile with `--enable-ssl-crtd` for following configuration:

    https_port 3128 ssl-bump tls-cert=/etc/squid/squid.pem generate-host-certificates=on
    sslcrtd_program /usr/lib/squid/security_file_certgen -s /car/cache/squid/ssl_db -M 4MB
    ssl_bump stare all
    ssl_bump bump all

This PR switch the `SQUID_enable-ssl-crtd` into `default y`, therefore default enable SSL Bump mode.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
(cherry picked from commit dbda77686d)
2021-04-28 11:28:40 +08:00
Tianling Shen
fee6ee1c8e
xray-core: use $(INSTALL_DATA) to install configuration files
Using `$(INSTALL_CONF)` will cause the program has no access to
configurations file when someone enabled the selinux support.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from bbc6c62c2a)
2021-04-27 20:35:39 +08:00
Tianling Shen
b75f619031
xray-core: remove PROVIDES
Xray now is no longer planning to keep compatibility with original
v2ray. Remove PROVIDES before it is totally broken.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from 92efcc2956)
2021-04-27 20:35:20 +08:00
Karl Palsson
407ef4d534 net/mosquitto: port is optional in root config
From mosquitto 2.x, port became optional and deprecated in the config,
and it was recommended that listeners be used instead.  Drop the hard
requirement in our config conversion script.

Reported in: https://github.com/openwrt/packages/issues/15506
Signed-off-by: <karlp@etactica.com>
2021-04-26 09:38:42 +00:00
Karl Palsson
547687319c net/mosquitto: fix log_type conversion in config
As reported in: https://github.com/openwrt/packages/issues/15506

Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-04-26 09:38:42 +00:00
Rosen Penev
0ed095a527 ksmbd-tools: update to 3.3.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 2e7c403fff)
2021-04-24 02:19:33 -07:00
Glenn Strauss
a3596cb8a7 lighttpd: patches from upstream
- ignore Content-Length from backend if 101 Switching Protocols
- close HTTP/2 connection after bad password
- skip cert chain build for self-issued certs
- meson zstd fix
- ls-hpack upstream update
- discard some HTTP/2 DATA frames received after response

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 52f85a0e1f)
2021-04-24 01:05:25 -07:00
Dirk Brenken
a0a6f09447
banip: fix housekeeping
* fix whitelist housekeeping if you switch between normal- and
  'whitelist only' mode

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 7cfb0f4657)
2021-04-23 17:46:29 +02:00
Florian Eckert
7a628d1432
Merge pull request #15502 from TDT-AG/pr/20210422-stunnel
stunnel: update version to 5.59
2021-04-23 11:36:22 +02:00
Magnus Kroken
22b2389989 openvpn: update to 2.5.2
Fixes two related security vulnerabilities (CVE-2020-15078) which
under very specific circumstances allow tricking a server using delayed
authentication (plugin or management) into returning a PUSH_REPLY before
the AUTH_FAILED message, which can possibly be used to gather
information about a VPN setup. In combination with "--auth-gen-token" or
a user-specific token auth solution it can be possible to get access to
a VPN with an otherwise-invalid account.

OpenVPN 2.5.2 also includes other bug fixes and improvements.

Add CI build test script.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
(cherry-picked from 6186fe732b)
2021-04-22 20:36:22 +02:00
Florian Eckert
cad3d2012c stunnel: update to 5.59
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2d56dbfc27)
2021-04-22 17:55:33 +02:00
Florian Eckert
7a7bfa8832 stunnel: update to 5.58
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 389c7f12cb)
2021-04-22 17:55:28 +02:00
Dirk Brenken
cf1ed852b9
banip: update to 0.7.7
* add a "whitelist only" mode, this option allows to restrict Internet
  access from/to a small number of secure websites/IPs, and block access
  from/to the rest of the Internet.

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 515397b009)
2021-04-22 05:51:21 +02:00
Rosen Penev
99cef20e91
Merge pull request #15478 from rs/nextdns-1.32.0-openwrt-21.02
[21.02] nextdns: Update to version 1.32.0
2021-04-20 17:29:49 -07:00
Jan Pavlinec
5231e7d6b2
atlas-sw-probe: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit c65a659e6d)
2021-04-20 18:44:42 +02:00
Jan Pavlinec
5ebbf7fb40
atlas-probe: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit cb30c106c0)
2021-04-20 18:44:37 +02:00
Olivier Poitrey
e4584c311d nextdns: Update to version 1.32.0
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-04-20 15:08:40 +00:00
Olivier Poitrey
5aef437506 nextdns: Update to version 1.12.5
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-04-20 01:38:41 +00:00
Olivier Poitrey
e60797171c nextdns: Update to version 1.12.3
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-04-19 23:23:44 +00:00
Olivier Poitrey
222f0838d9 nextdns: Update to version 1.31.3
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-04-19 22:50:29 +00:00
Dirk Brenken
c6046dd390
adblock: update to 4.1.1
* support the RPZ trigger 'RPZ-CLIENT-IP' to always allow/block certain
  clients based on their IP (currently only supported by bind!)
* avoid promiscuous mode in tcpdump setup for adblock reporting
* speed up dns report preparation
* support dns report mailing (/etc/init.d/adblock report mail)
* fix bind autodetection
* update LuCI-frontend (separate PR)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit c531b6daea)
2021-04-18 21:12:10 +02:00
Rosen Penev
989d3320c1
squid: update to 4.14
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 682aebbaea)
2021-04-18 20:46:55 +02:00
Josef Schlehofer
1d835ebcdd
clamav: add libiconv dependencies when build with NLS
NLS means Native Language Support and when you have it enabled (it is
not default), clamav can not be compiled as it shows following error:

Package clamav is missing dependencies for the following libraries:
libiconv.so.2

Also, it is required that package libiconv-full is compiled first/before
than clamav and then try to compile clamav.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 87be6ffe60)
2021-04-15 17:12:41 +02:00
Luiz Angelo Daros de Luca
c1b697a64b openvpn-easy-rsa: add missing configfile
/etc/profile.d/50-openvpn-easy-rsa.sh was not listed as configfile
and changes were lost during upgrades.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit b0663e2959ff9dc37d0273aa3240a2ef0ed3c611)
2021-04-14 19:10:34 -07:00
Jo-Philipp Wich
1a169546f2 bonding: accept list of slaves in uci list notation
Rework the bonding.sh protocol handler to accept slave interface names
encoded in uci list notation. Also replace ifconfig up/down with ip
link calls while we're at it.

Fixes: #11455
Fixes: https://github.com/openwrt/luci/issues/4473
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 57a77386de)
2021-04-13 09:44:33 +02:00
Gregory L. Dietsche
9ed6335671
safe-search: prevent duplicate cron job installation
This patch prevents multiple cron jobs from being created to run the
safe-search-maintenance script.

To reproduce this bug, perform the following:
  - Install safe-search
  - Perform an OpenWRT firmware upgrade (choose to preserve user settings)
  - Install safe-search again

Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
(cherry picked from commit 49535edffd)
2021-04-11 10:04:39 +02:00
Stan Grishin
4dd677a89b https-dns-proxy: bugfix: race condition with dnsmasq
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-04-10 22:38:45 -07:00
Stan Grishin
da5df7542f simple-adblock: update to 1.8.7-3
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-04-10 17:08:57 -07:00
Dirk Brenken
e19f158a4b
adblock: fix games_tracking source url
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit ec20e9df96)
2021-04-09 18:46:19 +02:00
Josef Schlehofer
6a437bac7d
Merge pull request #15372 from farmergreg/21.02-safe-search
[21.02] safe-search: check for changed IP addresses weekly
2021-04-08 23:30:28 +02:00
Greg Dietsche
fc63fa7adb family-dns: Correct Reference to IPKG_INSTROOT
IPKG_INSTROOT was misspelled.

Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
(cherry picked from commit 1569131f95)
2021-04-08 15:55:17 -05:00
Gregory L. Dietsche
1f81b07d86 safe-search: check for changed IP addresses weekly
The current default of hourly is too fast. Some services such as
DuckDuckGo return IPs from a pool based on the user's location instead
of a fixed IP address. This change prevents unnecessary writes to the
flash memory by only updating once per week.

Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
(cherry picked from commit 7164ccf155)
2021-04-08 15:53:19 -05:00
Jo-Philipp Wich
3ba100928a openvpn: fix invoking user up & down commands from hotplug wrapper
This commit adds a number of fixes to the OpenVPN up/down hotplug command
wrapper which currently fails to actually invoke user defined up and down
commands for uci configurations not using external native configurations.

 - Use the `--setenv` to pass the user configured `up` and `down` commands
   as `user_up` and `user_down` environment variables respectively

 - Instead of attempting to scrape the `up` and `down` settings from the
   (possibly generated) native OpenVPN configuration in
   `/etc/hotplug.d/openvpn/01-user`, read them from the respective
   environment variables instead

 - Fix parsing of native configuration values in `get_openvpn_option()`;
   first try to parse a given setting as single quoted value, then as
   double quoted and finally as non-quoted, potentially white-space
   escaped one. This ensures that `up '/bin/foo'` is interpreted as
   `/bin/foo` and not `'/bin/foo'`

Ref: https://forum.openwrt.org/t/openvpn-up-down-configuration-ignored/91126
Supersedes: #15121, #15284
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry-picked from commit 7f065a94bb)
2021-04-07 22:54:36 +02:00
Alexander Egorenkov
00db3d345f openvpn: add OpenVPN option server-poll-timeout
See https://www.mankier.com/8/openvpn#--server-poll-timeout

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry-picked from commit 5789faab67)
2021-04-07 22:54:36 +02:00
Magnus Kroken
f5c82550da openvpn: update to 2.5.1
Set myself as maintainer.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
(cherry-picked from commit 204c0901b8)
2021-04-07 22:54:36 +02:00
Jan Pavlinec
6241ec3f62
curl: update to version 7.76.0
Fixes CVE-2021-22876 and CVE-2021-22890

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit b971310549)
2021-04-07 14:19:54 +02:00
Jan Pavlinec
ed91ba746a
knot-resolver: update to version 5.3.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 3e3025b191)
2021-04-07 14:18:53 +02:00
Rosen Penev
454280ae49 ksmbd-tools: update to 3.3.8
Major changes are:
  disable symlink by default.
  remove smack inherit leftovers.
  Enable guest access on IPC$ share by default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit c6fa2d5bfa)
2021-04-07 00:48:57 -07:00
Kirill Nikolaev
40d885de8e ksmbd-tools: Add a mDNS TXT record for the ksmbd service
MacOS ignores Bonjour services for which TXT records are not returned. This changes forces umdns service to return a TXT record (`daemon=ksmbd`) for the ksmbd service. The exact content is unimportant and to the best of my knowledge nothing reads the `daemon` tag.

Symptoms of the problem (which are also debugging steps):
* Finder refuses to open the OpenWRT "computer" in the Network list.
* Discovery.app (Bonjour Browser) lists the _ssh._tcp service, but the submenu for it doesn't unfold and no address is shown.
* `dns-sd -L OpenWrt _smb._tcp` doesn't return any address.

Signed-off-by: Kirill Nikolaev <cyril7@gmail.com>
(cherry picked from commit 272b0a5c18)
2021-04-07 00:48:57 -07:00
Sven Roederer
b007b4854c xinetd: honor ${IPKG_INSTROOT} when sourcing /lib/functions.sh
Avoid "file not found"-error when embedding via Imagebuilder.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
(cherry picked from commit bdab7e6bfe)
2021-04-07 08:33:45 +02:00
Philip Prindeville
27caf23cc4 strongswan: bump to 5.9.2
Retire weak algorithms like MD5 and 3DES.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit ae3d5aa73e)
2021-04-06 16:05:19 -07:00
Philip Prindeville
11e289b48b strongswan: force PIC on all builds
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit a72780a9c2)
2021-04-06 16:05:19 -07:00
Philip Prindeville
57836bb7d0 strongswan: migrate to swanctl configs
Derived from the ipsec initd script, with the following changes:

(1) various code improvements, corrections (get rid of left/right
    updown scripts, since there's only one), etc;
(2) add reauth and fragmentation parameters;
(3) add x.509 certificate-based authentication;

and other minor changes.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit f9d91f1f47)
2021-04-06 16:05:19 -07:00
Philip Prindeville
a6eaab4553 strongswan: remove synthesized ipsec conf files
If you shutdown ipsec service, and it doesn't clean up
/var/ipsec/ipsec.conf, then when you start swanctl service it
might see an incompatible file on startup.  Remedy is to
remove unneeded files when shutting down the service.  They
can always be regenerated when the service starts again.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit baa38a1420)
2021-04-06 16:05:19 -07:00
Philip Prindeville
c5335e865d strongswan: move ipsec conf files to subpackage
These config files are only used by the ipsec interface to charon,
and shouldn't be part of the base package.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit e626255b37)
2021-04-06 16:05:19 -07:00
Philip Prindeville
56feabdcdc strongswan: make the include's in the .conf files persistent
Having scripts diddle user written config files seems potentially
dangerous.  Plus there's really no downside to including some
empty files.  Best to just make the includes be permanent.

Additional feature suggested by Luiz: if a -opkg version of the
config file was created unnecessarily, remove it as part of the
upgrade process since changes won't be happening to that file
as an artifact of the service starting.  The include lines are
now permanent, which means that (1) additional configuration
synthesized by UCI won't be anywhere that opkg (or sysupgrade,
for that matter) cares about since it won't be persistent, and
(2) if changes are being made, then they're being done by a
person with an editor and they really should be distinguished.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 643df01275)
2021-04-06 16:05:19 -07:00
Philip Prindeville
2983a7f9ef strongswan: change maintainers
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 0bd4410e30)
2021-04-06 16:05:19 -07:00
Philip Prindeville
cc8a4252b1 strongswan: fix local_gateway discovery
This has been observed by myself and @luizluca: ip route get is
appending uid0 to the output, as seen from:

root@OpenWrt2:~# ip route get 1.1.1.1
1.1.1.1 via 174.27.160.1 dev eth3 src 174.27.182.184 uid 0
    cache
root@OpenWrt2:~#

so the fix is an anchored match, discarding all else. Also, using
ip -o means never having to do multiline matches...

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit ec72d3a9e4)
2021-04-06 16:05:19 -07:00