Commit graph

9593 commits

Author SHA1 Message Date
Tiago Gaspar
651a578cac miniupnpd: update and fix nftables variant
Update the package to a commit that fixes an issue with removing PCP
mappings from nftables.
This also allows us to fix the nftables miniupnpd implementation on
openwrt.
In this new implementation, a table is created at the start of miniupnpd
and it is dedicated to miniupnpd with a priority above the firewall4
table. This allows miniupnpd to go ahead of the drop rules of firewall4
and forward traffic as needed. There was the possibility of adding a
chain inside the firewall4 table, but this would raise an issue where
if firewall4 was reloaded the port forwardings would be lost and
miniupnpd could be out of sync. When miniupnpd is stopped the table is
deleted, taking the port forwardings with it.

Some of this commit is based of msylgj's work, mainly the logic of the
init/hotplug scripts and the makefile build parameters.

Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2022-08-25 00:40:19 -07:00
Hauke Mehrtens
1d795f2c1e gnunet-fuse: Fix compile with glibc
Always use pthread_mutexattr_settype() the
pthread_mutexattr_setkind_np() function is not available in the
glibc and musl version used by OpenWrt.

This fixes the following compile error:
arc-openwrt-linux-gnu/bin/ld: gnunet_fuse-mutex.o: in function `GNUNET_mutex_create':
mutex.c:(.text+0x14): undefined reference to `pthread_mutexattr_setkind_np'
arc-openwrt-linux-gnu/bin/ld: mutex.c:(.text+0x14): undefined reference to `pthread_mutexattr_setkind_np'
arc-openwrt-linux-gnu/bin/ld: mutex.c:(.text+0x76): undefined reference to `pthread_mutexattr_setkind_np'
arc-openwrt-linux-gnu/bin/ld: mutex.c:(.text+0x76): undefined reference to `pthread_mutexattr_setkind_np'
collect2: error: ld returned 1 exit status

This patch was taken from:
https://aur.archlinux.org/cgit/aur.git/plain/pthread_mutexattr_settype.patch?h=gnunet-fuse

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-25 00:37:54 -07:00
Toke Høiland-Jørgensen
a69e80648a sqm-scripts: Bump to v1.5.2
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-08-24 16:41:22 +02:00
Jianhui Zhao
33a93e20a6 nginx: support gzip static mudule
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-08-23 22:19:07 -07:00
Tianling Shen
3c43f65ae9 v2raya: Update to 1.5.9.1698.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-23 21:18:29 -07:00
Peter van Dijk
dc1ab96f60 pdns-recursor: update to 4.7.2
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2022-08-23 21:15:54 -07:00
Stan Grishin
efc1ab0700
Merge pull request #19212 from stangri/master-simple-adblock
simple-adblock: update to 1.9.0-1
2022-08-24 03:03:38 +03:00
Daniel Bermond
58b3857a5a i2pd: update to version 2.43.0
Maintainer   : @yangfl (David Yang)
Build system : Arch Linux x86_64
Build tested : r7800 OpenWrt git master (commit a434795809)
Run tested   : r7800 OpenWrt git master (commit a434795809)

Signed-off-by: Daniel Bermond <danielbermond@gmail.com>
2022-08-23 08:27:00 +02:00
Jan Hák
74e2bfdd27 knot: update to version 3.2.0
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2022-08-22 14:22:52 +02:00
Glen Huang
952d449eed acme: fix acme path
Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-08-22 10:43:34 +02:00
Fabian Lipken
2c617bbe22 dnscrypt-proxy2: update to version 2.1.2
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-08-21 16:31:12 +02:00
Hauke Mehrtens
55297e45c8 coova-chilli: Fix compile problem with _init()
The _init() function collides with a _init() function in crti.o.
This results in the following error in OpenWrt:
arc-openwrt-linux-gnu/bin/ld: libxt_coova.o: in function `_init':
/lib/gcc/arc-openwrt-linux-gnu/11.3.0/crti.o:(.init+0x4): first defined here
collect2: error: ld returned 1 exit status
make[7]: *** [Makefile:22: libxt_coova.so] Error 1

Fix this by suing a constructor attribute instead. This function will
still be called after the shared library was loaded.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-20 19:25:17 -07:00
Dirk Brenken
963137dcc5
travelmate: update 2.1.0
* vpn support can be disabled (enabled by default), fixes #19107 (see trm_vpn option)
* vpn support can be limited to certain interfaces (see trm_vpnifacelist list option)
* openvpn support works now per instance (same as wireguard today)
* add an auto-login script for tplink-omada hotspots provided by Sebastian Muszynski <basti@linkt.de>
* remove pipefail command, see #19043 for reference

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-08-20 17:51:01 +02:00
Stan Grishin
3b686b08a5 simple-adblock: update to 1.9.0-1
* Update maintainer's email address
* Style Make and init file to OpenWrt standard
* Rename dnsmasq and unbound-related variables to better reflect
  their use
