Update the Continuous Integration section to reflect the current state:
- Update the list of runtime-tested architectures (add i386_pentium-mmx
and mips_24kc, remove outdated i386_pentium4)
- Document the generic test suite (executable, version, hardcoded path,
strip, linked library, and SONAME checks)
- Add documentation for test-version.sh (version check override) and
pre-test.sh (pre-test setup) scripts alongside the existing test.sh
- Document available environment variables (PKG_NAME, PKG_VERSION,
CI_HELPERS) for test scripts
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Add a nat_traffic collector for prometheus-node-exporter-ucode,
ported from the equivalent Lua collector in prometheus-node-exporter-lua.
Reads /proc/net/nf_conntrack and exports per-(src, dst) pair byte
totals (both directions summed) as node_nat_traffic gauge metrics.
Also includes a ucode-based unit test with a fixture file that can be
run locally with: ucode test/nat_traffic.uc
Signed-off-by: Ricard Nacher <ricard.nacher@midokura.com>
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.
In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.
Incorporates and supersedes: #28308
Should supersede #21014Closes: #28298
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Apparently the CI wants to 'see' the version not just get a return code,
so emit the version when we have one.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Extra quotes were being interpreted literally, preventing proper
ups driver stop and/or reload.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Add previously missed migration script (uci-defaults) for changes
to nut-monitor initscript.
Created with the help of iterative code reviews by
Qwen3.6-27B (LLM model) running on llama.cpp (local LLM server),
controlled by LATE.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Description:
Update to version 1.2.2-18
- Update PKG_RELEASE to 18.
files/etc/init.d/pbr:
- Update package compatibility level to 26.
- Improve IPv4 gateway detection for various scenarios (e.g., netifd,
point-to-point links).
- Add pbr_get_ipaddr4 function to retrieve an interface's IPv4 address.
- Improve IPv6 gateway detection, including link-local router discovery
and point-to-point link handling.
- Add pbr_get_ipaddr6 function to retrieve an interface's IPv6 address.
- Introduce `is_punycode` helper for domain validation, recognizing
internationalized domain names.
- Expand `is_domain` to include `is_punycode` for comprehensive domain
matching.
- Add `warningInterfaceRoutingUnknownGateway` text for improved error
messages.
- Enhance `nftset` dnsmasq element addition logic to properly handle
existing entries and append new specifications for dual-stack.
- Flush IPv4 and IPv6 routes from custom tables during cleanup to ensure
proper state reset.
- Optimize `dns_policy_process` to only record the first IPv4 and IPv6
DNS servers to avoid issues with multi-value `src_addr` in family
mismatch checks.
- Refine IPv4 routing (`interface_routing`) for strict enforcement and
point-to-point links.
- Refine IPv6 routing (`interface_routing`) for strict enforcement and
point-to-point links.
- Adjust display of gateway information (`dispGw4`, `dispGw6`) to show
IP address if no gateway is found.
- Ensure `json_add_gateway` uses `dispGw4` and `dispGw6` for consistent
output.
- Move `process_interface` calls for `reset_globals` and
`enumerate_interface` earlier in `start_service` for consistent
trigger registration.
- Add logic to skip IPv6 interface reload if the gateway is unchanged to
prevent unnecessary restarts.
- Standardize `service_triggers` to always register all triggers,
ensuring robust recovery from WAN-down states.
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Keep the default restart timing based on the moment the recovery action
is triggered.
The optional reset_failure_timer path still starts a fresh failure window
after the recovery action finishes. This makes the two timing modes
explicit.
Signed-off-by: Dharmik Parmar <dharmikparmar2004@yahoo.com>
None of the ddns-scripts executables or scripts report the package version when
run, which causes the generic version probe to fail.
Add a test-version.sh to skip the version check for ddns-scripts and all of
its subpackages.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The giflib-utils executables (gif2rgb, gifbuild, gifclrmp, giffix,
giftext, giftool) do not report the package version when run, which
causes the generic version probe to fail.
Add a test-version.sh to skip the version check for the giflib and
giflib-utils packages.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
None of the uspot executables (radius-client, uspot, uspot-das) expose
the package version via --version or --help flags. This causes the
generic CI tests to fail with "No executables in the package provided
version".
Add a test-version.sh to skip the version probe for the uspot,
uspotfilter and uspot-www subpackages.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- Change trigger back to pull_request to ensure it runs correctly on fork PRs
- Add a wait-for-formalities job that polls the GITHUB_TOKEN for FormalityCheck status
- Execute the feeds package test build only when the formalities check succeeds
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The kea-ctrl-agent utility was deprecated in Kea 3.0 and removed in 3.2.
Adopt test.sh to not use the removed command and its config/password
stubs.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- Change trigger from check_run to check_suite completed event
- Run feeds test build only when all checks in the suite succeed
Fixes: ef633e9 ("ci: replace GitHub actions (labeler, formalities) by webhook")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- Added file .github/formalities.json, which can be configured
in this repository, otherwise it uses defaults.
- Removed GitHub Action Labeler workflow as it was implemented
by webhook to be faster
- Updated multi-arch-test-build.yml to run builds when Formalities Check passes
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- fixed log monitor source-IP spoofing (GHSA-r6hx-4f83-vp8m)
Fix: per-ban_logterm source anchoring — the real source (last IP in the line)
is used by default; opt-in 'first:' prefix for source-first formats (web-server access logs).
- add f_mem() helper to read MemAvailable from /proc/meminfo
- cap the auto-detected CPU core count by available memory in f_system:
ban_cores is limited to MemAvailable / 48 (MiB per job), floored to at least 1 core;
this bounds the number of feeds processed in parallel on constrained devices,
a user-set ban_cores is still honored as a ceiling (the cap only ever lowers it).
- derive the GNU sort buffer size from available memory, applied only when
coreutils sort is present; busybox sort is a no-op
Signed-off-by: Dirk Brenken <dev@brenken.org>
* New release, see the changelog [1] for what's new.
* Switch the download source from Bitbucket to the official release page (https://mmonit.com/monit/dist/). The source code archives on Bitbucket no longer use clear naming conventions like "monit-x.y.z". The Monit team has confirmed that downloading directly from their official distribution site is the recommended approach going forward.
[1] https://mmonit.com/monit/changes/
Signed-off-by: Yaroslav Petrov <info@lank.me>
7532e12 ubus: added reassoc_delay and reason code
7b1379a policy: add dynamic signal threshold to band-steering
094c469 ubus: DEAUTH reason more accurate
49ba5f1 policy: optimized steering with different levels of aggressiveness
0beb2c9 local_node: handle NULL sta_addr by freeing query memory
1a2f171 policy: fix logic in load comparison for node selection
Signed-off-by: Jan Froch <jan@froch.eu>
AF_ALG support is removed upstream in newer kernels. Prepare for the
removal by removing support.
The crypto depends come included with kmod-ipsec. No need for them.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
kmod-ipsec has all of these already included, including the deflate
stuff as part of kmod-crypto-deflate and kmod-crypto-aead as part of
kmod-crypto-echaniv.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
f5be8d0ee836 radius-client: fix printf format warning for uint64_t
815a28c49293 CMakeLists: set minimum required version to 3.10 for cmake 4.x
913980c0249f uspotfilter: switch to an RTNL active poll system
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Describe the configuration files for bsbf-bonding and bsbf-mptcp so that
they are automatically included when taking a system backup.
Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>