Commit Graph

13319 Commits

Author SHA1 Message Date
Alexander Krause e6b5141c7e adguardhome: added ujail dependency
In order to create a proper jail, we net the procd-ujail package.
Otherwise, AdGuardHome will run as unprivileged process,
and will not be able to listen on ports below 1024.

Signed-off-by: Alexander Krause <alexander.krause@cs.tu-dortmund.de>
2026-05-01 21:06:56 +03:00
Dirk Brenken e0669cb1a8 banip: release 1.8.8-1
- introduced a shared named nft limit (loglimit) referenced by
  all log rules instead of per-rule limits, aligning with kernel printk rate limits
- added new 'ban_logratelimit' and 'ban_logburstlimit' UCI options for tuning
   the shared log limit; setting ban_logratelimit=0 disables nft-side rate limiting
   entirely (useful for ulogd or other userspace log handlers that bypass printk)
- LuCI: made the new UCI option available (Log Settings)
- readme update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-30 11:37:14 +02:00
Alexandru Ardelean 3b680cc166 coredns: fix netlink compat for wgsd plugin
wgsd (WireGuard Service Discovery plugin) pulls in
golang.zx2c4.com/wireguard/wgctrl -> mdlayher/genetlink v1.2.0 ->
mdlayher/netlink v1.6.2. This version of netlink calls
mdlayher/socket's Sendmsg/Recvmsg with the old API signatures
(pre-context.Context, single-return-value Sendmsg), but coredns
itself requires mdlayher/socket v0.5.1 which changed these
signatures to include context.Context and return (int, error).

Add a go get step that upgrades netlink to v1.7.2 after the wgsd
plugin dependencies are pulled in, ensuring the build uses a
netlink version compatible with socket v0.5.x.

Should fix:
  https://downloads.openwrt.org/snapshots/faillogs/i386_pentium-mmx/packages/coredns/compile.txt

```
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:105:9: too many return values
	have (int, error)
	want (error)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:105:35: not enough arguments in call to c.s.Sendmsg
	have ([]byte, nil, *"golang.org/x/sys/unix".SockaddrNetlink, number)
	want (context.Context, []byte, []byte, "golang.org/x/sys/unix".Sockaddr, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:116:9: too many return values
	have (int, error)
	want (error)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:116:33: not enough arguments in call to c.s.Sendmsg
	have ([]byte, nil, *"golang.org/x/sys/unix".SockaddrNetlink, number)
	want (context.Context, []byte, []byte, "golang.org/x/sys/unix".Sockaddr, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:127:42: not enough arguments in call to c.s.Recvmsg
	have ([]byte, nil, number)
	want (context.Context, []byte, []byte, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:142:41: not enough arguments in call to c.s.Recvmsg
	have ([]byte, nil, number)
	want (context.Context, []byte, []byte, int)
github.com/aws/aws-sdk-go-v2/aws/protocol/query
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding
github.com/aws/smithy-go/private/requestcompression
```

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-29 06:42:29 +03:00
Alexandru Ardelean bf50291ab1 prosody: fix PKG_HASH for 0.12.4
The prosody.im upstream updated the 0.12.4 tarball in-place, changing
its content without bumping the version. Update PKG_HASH to match the
currently published tarball.