* New 'allow' CLI parameter to quickly unblock domain(s)
* Switch to uci wrappers
* Beautify the output of the 'check' CLI parameter
* Better handling of output files directory creation error
* Support for (upcoming) dnsmasq nftsets

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2022-08-19 21:44:12 +00:00
David Bauer
6e1687df30 usteer: update to latest HEAD
7d2b17c ubus: optimize connected_clients output format
8b10a4b policy: don't alter stats when remaining idle
3cc0f45 policy: count kick total
aadc562 policy: make steering ability evaluation uniform
17c558d ubus: include SSID in node dump
fc158e0 policy: only trigger roam-sm after client becomes roamable
837f144 usteer: add connected-since
9e6002d policy: improve readability

Build-tested: ath79-generic / ramips-mt76x8
Run-tested: ath79-generic / UniFi AC Lite

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-08-18 18:36:56 +02:00
Bheesham Persaud
ad7f24684e
ddns-scripts: Fix typo s/ganid/gandi/
Signed-off-by: Bheesham Persaud <me@bheesham.com>
2022-08-17 13:55:41 -04:00
Stijn Tintel
6155b8245f usteer: bump to git HEAD
041e884 local_node: query client MBO support from hostapd

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-08-17 13:46:58 +02:00
Toni Uhlig
49b85f9b50 sslh: install sslh-select
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2022-08-16 13:11:43 -07:00
Van Waholtz
17923831a9 frp: update to 0.44.0
Changelog: https://github.com/fatedier/frp/release

Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2022-08-16 13:10:13 -07:00
Alberto Martinez-Alvarez
859971a3ae iperf: Updated to 2.1.8
Enabling fast sampling to support four digit (e.g., 1.0000) precision in reports' timestamps. Useful for sub-millisecond sampling.

Changelog: https://sourceforge.net/p/iperf2/code/ci/2-1-8/tree/README

Signed-off-by: Alberto Martinez-Alvarez <amteza@gmail.com>

Maintainer: @nbd168
Compile tested: ath79, ramips, bcm27xx
2022-08-16 13:09:50 -07:00
Tianling Shen
6c757f0ff8 gg: Update to 0.2.8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-16 13:09:34 -07:00
Tianling Shen
5c4b54de56 rclone: Update to 1.59.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-16 13:09:21 -07:00
Christian Lachner
7e4ca70914 haproxy: Update HAProxy to v2.6.2
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-08-16 13:09:10 -07:00
Glenn Strauss
5eaf000c83 lighttpd: update to lighttpd 1.4.66 release hash
* update to lighttpd 1.4.66 release hash

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-08-16 13:08:34 -07:00
Tianling Shen
92f0b1b5a4 cloudflared: Update to 2022.8.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-16 13:08:06 -07:00
Van Waholtz
aee5b7db55 ariang: update to 1.2.4
Changelog: https://github.com/mayswind/AriaNg/releases

Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2022-08-16 13:06:37 -07:00
Stijn Tintel
d960988043 Revert "strongswan: add strongswan-mod-socket"
The original PR for this change is #16373, where it's cleary stated it
doesn't work. This should have never been merged. It causes the
following recursive dependency:

tmp/.config-package.in:122354:error: recursive dependency detected!
tmp/.config-package.in:122354:  symbol PACKAGE_strongswan-default depends on PACKAGE_strongswan-mod-socket-default
tmp/.config-package.in:123534:  symbol PACKAGE_strongswan-mod-socket-default is selected by PACKAGE_strongswan-default

This reverts commit 603f70e96b.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-08-16 15:24:22 +03:00
Glen Huang
e84f651453 acme: use the hotplug system
Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-08-16 00:32:04 +02:00
Philip Prindeville
b02fea131b
Merge pull request #16367 from pprindeville/strongswan-mod-socket-dep
strongswan: Add dependency to virtual package strongswan-mod-socket
2022-08-15 13:32:00 -06:00
Jan Hák
39a08a7aaf knot: update to 3.1.9
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2022-08-15 15:30:25 +02:00
John Audia
eeaacc9052 rsync: bump to 3.2.5
With the new OW release approaching, it might be better to get an officially
tagged upstream release in as PR#19087 just contained a fix for CVE-2022-29154
which itself introduced a few bugs.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-15 13:50:15 +02:00
Liangbin Lian
7af716f12d rclone: fix init script on CIDR format ipaddr
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2022-08-13 11:34:21 +02:00
John Audia
2611b86547 rsync: fix CVE-2022-29154
The rsync package is vulnerable to CVE-2022-29154[1], which is not yet in a
non-preview release. This commit applies the upstream commit to fix it and
several subsequent commits needed to fix bugs the initial fix introduced[2].

