Commit Graph

33433 Commits

Author SHA1 Message Date
Dirk Brenken
d5cd6f3cf2 banIP: release 1.5.3-1
* optimized uci config processing (list options)
* optimized icmp rules in pre-routing (thanks @brada)
* set inbound marker in pre-routing only if inbound logging is enabled (fixes #26044)
* fix cornercase in Set removal function
* print chain-, set- and rules-counter in the banIP status
* clean up logging und download queue handling
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-02-28 16:50:56 +01:00
Florian Eckert
ace9f160ce gpsd: migrate option device to a list devices
More than one device can be added to the gpsd at startup. Currently the gpsd
service start script in OpenWrt treats this as an option with only one value.
To allow multiple devices to be specified, the uci 'option device' must be
removed and a new uci 'list devices' is added.

This change means that several devices can be specified at gpsd start with
the new uci 'list devices' configuration.

Running configurations in the field are migrated by a migration script.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
e377d07afd gpsd: add readonly option to uci
The 'readonly' option tells the GPSD that it is not allowed to write to the
GPS TTY, only reading the NMEA data stream is allowed. This option of the
GPSD must be set for my mobile radio device MV31, otherwise the GPSD can not
read the NMEA data stream on the GPS TTY because the GPSD blocks during
plugin probing.

gpsd:PROG: CORE: Probing "Garmin USB binary" driver...
gpsd:PROG: CORE: Probe not found "Garmin USB binary" driver...
gpsd:PROG: CORE: Probing "GeoStar" driver...
gpsd:PROG: Sent GeoStar packet id 0xc1

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
c954b960c4 gpsd: only add device to procd start call if device option is configured
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
d7fae14030 gpsd: add hotplug handling
The 'gpsd' offers the possibility to call the script '/etc/gpsd/device-hook'
when a GPS source was added or removed via gpsdctl.

In addition to the '/etc/gpsd/device-hook' call an event is now triggered
too after the 'gpsd' has started. This allows scripts to configurre 'gpsd'
receivers.

The following events are available for '/etc/hotplug.d/gpsd' scripts:

* ACTIVATE   via '/etc/gpsd/device-hook'
* DEACTIVATE via '/etc/gpsd/device-hook'
* STARTED    via '/etc/init.d/gpsd'

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
7ca3ffebff gpsd: add the possibility to start the gpsd with a different log level
This simplifies the handling of log levels if we need more log information
during development.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
f420a7bb37 gpsd: add control socket '/var/run/gpsd.sock' on startup
This change makes it possible to add new gps device without restarting the
'gpsd' service by using the 'gpsdctl' command.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Wesley Gimenes
8f0ab168ce netbird: update to 0.37.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.37.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-28 13:59:56 +08:00
Robert Marko
7fdb92b59a nginx-mod-njs: fix endianess patch
Currently, the 104-endianness_fix.patch does not apply, so lets manually
refresh it to apply and thus fix buildbot nginx builds.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-27 16:47:32 +01:00
Gilles Lenaerts
5cb12d479b modemmanager: add config optional netifd integration
This change introduces an optional configuration
of the  netifd integration in the ModemManager package.
When disabled, it removes the NETIFD dependency and
other unwanted components from the root filesystem
during the build phase.

Additionally, in the modemmanager.common the netifd-proto.sh
inclusion line can be savely removed as there is no usage
of it in its functions.

Signed-off-by: Gilles Lenaerts <gilles.lenaerts_ext@softathome.com>
2025-02-26 10:03:30 +01:00
Espen Jürgensen
03f8663b8e mxml: Remove
Version 3.3 isn't current any more, but current mxml v4 has breaking changes,
so if added should be a new package.

Not depended on by other packages.

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2025-02-26 16:48:36 +08:00
Javier Marcet
034505d969 docker-compose: Update to version 2.33.1
Release notes:
https://github.com/docker/compose/releases/tag/v2.33.1

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-02-26 16:47:47 +08:00
Jonathan McCrohan
c675028528 rust: update to 1.85.0
Fixes podman build breakage which was caused by podman depending on
netavark, which in turn depends on rust-iptables.

rust-iptables requires rust 1.85.0 since commit 75825cd
75825cd9c1

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2025-02-26 16:45:46 +08:00
John Audia
96c96fe041 lxc: fix decompression of rootfs tarballs
Modified 025-remove-unsupported-option.patch to both remove
the bsdtar command as it ends in errors, see below, and to
circumvent an error when extracting to overlayfs[1].

Error when extracting rootfs tarball with bsdtar:
tar --absolute-names --numeric-owner '--xattrs-include=*' -xpJf /var/cache/lxc//download/archlinux/current/amd64//default/rootfs.tar.xz -C /mnt/data/lxc/test/rootfs
./usr/bin/newgidmap: Cannot restore extended attributes on this system: Illegal byte sequence
lxc-create: test: ../src/lxc/lxccontainer.c: create_run_template: 1589 Failed to create container from template
lxc-create: test: ../src/lxc/tools/lxc_create.c: lxc_create_main: 318 Failed to create container test

1. https://github.com/openwrt/openwrt/issues/15888

Signed-off-by: John Audia <therealgraysky@proton.me>

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-25 00:20:14 +08:00
John Audia
b74dc8a119 lxc: add gnu-tar as a depends to fix lxc-create
Add gnu-tar as a dependency for lxc-create which is needed to
properly extract the root file system tarball. Without it,
symlink target of /bin/tar is busybox and it lacks proper
support to extract with xattrs.  The default gnu-tar is actually
built without this support as well, but it is able to extract
the rootfs tarballs with a warning not an error which is not the
case with busybox which ends in an error.

Signed-off-by: John Audia <therealgraysky@proton.me>

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
2025-02-25 00:20:14 +08:00
Thomas Richard
51ba51011e phytool: add phytool package
Add phytool, a very useful tool to access MDIO PHY registers.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
2025-02-24 11:43:04 +01:00
John Audia
ba7e4dccec lxc: add missing deps
Several deps are missing based the output of lxc-checkconfig shown below
before this commit is applied.

CONFIG_IP_NF_TARGET_MASQUERADE and CONFIG_IP6_NF_TARGET_MASQUERADE are
only needed for lxc-net which we do not package.

% lxc-checkconfig | grep missing
Cgroup device: missing
CONFIG_IP_NF_TARGET_MASQUERADE: missing
CONFIG_IP6_NF_TARGET_MASQUERADE: missing
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: missing
FUSE (for use with lxcfs): missing
checkpoint restore: missing
CONFIG_UNIX_DIAG: missing
CONFIG_INET_DIAG: missing
CONFIG_PACKET_DIAG: missing
CONFIG_NETLINK_DIAG: missing

Additionally, two new patches have been added which remove checks for
options that OpenWrt currently does not package and can serve are
false positives for missing items from our kernel config, namely:
lxc-net and lxc-checkpoint

After applying this commit, below is the output showing that the kernel
config[1] should pass all tests for functionality:

% CONFIG=config ./lxc-checkconfig
LXC version 6.0.3

--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Namespace limits:
  cgroup: 383849
  ipc: 383849
  mnt: 383849
  net: 383849
  pid: 383849
  time: 383849
  user: 383849
  uts: 383849

--- Control groups ---
Cgroups: enabled
Cgroup namespace: enabled
Cgroup v1 mount points:
Cgroup v2 mount points:
 - /sys/fs/cgroup
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled, loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, loaded
Advanced netfilter: enabled, loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, loaded

--- Checkpoint/Restore ---
checkpoint restore: missing
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled

1. Generated on 23-Feb-2025 running bcm27xx/bcm2712 on r28869+1

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-24 16:08:31 +08:00
John Audia
57434a290d lxc: remove check for options we do not package
We do not package lxc-net or lxcfs so remove the lines within
lxc-checkconfig that looks forCONFIG_IP_NF_TARGET_MASQUERADE and
CONFIG_IP6_NF_TARGET_MASQUERADE which, as far as I know, is the only
part of lxc that needs them. Also remove the check for FUSE since we do
not pakcage lxcfs.

Without this commit, users will see these two as missing.

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-24 16:08:31 +08:00
Ray Wang
2db5fca2d8 natmap: update to 20250221
Signed-off-by: Ray Wang <r@hev.cc>
2025-02-23 11:30:42 +02:00
Wesley Gimenes
1f423f4623 netbird: update to 0.37.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.37.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-23 11:30:10 +02:00
Dirk Brenken
fc35c4e9c8 adblock: release 4.2.6-1
* removed needless 'adb_mailcnt' option
* fixed blocklist count formatting

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-02-22 06:55:26 +01:00
Dirk Brenken
884876c7e1 banIP: release 1.5.2-1
* add memory measurements:
 - free memory in MB (MemAvailable from /proc/meminfo)
 - script run max. used RAM in MB (VmHWM from /proc/$$/status)
* removed the obsolete (domain) lookup command in init script
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-02-21 22:08:45 +01:00
Chris Swan
a56ae2d919 arp-scan-database: Relocate mac-vendor.txt to /etc/arp-scan
arp-scan v1.10.0 relocated mac-vendor.txt to $(sysconfdir)/$(PACKAGE)
which is /etc/arp-scan. This has been causing a file not found error.

Fixes: https://github.com/openwrt/packages/issues/26014
Signed-off-by: Chris Swan <chris@atsign.com>
2025-02-21 16:34:42 +01:00
Dimitri Souza
65cbccfded ddns-scripts: Add option 'myip=no' to Dynu IPv6 update URL
Prevents IPv6 updates to also update IPv4 (undesirable when behind a CGNAT)

Signed-off-by: Dimitri Souza <dimitri.souza@gmail.com>
2025-02-21 08:17:08 +01:00
Robert Marko
c8949c84a2 libffi: drop autoreconf
Trying to compile libffi now that automake has been updated to 1.17 will
fail, however there is no reason for us to be calling autoreconf as libffi
release tarballs already contain the generated configure script.

So, drop the unnecessary autoreconf that seems to be leftover from the
previous 3.4.2 bump as we dont have any patches targeting configure.ac nor
libffi in general.

Fixes: openwrt/openwrt#18041
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-20 18:12:02 +01:00
Gerard Ryan
adce350700 containerd: Added reverse dependency version check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00
Gerard Ryan
023f3046fb runc: Added reverse dependency version check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00
Gerard Ryan
0c571ef505 tini: Added reverse dependency version check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00
Gerard Ryan
30355832f9 docker: Added reverse dependency version check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00
Gerard Ryan
5e2e9b7e91 dockerd: Improved error msg for rev ver dep check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00
Philipp Schmitt
3f7c3ee7f7 mwan3: write mwan3 use error/debug messages to stderr instead of stdout
This redirects the debug output to stderr, allowing `mwan3 use` to be used in
scripts without polluting stdout.

Before:

mwan3 use wan curl -fsSL https://ifconfig.co/json | jq -er '.country_iso'
jq: parse error: Invalid numeric literal at line 1, column 8
curl: (23) Failure writing output to destination, passed 389 returned 0

After:

mwan3 use wan curl -fsSL https://ifconfig.co/json | jq -er '.country_iso'
Running 'curl -fsSL https://ifconfig.co/json' with DEVICE=eth2 SRCIP=192.168.0.1 FWMARK=0x3f00 FAMILY=ipv4
DE

Signed-off-by: Philipp Schmitt <philipp@schmitt.co>
2025-02-20 11:10:34 +01:00
John Audia
00f28b8281 libffi: update to 3.4.7
3.4.7 Feb-8-2024
        Add static trampoline support for Linux on s390x.
        Fix BTI support for ARM64.
        Support pointer authentication for ARM64.
        Fix ASAN compatibility.
        Fix x86-64 calls with 6 GP registers and some SSE registers.
        Miscellaneous fixes for ARC and Darwin ARM64.
        Fix OpenRISC or1k and Solaris 10 builds.
        Remove nios2 port.

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-20 16:49:18 +08:00
Sandro Jäckel
a57913d54c tailscale: update to 1.80.2
Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2025-02-20 16:48:32 +08:00
John Audia
67784bf4d0 openssh: bump to 9.9p2
Updated and removed upstreamed patch.

Highlights relating to security:

* Fix CVE-2025-26465 - ssh(1) in OpenSSH versions 6.8p1 to 9.9p1
  (inclusive) contained a logic error that allowed an on-path
  attacker (a.k.a MITM) to impersonate any server when the
  VerifyHostKeyDNS option is enabled. This option is off by default.

* Fix CVE-2025-26466 - sshd(8) in OpenSSH versions 9.5p1 to 9.9p1
  (inclusive) is vulnerable to a memory/CPU denial-of-service related
  to the handling of SSH2_MSG_PING packets. This condition may be
  mitigated using the existing PerSourcePenalties feature.

Both vulnerabilities were discovered and demonstrated to be exploitable
by the Qualys Security Advisory team. We thank them for their detailed
review of OpenSSH.

Full release notes: https://www.openssh.com/txt/release-9.9p2

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-20 16:48:21 +08:00
Philipp Schmitt
0c9f4a8410 mwan3: propagate mwan3 use command exit code
This propagates the exit code of the command wrapped by `mwan3 use` and
allows for example to use `mwan3 use` in monitoring scripts.

Before change:
shell command:
  mwan3 use wan false >/dev/null && echo ok || echo fail
result:
  ok

After change:
shell command:
  mwan3 use wan false >/dev/null && echo ok || echo fail
result:
  fail

Signed-off-by: Philipp Schmitt <philipp@schmitt.co>
2025-02-20 07:59:20 +01:00
Bei Lin
0a2746c6d6 ddns-scripts: Accept 'good|nochg' for IPv4/IPv6 in ydns.io.json
Signed-off-by: Bei Lin <UVOEOO8@outlook.com>
2025-02-19 15:06:05 +01:00
Eric Fahlgren
6b85671450 owut: update to 2025.02.18
Bug fixes:
    efahl/owut@17a884e owut: clean up some apk-based hackery
    efahl/owut@065ac05 owut: add warnings for missing defaults

Enhancements:
    efahl/owut@f9fae6b owut: allow user to ignore removed default packages
    efahl/owut@5aa75b6 owut: message cleanup
    efahl/owut@5823db3 owut: reduce default verbosity

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2025-02-18 23:50:48 -08:00
Stan Grishin
706cad572c https-dns-proxy: bugfixes
* No more `/sbin/uci: Invalid argument output` when set to not update
  dnsmasq instances (thanks @tmcqueen-materials for investigation!)
* Do not wait for interface.up on boot, hopefully this resolves the
  boot-up start for everyone

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-02-18 10:23:20 -08:00
Olivier Poitrey
0f91e1b9c9 nextdns: Update to version 1.45.0
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2025-02-18 16:38:00 +02:00
Tianling Shen
39c5d7f851 v2raya: Update to 2.2.6.6
Remove unneeded reload_service func while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-02-18 19:57:49 +08:00
Tianling Shen
ff191e50ec v2ray-core: Update to 5.28.0
Remove unneeded reload_service func while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-02-18 19:57:22 +08:00
Tianling Shen
944d48241c rclone: Update to 1.69.1
Remove unneeded reload_service func while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-02-18 19:56:59 +08:00
Tianling Shen
66906b8677 cloudflared: Update to 2025.2.0
Remove unneeded reload_service func while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-02-18 19:55:55 +08:00
Dirk Brenken
162b1e693e adblock: release 4.2.5-1
* removed needless subshell calls
* add memory measurements:
   - size of the final blocklist in MB
   - free memory in MB (MemAvailable from /proc/meminfo)
   - script max. used RAM (VmHWM from /proc/$$/status)
* optimized restart logic
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-02-17 21:58:24 +01:00
Wesley Gimenes
7ff04e9e30 netbird: update to 0.36.7
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.36.7

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-17 18:15:13 +02:00
Javier Marcet
0f9bcfa8d8 docker-compose: Update to version 2.33.0
Release notes:
https://github.com/docker/compose/releases/tag/v2.33.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-02-17 18:55:11 +08:00
Hirokazu MORIKAWA
21200cd083 node: bump to 22.14.0
Notable Changes

    [82a9000e9e] - crypto: update root certificates to NSS 3.107 (Node.js GitHub Bot) #56566
    [b7fe54fc88] - (SEMVER-MINOR) fs: allow exclude option in globs to accept glob patterns (Daeyeon Jeong) #56489
    [3ac92ef607] - (SEMVER-MINOR) lib: add typescript support to STDIN eval (Marco Ippolito) #56359
    [1614e8e7bc] - (SEMVER-MINOR) module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX (Marco Ippolito) #56610
    [6d6cffa9cc] - (SEMVER-MINOR) module: add findPackageJSON util (Jacob Smith) #55412
    [d35333ae18] - (SEMVER-MINOR) process: add process.ref() and process.unref() methods (James M Snell) #56400
    [07ff3ddcb5] - (SEMVER-MINOR) sqlite: support TypedArray and DataView in StatementSync (Alex Yang) #56385
    [94d3fe1b62] - (SEMVER-MINOR) src: add --disable-sigusr1 to prevent signal i/o thread (Rafael Gonzaga) #56441
    [5afffb4415] - (SEMVER-MINOR) src,worker: add isInternalWorker (Carlos Espa) #56469
    [697a851fb3] - (SEMVER-MINOR) test_runner: add TestContext.prototype.waitFor() (Colin Ihrig) #56595
    [047537b48c] - (SEMVER-MINOR) test_runner: add t.assert.fileSnapshot() (Colin Ihrig) #56459
    [926cf84e95] - (SEMVER-MINOR) test_runner: add assert.register() API (Colin Ihrig) #56434
    [c658a8afdf] - (SEMVER-MINOR) worker: add eval ts input (Marco Ippolito) #56394

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2025-02-17 18:51:17 +08:00
Ryan Keane
c3a33e10a5 adguardhome: Update init files
Move working directory from `/var/adguardhome` to
`/var/lib/adguardhome`, according to Linux FHS.
Add option to store PID file, defaulting to `/run/adguardhome.pid`.

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
2025-02-16 21:48:19 +08:00
Ryan Keane
62c7581238 adguardhome: Bump to 0.107.56
Bump version to 0.107.56, it's a small update.
Changelog is in links below.

Use tarballs from upstream tags instead of a Git repo.

Link: https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.56
Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
2025-02-16 21:48:19 +08:00
Bartosz Cieślik
d4cf046433 acme-common: Resolve problem with webroot symlink
Signed-off-by: Bartosz Cieślik <bartoszcieslik2@gmail.com>
2025-02-16 19:47:00 +08:00