Fixes: f4d305b73 ("prosody: update to 0.12.4")
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-28 23:10:43 +02:00
Dirk Brenken 523c395b17 banip: release 1.8.7-1
- fix log rate limit and drop throttling (#29255, #27990)
- serialize dedup writes via flock in f_down
- tighten RDAP CIDR validation and lock handling in f_monitor
- fix IPv6 prefix regex in f_search, simplify sed pattern in f_report
- readme update

Signed-off-by: Dirk Brenken <dev@brenken.org>

Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-28 20:01:11 +02:00
John Audia 49a852ff9d snort3: update to 3.12.2.0
Changelog: https://github.com/snort3/snort3/releases/tag/3.12.2.0

Signed-off-by: John Audia <therealgraysky@proton.me>
2026-04-28 08:26:36 +02:00
Rishabh 2482fdd481 keepalived: bump PKG_RELEASE to 3
Bump PKG_RELEASE from 2 to 3.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 0fc6a409c2 keepalived: update config for option track_script
Update config for option track_script in vrrp_instance to use vrrp_script
instead of track_script

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 3fb01d67c7 keepalived: remove config section track_script
Remove config section for track_script from keepalived.config
as it is not supported.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 09143ea2b2 keepalived: update config for vrrp_script section
Update config for vrrp_script in keepalived.config.
Add option name, direction and timeout in config.
Add some docs for option weight and option direction.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 777925d423 keepalived: add option track_bfd in vrrp_instance
Update keepalived.config to add track_bfd option in vrrp_instance

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 7673eab565 keepalived: add config for section peer
Update keepalived.config to add config for section peer.
`peer` is a section that can be used via 'list unicast_peer'

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh b3a0f57c4f keepalived: add config for bfd_instance
Add config for bfd_instance in keepalived.config.
This includes all currently supported options.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 361beae4ed keepalived: add config for track_script in sync group
Update keepalived.config to add track_script option in vrrp_sync_group

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh b3f5280ca9 keepalived: add option timeout in vrrp_script
Add option timeout in vrrp_script section.
This option specifies the timeout duration for script execution.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh efed5cf1a6 keepalived: use section vrrp_script for option track_script
`track_script` and `vrrp_script` are both sections that run custom scripts
which handle priority of a vrrp_instance.
`track_script` is not supported by this uci implementation

`vrrp_instance` was still trying to fetch config for track_script from section
'track_script'.

After the changes, when listing track_script in vrrp_instance,
it tries to fetch config from section `vrrp_script` which is supported.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 82f99e0815 keepalived: add track_script to vrrp_sync_group
Add logic to parse track_script section for vrrp_sync_group.
Keepalived supports script tracking in vrrp_sync_group but this was not
implemented by the uci implementation.

Note that if a vrrp_script is added to a sync group, you cannot use
priority/weight for that script as a vrrp_sync_group does not have a
priority/weight attached to it. It will do up/down as whole.

This option is optional and wouldn't affect any older configurations
during upgrade.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 22919cd685 keepalived: update print_unicast_peer_indent func
Added options min_ttl and max_ttl in section peer. These options are
supported by keepalived but were not supported by the uci implementation.

This allows accepting packets within a specific TTL range.

These options are optional and wouldn't affect any older configurations
during upgrade.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 9542111b14 keepalived: fix print_track_script_indent func
Removed unnecessary option value. This was not needed as option name is
already being used. Also removed a condition where the section was not
parsed if option value was not given. Value was being used to name the
script. Now the option name is used as the name when the script is called
in track_script.

Also added a condition where the section is not parsed if
option name is not given. This is because the script cannot be called if
it does not have a name.

No upgrade script is required.

The removed `value` option in `vrrp_script` was previously used to
identify scripts referenced by `track_script`. However, this mechanism
was non-functional:

- `track_script` attempted to reference a `track_script` section, which
  is not implemented in the UCI configuration.
- As a result, script references were not resolved correctly even if
  `value` was defined.

With this change, `track_script` now correctly references the
`vrrp_script` section, and the `name` option is used as the identifier.

Since the previous behavior was not working as intended, removing the
`value` option does not break any valid existing configurations.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 0046dd5648 keepalived: use extended config_section open/close functions
The new updated config_section_open and close functions are now used in places
where they can be used. The following sections use these functions:

(inside vrrp_instance)
    - virtual_ipaddress
    - virtual_routes
    - track_script
    - track_interface
    - track_bfd
    - unicast_peer

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh c75235e523 keepalived: add indent param in config_section_open/close
Add a parameter for indent in config_section_open and
config_section_close. Previously you had to separately add indents
while parsing if a section was inside another section.
Now this is supported by these two functions.
You can specify how much indent you need to add before opening or closing
a section.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Tim Flubshi e6e05d2aa6 ddns-scripts: netcup.com adjust update error path
Adjust the update error handling path to avoid hard failures on
recoverable errors. This allows ddns to retry updates after the
configured retry interval and improves reliability.

Signed-off-by: Tim Flubshi <flubshi@gmail.com>
2026-04-27 14:26:29 +02:00
Tim Flubshi bd6a551669 ddns-scripts: netcup.com use json_load_file
Replace manual file loading via cat with json_load_file for parsing
JSON data. This uses the intended helper function and improves
code clarity and robustness.

Signed-off-by: Tim Flubshi <flubshi@gmail.com>
2026-04-27 14:26:29 +02:00
Tim Flubshi c51e3100fa ddns-scripts: fix netcup.com readonly variable
The netcup ddns update script fails on subsequent runs because a
readonly variable is assigned again. Fix this by removing the readonly
declaration to allow repeated execution.

Signed-off-by: Tim Flubshi <flubshi@gmail.com>
2026-04-27 14:26:29 +02:00
Chris Swan d1e8512874 csshnpd: bump to c1.0.18 release
Upstream release aligned to Mbed-TLS 3.6.6

Signed-off-by: Chris Swan <chris@atsign.com>
2026-04-27 11:19:38 +02:00
Daniel F. Dickinson 0c88118ad4 nut: ensure correct upsmon settings names
Prompted by
https://github.com/openwrt/luci/pull/8420#issuecomment-4071252681
we update upsmon configs to ensure they are correct according to
upstream. We reorder the options so that they match upstream
documentation at
<https://networkupstools.org/docs/man/upsmon.conf.html> to be sure
we have not missed any items.
While at it, we add configuration options from the upstream
documentation that are not currently present in the UCI configs.

Some years ago upstream changed the names the primary/secondary
UPS system/monitor from master/slave to primary/secondary. It
is uncertain how much longer these deprecated names will be
accepted by NUT.
Therefore update naming to match upstream documentation and
configuration. See
<https://networkupstools.org/docs/man/upsmon.html>,
<https://networkupstools.org/docs/man/upsmon.conf.html>, and
<https://networkupstools.org/docs/man/upsd.users.html>.

At the same time, prompted by
https://github.com/openwrt/packages/pull/28875#issuecomment-4079307540
we simplify the configuration and add checks to avoid bad configs
due to misspellings/typos of configuation options by users.

A sample config

config upsmon 'upsmon'
       option notifycmd '/usr/bin/logger -t nut-monitor-exec '

config monitor
        option type primary
        option upsname upsname
        option hostname localhost
        option username upsuser
        option password upspassword

config notifications 'ONLINE'
        option message "UPS %s is on line power"
        option flag "SYSLOG"

config notifications 'ONBATT'
        option message "UPS %s is on battery power"
        option flag "SYSLOG+EXEC"

In order to iterate through the notifications, we use named
'notifications' sections and compare the section name to list of
notification events defined by NUT. If they don't match, warn
during initscript startup.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-04-27 10:42:36 +02:00
Philip Prindeville 9d1c4d20df strongswan: update to 6.0.6
No significant functional changes.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2026-04-26 14:38:41 -06:00
copilot-swe-agent[bot] f4d305b733 prosody: update to 0.12.4
Release notes: https://blog.prosody.im/prosody-0.12.4-released/

Co-authored-by: BKPepe <4096468+BKPepe@users.noreply.github.com>
2026-04-26 22:21:48 +02:00
John Audia e1adf8f2be xtables-addons: bump 3.30 and fix LUA build on 6.18
This upstream release allows clean builds against linux 6.18. Fix LUA
PacketScript build on 6.18 by switching to ccflags-y and restoring the
required -isystem include path. Remove compat_xtables since the module
no longer exists in 3.30 and drop all dependent kmod references.

Fix CI build failure with backport:
600-xt_pknock-fox-do_div-signness-mismatch.patch

Note that upstream tarball changed from xz to zst.

Signed-off-by: John Audia <therealgraysky@proton.me>
2026-04-25 19:03:59 -06:00
Hector Espert 2cf1c2dda9 boinc: version 8.2.11
Bump boinc version to 8.2.11

Signed-off-by: Hector Espert <hectorespertpardo@gmail.com>
2026-04-25 08:17:13 +03:00
Stan Grishin ebe149b7f3 https-dns-proxy: update to 2025.12.29-5
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.1
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.1

Description:Add nftables notrack for localhost traffic

  - Removed. License is now included in the main project.

net/https-dns-proxy/Makefile:
  - Bumped PKG_RELEASE to 5.

net/https-dns-proxy/files/etc/config/https-dns-proxy:
  - Added 'option notrack_dns '1'' to the default configuration.

net/https-dns-proxy/files/etc/init.d/https-dns-proxy:
  - Defined NOTRACK_NFT_FILE constant.
  - Added 'notrack_dns' and 'notrack_ports' variables.
  - Implemented 'notrack_nft' function to manage nftables rules for notracking local DNS traffic.
  - Enabled loading of 'notrack_dns' boolean from configuration.
  - Modified start_instance to collect listen_port into notrack_ports if notrack_dns is enabled.
  - Modified start_service to call notrack_nft update/remove based on notrack_dns and collected ports.
  - Modified stop_service to call notrack_nft remove.
  - Updated service_started and service_stopped to trigger firewall config changes when notrack_dns is enabled.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-04-25 08:16:17 +03:00
Stan Grishin f64dd10a41 adblock-fast: update to 1.2.2-18
* Switch Hagezi URL to a more compact higher-level only domains list as we
  prefer it anyways and there's less processing (thanks @dave14305)
* When update_config_sizes is unset, save collected sizes to RAM to improve
  luci app performance (thanks @sshaikh)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-04-24 18:27:12 -07:00
Vladimir Ermakov 1caf7c89c2 coredns: update to 1.14.3
Changelog: https://github.com/coredns/coredns/releases/tag/v1.14.3

CVE-2026-32282, CVE-2026-32289, CVE-2026-33810, CVE-2026-27144,
CVE-2026-27143, CVE-2026-32288, CVE-2026-32283, CVE-2026-27140.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2026-04-24 17:12:06 +03:00
Roc Lai e15d62c64a frp: bump to 0.68.1
Changes: https://github.com/fatedier/frp/releases/tag/v0.67.0
Changes: https://github.com/fatedier/frp/releases/tag/v0.68.0
Changes: https://github.com/fatedier/frp/releases/tag/v0.68.1
Co-Authored-by: Peiyuan Song <squallatf@gmail.com>
Signed-off-by: Roc Lai <laipeng668@qq.com>
2026-04-23 23:00:51 +03:00
Stan Grishin 7c106734e8 pbr: update to 1.2.2-r14
fix: avoid unnecessary dnsmasq restarts (thanks @egc112)
fix: insert, not add dns policies to ensure higher priority than the DNS
     hijack rules (thanks @egc112)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-04-21 16:16:50 -07:00
Dirk Brenken a3082e3069 banip: update 1.8.6-4
* fixed report generation and housekeeping
* added missing code/function comments

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-21 19:29:00 +02:00
Alexandru Ardelean 04e1033df2 scapy: update to 2.7.0; add test.sh
Update scapy to version 2.7.0.

Add python-setuptools/host to PKG_BUILD_DEPENDS as the package
uses setuptools as its build backend.

Changelog: https://github.com/secdev/scapy/blob/master/doc/scapy/installation.rst
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-21 11:54:03 +03:00
Nick Hainke e45d370e72 snowflake: update to 2.13.1
Changelog:
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/blob/v2.13.1/ChangeLog?ref_type=tags

Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-21 08:27:27 +02:00
kouhei-ioroi fb5ad65e5c cloudflared: support multiple upstream interfaces.
support multiple upstream interfaces in config.

Signed-off-by: kouhei-ioroi <kouhei@ioroi.group>
2026-04-20 14:48:39 +08:00
Dirk Brenken cfe1ddc693 banip: update 1.8.6-3
* removed unnecessary forks in f_nftinit
* removed  unnecessary forks in f_genstatus
* removed  unnecessary forks in f_lookup
* removed the needless f_char function
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-19 19:13:58 +02:00
matzfan a6f5b115bb snowflake: mount default geoip paths
-metrics option requires access to these files to geolocate clients

Signed-off-by: matzfan <matzfan@mailinator.com>
2026-04-19 18:45:57 +03:00
Marcos Alano 6bea93328f iptraf-ng: bump version from 1.2.1 to 1.2.2
Bump iptraf-ng version from 1.2.1 to 1.2.2.

Signed-off-by: Marcos Alano <marcoshalano@gmail.com>
2026-04-19 18:43:55 +03:00
Andy Chiang 6f657eb190 miniupnpd: add ext_allow_private_ipv4
miniupnpd 2.3.9 allows enable forwarding for private IPs by use 'ext_allow_private_ipv4=yes'.

Link: https://github.com/miniupnp/miniupnp/blob/f83b5e2e21aa8dfa393ff80ea287ac4fca1a4df1/miniupnpd/Changelog.txt#L51

Link: https://github.com/miniupnp/miniupnp/blob/f83b5e2e21aa8dfa393ff80ea287ac4fca1a4df1/miniupnpd/miniupnpd.conf#L24

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
2026-04-19 17:31:05 +03:00
Dirk Brenken 01c7cf719e banip: update 1.8.6-2
* flock/serialize the etag writing in the f_etag function
* added various variables to local scope
* LuCI: removed needless ACL

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-18 19:07:23 +02:00
Seo Suchan d824c1fc90 uacme: add support for dalias/calias
handle dalias/calias config currectly by dns challenge hook so it won't
break uacme when given

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
2026-04-17 13:29:00 +03:00
Dirk Brenken 157bd82ac0 adblock: release 4.5.5-1
* added an separate adblock rundir (/var/run/adblock)
* refine the cpu/core detection
* behaviour change: allowlist domains now also removes subdomains from the blocklist
* flock/serialize the etag writing in the f_etag function
* code clean-up/linting

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-17 09:57:55 +02:00
George Sapkin feaaf2d99b adguardhome: bump to 0.107.74
Changes: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.74
Signed-off-by: George Sapkin <george@sapk.in>
2026-04-17 10:08:48 +03:00
Chen Minqiang bb02e8b734 openvpn: handler: refine netifd routing and config
Introduce a new `ipv6` proto option for OpenVPN netifd integration and
export it to the hotplug environment. IPv6 remains enabled by default,
but can now be explicitly disabled per instance.

Update the hotplug helper to apply IPv6 addresses and routes only when
IPv6 is enabled, allowing cleaner IPv4-only tunnel deployments.

Also improve route handling by:
- ignoring invalid default gateway values (0.0.0.0 / ::)
- replacing fixed `seq` loops with shell-safe while loops
- keeping trusted peer host routes conditional on valid gateways

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2026-04-17 08:48:33 +02:00
Dirk Brenken 420d966267 banip: release 1.8.6-1
* fixed the initialization of the banIP rundir (reported in the forum)
* sanitize possible windows line endings in local block- and allowlist
* refine the cpu/core detection
* code clean-up/linting

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-16 22:13:33 +02:00
Pawel Dembicki 9d59ce08a1 mdio-tools: update to 1.3.2
Update the mdio-netlink kmod and userspace mdio-tools to version 1.3.2.

[v1.3.2] - 2026-04-14
---------------------

Build fixes and support for Microchip's paged PHYs.

Added:
- mdio: A new addressing mode "mscc": Used to access PHYs from
  Microchip that uses C22 register 31 as a page register

Fixed:
- mdio: Fix VPATH builds and various other build related warnings

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2026-04-16 22:08:00 +03:00