1. https://rsync.samba.org/ftp/rsync/NEWS#SECURITY_FIXES-3.2.5
2. https://bugs.archlinux.org/task/75558

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-13 11:31:08 +02:00
Josef Schlehofer
d3eca9a12c
Merge pull request #19085 from hardfalcon/unbound-1.16.2
unbound: update to 1.16.2, fix CVE-2022-30698, CVE-2022-30699
2022-08-12 06:09:34 +02:00
Rafał Miłecki
d0406d4c95 ksmbd-tools: add package with hotplug.d script for auto sharing
One of common use cases for SMB3 server in routers is sharing hotplugged
drives. Users make many attempts setting that up which often are not
optimal.

This script handles it in the cleanest way by using:
1. hotplug.d mount subsystem
2. runtime config in the /var/run/config/

It provides a working basic solution that can be later adjusted by
modifying provided hotplug script.

A pretty much idential solution was part of the samba36 package. It was
added in the OpenWrt commit ef1efa756e0d0 ("samba36: add package with
hotplug.d script for auto sharing") as an answer for feature required by
the Rosinson company.

Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-08-11 14:05:45 -07:00
Rafał Miłecki
c9cba61989 ksmbd-tools: append config from /var/run/config/ for runtime shares
Dynamically created shares shouldn't be stored in the /etc/config/
because of:
1. Flash wearing
2. Risk of inconsistent state on reboots

With this change all automation/hotplug.d scripts can store runtime in
the /var/run/config/samba. It's useful e.g. for USB drives that user
wants to be automatically shared.

Also: automated scripts should never call "uci [foo] commit" as that
could flush incomplete config. This problem also gets solved.

Identical feature was added to samba36 in the OpenWrt commit
5a59e2c059866 ("samba36: append config from /var/run/config/ for runtime
shares") but wasn't ported to ksmbd until now.

Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-08-11 14:05:45 -07:00
Philip Prindeville
5a2fa10d07
Merge pull request #19146 from pprindeville/strongswan-include-mgf1
strongswan: bundle mgf1 with everything
2022-08-10 21:45:59 -06:00
Yousong Zhou
04ee032699 shadowsocks-libev: ss-rules: nft rule cleanup on reload
Remove nft rules file generated by ss-rules if ss-rules was or should be
turned off for by configuration.  Use "fw4 restart" instead of "fw4
reload" to force the runtime rule reloading

Ref: https://github.com/openwrt/packages/pull/17937#issuecomment-1207357037
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2022-08-11 10:44:10 +08:00
Yousong Zhou
58aa859d06 shadowsocks-libev: ss-rules: setup policy rules for udp/ip6
Supersedes: https://github.com/openwrt/packages/pull/18852
Fixes: https://github.com/openwrt/packages/issues/18850
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2022-08-11 09:54:18 +08:00
Philip Prindeville
be6762d663 strongswan: bundle mgf1 with everything
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-08-10 18:20:30 -06:00
Philip Prindeville
79be9563c3
Merge pull request #19145 from Thermi/strongswan-5.9.7-model-kdf-dependencies
strongswan: try to model kdf optional dependencies
2022-08-10 18:09:17 -06:00
Noel Kuntze
dc4defdbac
strongswan: try to model kdf optional dependencies
Signed-off-by: Noel Kuntze <noel.kuntze@thermi.consulting>
2022-08-11 00:45:38 +02:00
Jo-Philipp Wich
443c6c1c17 cgi-io: update to latest Git HEAD
901b0f0 main: fix two one-byte overreads in header_value()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-08-10 23:53:49 +02:00
Philip Prindeville
f82b83fefa
Merge pull request #19128 from pprindeville/strongswan-update-5.9.7
strongswan: Update to 5.9.7
2022-08-10 14:21:16 -06:00
Philip Prindeville
dd9f2849a4 strongswan: Update to 5.9.7
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-08-08 10:30:08 -06:00
Michael Brown
99213e6311 openconnect: Allow reconnect timeout to be specified
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
2022-08-07 16:20:21 +01:00
Michael Brown
5c84d8ceba openconnect: Support use of a proxy server
Allow connection via a proxy server (required on some sites where
direct outbound HTTP(S) access is not permitted).

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
2022-08-07 16:18:18 +01:00
Stijn Tintel
da128ced43 kea: bump to 2.0.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-08-04 16:53:05 -07:00
Josef Schlehofer
ebc3704745
Merge pull request #18781 from paper42/fail2ban-py310
fail2ban: fix patch for python 3.10
2022-08-04 13:45:31 +02:00
Eneas U de Queiroz
2d41278daa
Merge pull request #19021 from borkra/fix_dependencies
Avoid building unused package dependencies
2022-08-03 23:44:33 -03:00