This PR updates DNSdist to the latest release on the 2.1.x
branch, 2.1.4, including several security fixes: CVE-2026-85561,
CVE-2026-85562, CVE-2026-85563, CVE-2026-85564, CVE-2026-85565,
CVE-2026-85566, CVE-2026-85567, CVE-2026-123755 and CVE-2026-123756.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Add Nomadns (https://nomadns.net), a free dynamic DNS service with a
DynDNS2 update API for IPv4 and IPv6. Credentials are a per-hostname
token created in the web interface. Both address families use the same
endpoint, the detected address being passed explicitly with myip=.
option username token identifier
option password token secret
option domain FQDN (name.nomadns.net)
Tested on OpenWrt 24.10.0, ramips/mt7621 (Ubiquiti EdgeRouter X),
ddns-scripts 2.8.2-r68: IPv4 and IPv6 updates accepted ("good"),
unchanged address ("nochg") and wrong credentials ("badauth")
handled as expected.
Documentation: https://nomadns.net/en/docs/clients/
Source: https://git.hostux.net/hostux.net/nomadns.net (AGPL-3.0)
Bump PKG_RELEASE.
Signed-off-by: Valère Morin <github@hostux.net>
Increment PKG_RELEASE so the updated snmpd.init (new SNMPv3
security_level option) is rebuilt and shipped to users
Signed-off-by: Christian Korber <ckorber@tdt.de>
Add a security_level option (noAuthNoPriv, authNoPriv, authPriv) to
the UCI configuration so users can select the SNMPv3 security level
directly instead of having to infer it from other settings.
This makes the configuration clearer and allows luci-app-snmpd to
expose the choice as a simple dropdown, making SNMPv3 setup more
intuitive.
Signed-off-by: Christian Korber <ckorber@tdt.de>
Add an optional 'security_level' option (noAuthNoPriv, authNoPriv,
authPriv) to snmpv3 user sections, so the intended level is explicit
instead of being implied by which password options happen to be set.
This also allows luci-app-snmpd to offer it as a simple dropdown,
making SNMPv3 user setup more intuitive.
For existing sections without 'security_level', the level is derived
from the configured options, so current configurations keep working:
- no auth_pass -> noAuthNoPriv
- privacy_type and privacy_pass set -> authPriv
- otherwise -> authNoPriv
Validation is reworked around the selected level:
- unknown security_level values are skipped with a message
- authNoPriv and authPriv require auth_type and an auth_pass of
at least 8 characters
- authPriv additionally requires privacy_type and a privacy_pass
of at least 8 characters, instead of silently falling back to
authNoPriv when they are missing
Signed-off-by: Christian Korber <ckorber@tdt.de>
nginx-mod-lua-resty-core and nginx-mod-lua-resty-lrucache install
their Lua files under /usr/lib/lua, but luajit2 looks for Lua files
only under /usr/share/lua and uses /usr/lib/lua for C modules. The lua
module loads resty.core at startup, so once nginx-mod-lua is
installed, nginx does not start unless lua_package_path is set, which
the default configuration does not do:
[alert] failed to load the 'resty.core' module (...)
Install the files under /usr/share/lua. They are plain Lua modules, so
install them with INSTALL_DATA (0644) instead of INSTALL_BIN (0755).
Fixes: 266be55d55 ("nginx: add required modules for Openresty lua module")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Warnings and errors of the init script were only printed to stderr,
which is not visible when the service is started at boot. Also send
them to syslog.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Add the list option esp_proposal to a connection in the simple
configuration mode and write it as esp_proposals of its child. The
crypto_proposal option of the connection already holds the IKE
proposals.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
In the simple configuration mode, generate one child in tunnel mode,
named like the connection. It takes 'local_ts', 'remote_ts',
'start_action' and 'if_id' from the connection section.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Add the connection option 'config_mode'. With 'simple', both sides
authenticate with the PSK of the connection and the optional
'local_id'/'remote_id', without separate local and remote sections.
Without a PSK, the secret is taken from the global secrets section.
The default 'advanced' keeps the current behavior.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Add the 'revocation' option to the remote section. Valid values are
'strict', 'ifuri' and 'relaxed'; if unset, the strongSwan default
applies.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Add the boolean globals option 'cache_crls', which sets
'charon.cache_crls' in the generated strongswan.conf. Default is off.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
The caller invokes tls_makeConf without arguments and the
definition ignores its three parameters. GCC 15 uses C23 by
default and detects that the declaration conflicts with the
definition. Use void in both, preserving the existing behavior.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to C23. The unprototyped function pointers in
xinetd 2.3.15.4 are interpreted as accepting no arguments, and
the pointer assignments and indirect calls fail to compile.
Select GNU C17 for this package, as used by Buildroot.
Link: https://github.com/openSUSE/xinetd/issues/49
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This reverts commit 4e79526edb.
Kea uses an even/odd stable/devel numbering scheme. The 3.3.x is the unstable
branch and "not recommended for production use". As we don't currently have a
timeline for the 3.3.x branch to stabilize in to 3.4.0 or 4.0.0, we should not
be packaging it at this time.
Signed-off-by: Noah Meyerhans <frodo@morgul.net>
Since 2.55 git builds its Rust parts by default. Set NO_RUST to keep
building without Rust, as before.
Refresh patches.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Python 3.14.10 turned the prefix_real line in python-config into
prefix_real=$(installed_prefix "$0") || {
printf '%s\n' "$0: cannot determine the installation prefix" >&2
exit 1
}
The sed in Build/InstallDev replaces the whole first line, so the error
and "exit 1" now always run and the staged python3.14-config fails for
every option. freeradius3 with rlm_python3 then fails to build:
rlm_python3.c:38:10: fatal error: Python.h: No such file or directory
Only replace the assignment. This works with both the old and the new
form of the line.
Fixes: 7eef26d512 ("python3: update to 3.14.10")
Signed-off-by: Joshua Covington <joshuacov@gmail.com>
Install nano-default-editor.sh into /usr/lib/profile.d, which
/etc/profile sources for packages, and leave /etc/profile.d to the
administrator. A uci-defaults script removes the copy that sysupgrade
restored into /etc/profile.d when it matches the file nano has shipped;
an edited file stays.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daemon stopped answering requests, until restarted, once a
reconnect of its worker connection had failed
New flag for -S --sshpublickey-permissions, as in the Dart
sshnpd
Daemon builds the authorized_keys line for a client's ssh
public key itself, and starts on a device with no
~/.ssh/authorized_keys, creating it when it first key added
Upstream alignment to Mbed-TLS 3.6.8
Signed-off-by: Chris Swan <chris@atsign.com>
- update to 1.0.98
- refine ACL handling: set address ACL to ALL only if none of address
and name ACLs are defined. If one of them is defined, leave the other
one empty. This closes the gap where with the default address ACL set
to ALL it was impossible to restrict initiator names
- if configuration of a target or LUN fails, remove it; don't keep
half-configured entities
Fixes: #31288
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
The uint32 typemap used by the HMTRP binding calls a Python 2 API
spelling that SWIG 4.5 no longer aliases. Use the corresponding
PyLong_AsLong function directly.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to GNU C23, where bool is a reserved keyword.
SoftEther VPN Stable 4.38 defines bool as an unsigned int, and
uses its size in configuration storage and socket option calls.
Set GNU C17 for the target and host builds to preserve the 4.x
type and API. The development branch's switch to stdbool.h
changes the type width and is a larger compatibility change
for this stable release.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 treats an empty parameter list as a zero-argument
prototype. Madplay's bundled gettext uses old-style declarations
in the external libintl probe and in its own getcwd declaration.
Under BUILD_NLS, the target build falls back to bundled gettext
and fails with conflicting types for getcwd.
Compile the old release in GNU C17 so those declarations retain
their expected meaning. TARGET_CFLAGS applies the dialect to the
configure probes and to the existing explicit make CFLAGS. The
full-NLS probe now detects OpenWrt's staged libintl.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to GNU C23, where an empty parameter list
specifies zero arguments. Jupp's editor command table and
window callbacks use unprototyped pointers for functions with
different parameter lists, so compilation fails in cmd.c.
Use GNU C17 to retain the dialect expected by the command and
window APIs. This keeps other compiler diagnostics enabled.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Backport upstream 75ed9fdf11d2 to use the correct sigaction
handler type. The bundled DNS code still uses unprototyped
callbacks, whose meaning changed in GCC 15 default C23 mode.
Preserve the GNU C99 dialect specified by upstream when supplying
OpenWrt target CFLAGS.
Link: https://github.com/wahern/cqueues/commit/75ed9fdf11d2d15e9949a45253434b6a5c63581d
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to GNU C23, where an empty parameter list
specifies zero arguments. Alpine's unprototyped strucmp
declaration conflicts with its two-argument definition, and
the compiler rejects calls through its collation callback.
Build this source in GNU C17 mode so its legacy declarations
retain the intended semantics. Fedora used the same dialect
for the still-affected Alpine 2.26 release.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2336274
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* add configurable burst limits for the ICMP, SYN and UDP DoS safeguards
('ban_icmpburstlimit', 'ban_synburstlimit', 'ban_udpburstlimit'),
default '5' (nft default, no change of the effective ruleset),
empty, zero or non-numeric values fall back to '5'
* apply the burst limit to the log and the drop rule of each safeguard
* show the burst limits in the status (nft_info) and debug output
* add new feeds: abuseipdb and threatfox (requires auth-key)
* readme update
Fixes: #31462
Signed-off-by: Dirk Brenken <dev@brenken.org>
- revive an uplink once it is back in range
- detect overlapping uplink and lan networks
- take down/up uplink services for a captive portal login (Fixes: #28646)
- take uplink services out of a global, user-defined allowlist
- only allow defined actions, no symlinked init scripts
- readme update
Signed-off-by: Dirk Brenken <dev@brenken.org>
Since 2.2.2 configure overwrites CFLAGS and CXXFLAGS unconditionally.
The objects are then built without -fpic, and linking as PIE fails on
x86_64:
relocation R_X86_64_32 against symbol `warn_compat_and_peer_exchange'
can not be used when making a PIE object; recompile with -fPIE
Add a patch so configure only uses its defaults if the flags are unset.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
gnupg2-utils hard depends on gnupg2. Packages that pull in
gnupg2-utils conditionally then pass this dependency on to packages
selecting them. Since fwknop switched to gnupg2, this causes a
recursive dependency between fwknopd, luci-app-fwknopd and
FWKNOPD_GPG:
tmp/.config-package.in:115104:error: recursive dependency detected!
tmp/.config-package.in:115104: symbol PACKAGE_fwknopd is selected by PACKAGE_luci-app-fwknopd
tmp/.config-package.in:71943: symbol PACKAGE_luci-app-fwknopd depends on FWKNOPD_GPG
feeds/packages/net/fwknop/Config.in:5: symbol FWKNOPD_GPG depends on PACKAGE_fwknopd
Select gnupg2 instead.
Fixes: 5e338b5dbf ("fwknop: switch GPG support to gnupg2")
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Since GCC 15 is the default compiler (openwrt/openwrt@fd3b9d4678,
"toolchain: gcc: switch default to 15"), nginx fails to build when
nginx-mod-njs is selected, as on the build bots and in the CI. njs
0.8.6 compiles with -Werror, and GCC 15 reports string initializers
that leave no room for the terminating NUL:
src/njs_string.h:215:36: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Werror=unterminated-string-initialization]
njs 0.9.0 fixed this in two commits. Backport them, without the hunk
for a file that 0.8.6 does not have. After them, 19 errors remain in
initializers of short strings, which no longer exist in 0.9.0. Short
strings store their length separately and are not NUL terminated, so
mark their array as nonstring.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
dhcpd points the system resolver at 127.0.0.1 when it starts but
leaves it there when it stops, so local lookups keep going to a server
that may no longer run.
On stop, if the resolver configuration is the one dhcpd generated, put
back the relative link to resolv.conf.auto in /tmp/resolv.conf.d, as
dnsmasq does.
Fixes: db6adb616d ("isc-dhcp: write resolv.conf per network & dhcp settings")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
When dhcpd generates its configuration, it removes /tmp/resolv.conf
and appends a new one line by line, so a lookup in between finds no or
a partial file. The file also lies outside /tmp/resolv.conf.d, where
jails sharing the host network cannot follow its replacement.
Write the resolver configuration to a temporary file in
/tmp/resolv.conf.d and rename it over resolv.conf there, as dnsmasq
does, and point /tmp/resolv.conf at it if it does not already.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
When unbound serves the local resolver, it removes /tmp/resolv.conf
and writes its own file in its place, so a lookup in between finds
none. The file also lies outside /tmp/resolv.conf.d, where jails
sharing the host network cannot follow its replacement.
Write the configuration to a temporary file in /tmp/resolv.conf.d and
rename it over resolv.conf there, as dnsmasq does. On stop, put back
the relative link to resolv.conf.auto the same way. Both point
/tmp/resolv.conf at resolv.conf.d/resolv.conf if it does not already,
which also covers a file left behind by an earlier unbound.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Install btop.sh into /usr/lib/profile.d, which /etc/profile sources for
packages, and leave /etc/profile.d to the administrator. The
uci-defaults script removes the copy that sysupgrade restored into
/etc/profile.d when it matches one of the two versions btop has
shipped, which takes the place of rewriting the old alias in it; an
edited file stays.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Update luaossl from 20220711 to 20260910.
Reset PKG_RELEASE to 1 and update PKG_MIRROR_HASH for the new source.
Signed-off-by: Christian Korber <ckorber@tdt.de>
GCC 15 defaults to C23, where an empty parameter list in a function
declaration means "(void)" instead of "unspecified arguments". The
tac_plus sources use K&R-style declarations throughout, which now
fail to compile:
tac_pwd.c:140:26: error: conflicting types for 'crypt'; have 'char *(void)'
Similar errors occur in authen.c, choose_authen.c, sendauth.c and
sendpass.c.
Build with -std=gnu17 until the sources are converted to proper
prototypes.
Signed-off-by: Christian Korber <ckorber@tdt.de>
Package ONVIF Device, Media, Media2 and optional Imaging services with
generic external control helpers. Serve CGI requests through a dedicated
uhttpd section and announce on suitable IPv4 and IPv6 interfaces.
Apply the media parameter, connection address, persistent identity and
XML escaping changes for integration with the UCI camera service.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The source archive name was just '9.4.0.tar.gz' as the PKG_NAME was
omitted from the assigned filename. Add PKG_NAME to it.
Fixes commit cc4309d
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>