Commit Graph

33541 Commits

Author SHA1 Message Date
Nick Hainke d16b8ca78a dawn: update to 2025-03-03
Add "option tcp_ip '0.0.0.0'" to config.

Changelog:
62688e4 tcpsocket: add option to bind to specific ip
be63ed4 ubus: actually deny association when no probe entry is found
6361df6 datastorage: fix debug message regarding client kick condition
af593cc ci: fix and improve ci

Signed-off-by: Nick Hainke <vincent@systemli.org>
2025-03-04 21:32:16 +01:00
Lehua Zhang bb4861efb1 ddns-scripts: Fixup huaweicloud
Script will exit when an error occurred.

Modify write_log 14 to write_log 4,
write_log 14 and write_log 4 can also print the same message,
but write_log 14 will exist script when printed.

Signed-off-by: Lehua Zhang <sxlehua@qq.com>
2025-03-04 10:32:34 +01:00
Dirk Brenken bf87a6dcec
adblock: release 4.2.7-1
* optimized uci config processing (list options)
* no longer set a hardcoded confdir in dhcp/dnsmasq config
* rework suspend/resume handling
* clean up download queue handling
* various small improvements & fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-03-03 21:50:26 +01:00
Dirk Brenken 62a4633e7c
banIP: update 1.5.3-2
* fix uci config processing (ban_logterm)
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-03-03 19:45:11 +01:00
Hannu Nyman 7ce67fb7dc lang/node-* : Disable parallel builds for node packages
Disable parallel builds for node downstream packages, as the
buildbot is showing frequent timeout problems
for aarch644, arm, i386 and x86, and node & node packages
are the primary suspect.

Based on discussion in
https://github.com/openwrt/packages/issues/26078

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2025-03-03 17:15:11 +02:00
Felix Fietkau d798ccce9a python3-host.mk: disable pip --no-binary on macOS
For some reason, pip builds a broken Cython, which segfaults on attempting
to install wheel. Work around this by allowing to use precompiled wheels.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-03-03 12:18:16 +01:00
TeleostNaCl Dai 028c3a87ca speedtest-go: update to 1.7.10
Update speedtest-go version to 1.7.10

Signed-off-by: TeleostNaCl Dai <teleostnacl@gmail.com>
2025-03-02 18:47:44 +08:00
Stan Grishin f19bf22b3c adblock-fast: bugfix: detect_file_type()
* Properly detect domain lists, fixes https://github.com/openwrt/packages/issues/25973
  Thanks @timfeierabend
* Better output when setting triggers
* No wait for ubus network.interface on boot

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-03-01 09:57:10 -08:00
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