Adolf Belka [Wed, 2 Jul 2025 11:00:55 +0000 (13:00 +0200)]
sudo: Update to version 1.9.17p1
- Update from version 1.9.17 to 1.9.17p1
- Update of rootfile not required
- Changelog
1.9.17p1
* Fixed CVE-2025-32462. Sudo's -h (--host) option could be specified
when running a command or editing a file. This could enable a
local privilege escalation attack if the sudoers file allows the
user to run commands on a different host.
* Fixed CVE-2025-32463. An attacker can leverage sudo's -R
(--chroot) option to run arbitrary commands as root, even if
they are not listed in the sudoers file. The chroot support has
been deprecated an will be removed entirely in a future release.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Adolf Belka [Tue, 1 Jul 2025 13:44:35 +0000 (15:44 +0200)]
core196: Revert ship of customservices from fwhosts
- Shipping the customservices file replaced the existing file on all users systems, which
resulted in any modificationjs they had made being wiped out.
- Having thought about it further what I shouldn have done is just added the additional
custom service of "DNS over TLS" to the end of the customservices file during the
update process using update.sh but that is also not so easy because what number to
use for the "DNS over TLS" entry will depend on how many custom services the user
has created.
- At the least the shipping of the customservices file needs to be reverted. I and others
can then think about alternative ways to provide that entry to existing files.
- Alternatively we could leave it without doing anything. A fresh install will have the
"DNS over TLS" entry and upgrades will just leave the existing customservices file
alone.
- Users can of course recover the file by doing a restore from the backup they have
created but it is not good to overwrite those sorts of files.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
this is needed because some arm systems try to set more than one
console output via firmware/dtb and this is incompatible with the old
initsystem that ipfire use.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Michael Tremer [Mon, 23 Jun 2025 17:16:57 +0000 (17:16 +0000)]
fwhosts.cgi: Move the tooltip into the usage counter
This will clutter the page less as we don't have any good icon sets.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Peer Dietzmann [Mon, 23 Jun 2025 17:16:54 +0000 (17:16 +0000)]
fwhosts.cgi: Show in which firewall rule objects are being used
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sat, 28 Jun 2025 13:48:49 +0000 (15:48 +0200)]
functions.pl: pakfir cleanup
- I wondered what was supposed to be in the pakfire.log file that has always been empty
so I had a look around and discovered that it has been commented out since CU30
- So this patch removes that commented out line and the other patches in this set
remove the creation of the empty pakfire.log file and stop it being restored etc
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Fri, 27 Jun 2025 19:53:50 +0000 (21:53 +0200)]
libloc: Fixes bug13861 - libloc-0.9.18 fails to find some ASN info
- Patch added to fix bactracking after no match found bug. When the next version of
libloc is released then this patch can be removed as the patch will be integrated in
with that version.
- Update of rootfile not required.
- Tested out on local build of libloc-0.9.18
Fixes: bug13861 Reported-by: Adolf Belka <adolf.belka@ipfire.org> Suggested-by: Michael Tremer <michael.tremer@ipfire.org> Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Matthias Fischer [Tue, 24 Jun 2025 21:21:22 +0000 (23:21 +0200)]
squid: Update to 6.14
For details see:
https://github.com/squid-cache/squid/releases/tag/SQUID_6_14
"Changes in squid-6.14 (24 Jun 2025):
- Bug 5352: Do not get stuck in RESPMOD after pausing peer read(2)
- Bug 5489: Fix "make check" linking on Solaris
- Fix SNMP cacheNumObjCount -- number of cached objects
- Do not duplicate received Surrogate-Capability in sent requests
- Fix Mem::Segment::open() stub to fix build without shm_open()
- ... and CI and documentation updates"
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
- Update from version 1.0.20210914 to 1.0.20250521
- Update of rootfile not required
- Changelog
1.0.20250521
config: handle strdup failure
wg-quick: linux: add 'dev' to 'ip link add' to avoid keyword conflicts
ipc: add stub for allowedips flags on other platforms
ipc: linux: support incremental allowed ips updates
ipc: freebsd: use AF_LOCAL for the control socket
ipc: linux: enforce IFNAMSIZ limit
man: set private key in PreUp rather than PostUp
wg-quick: run PreUp hook after creating interface
show: fix show all endpoints output
ipc: freebsd: NULL out some freed memory in kernel_set_device()
ipc: freebsd: avoid leaking memory in kernel_get_device()
show: apply const to right part of pointer
ipc: freebsd: move if_wg path to reflect new in-tree location
wg-quick: linux: prevent traffic from momentarily leaking into tunnel
global: dual license core files as MIT for FreeBSD
wg-quick: android: use right regex for host-vs-IP
reresolve-dns: use $EPOCHSECONDS instead of $(date +%s)
embeddable-wg-library: add named wg_endpoint union
ipc: use more clever PnP enumerator
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Mon, 23 Jun 2025 10:57:16 +0000 (12:57 +0200)]
frr: Update to version 10.3.1
- Update from version 10.2.1 to 10.3.1
- Update of rootfile
- CVE fix in 10.3.0
- Changelog
10.3.1
Bug Fixes
babeld
Check valid babel port
Fix incorrect type assignment in parse_request_subtlv
bgpd
Fix set evpn gateway-ip ipv[46] route-map
Fix bmp heap use after free on non connected session
Fix evpn attributes being dropped on input
Fix holdtime not working properly when busy
Fix leaked memory when showing some bgp routes
Fixed crash upon bgp network import-check command
On shutdown free up memory leak found by topotest
Prevent crash when issuing a show rpki connections
Remove unused defines from bgp_label.h
Retain the routes if we do a clear with n-bit set for graceful-restart
Set the label for mp_unreach_nlri 0x800000 instead of 0x000000
Treat the peer as not active due to bfd down only if established
isisd
Fix srv6_sid memory leak
lib
Create vrf if needed
Return duplicate ipv6 prefix-list entry test
Return duplicate prefix-list entry test
nhrpd
Add hop count validation before forwarding in nhrp_peer_recv()
ospf6d
Disable and delete ospfv3 areas that no longer have interfaces or configuration.
Fix lsa memory leaks related to graceful restart
pimd
Fix for crash during networking restart
Fix memory leak on shutdown
Initialize gm proxy to false
staticd
Avoid requesting srv6 sid from zebra when loc and sid block dont match
Fix crash that occurs when modifying an srv6 sid
tools
Fix reload script for srv6 locators and formats
zebrad
Do not flush an existing vni configuration trying to remove wrong vni
Ensure proper return for failure for sid allocation
Fixes allowing srv6 func-bits length 0
10.3.0
New Features Highlight:
Lua 5.4 support
Fixed CVE-2024-55553
New match community-count BGP command to limit communities count
New set metric igp|aigp BGP command to inject IGP metric as MED into BGP
New bgp ipv6-auto-ra BGP command
Optimize BGP EVPN L2VNI/L3VIN remote routes processing
Respect non-transitive BGP extended communities between direct peers
Drop deprecated bgp network import-check exact command
Handle BGP ENHE (Extended Next Hop Encoding) capability via dynamic capability
Implement BGP connect backoff retry
Implement an ability to import BMP information from a separate BGP instance
Add support of BGP color extended community color-only types
Implement SBFD
Add support for SRv6 static SIDs
Implement embedded-rp for PIMv6
Implement AutoRP mapping-agent for PIM
Implement MSDP peer SA limiting
What's Changed
zebra: Fix crash in pw code by @donaldsharp in #17042
bfdd, yang: change bfd timer and multiplier values by @louis-6wind in #17002
Adds note about VRRP issues inside a VM with underlying bridge networking by @chriswiggins in #17050
tools: Add missing mgmtd into logrotate/rsyslogd by @ton31337 in #17054
isisd: Lsp fragments will delete the corresponding dyn_cache entry. by @baozhen-H3C in #17044
bgpd: Allow specification of vrf in show bgp neighbor graceful-restart by @donaldsharp in #17057
bgpd: changes for code maintainability by @sri-mohan1 in #17040
10.3 dev deb/rpm housekeeping by @Jafaral in #17061
bgpd: fix ipv6 nexthop-local unchanged by @louis-6wind in #17037
doc: routemap: fix typos by @rudis in #17064
bgpd: Move some non BGP-specific route-map functions to lib by @ton31337 in #17059
bgpd: split nexthop-local unchanged peer subgroup by @louis-6wind in #17071
zebra: add back one field for debug by @anlancs in #17082
zebra: Only notify dplane work pthread when needed by @donaldsharp in #17062
bgpd: fix evpn mh esi down by @chiragshah6 in #17074
doc: clarify bgp as-override by @louis-6wind in #17087
bgpd: bmp loc-rib peer up/down for vrfs by @louis-6wind in #17001
zebra: vlan to dplane by @raja-rajasekar in #16737
bgpd: Remove unused BGP_NEXTHOP_CONNECTED_CHANGED flag for nexthop by @ton31337 in #17099
bgpd: Check if su_local/su_remote exist before encoding BMP peer state by @ton31337 in #17103
bgpd: fix route selection with AIGP by @enkechen-panw in #17093
bgpd: Drop deprecated bgp network import-check exact command by @ton31337 in #17053
lib: Apply and generate route-map commands earlier before any other protocol by @ton31337 in #17058
isisd: Remove circuit state check for openfabric by @ton31337 in #17083
ospfd: fix the bug that the empty area was not free after no_area_range was executed by @Shbinging in #17101
bgpd: fix bmp coverity issue 1600779 by @louis-6wind in #17106
tools/gcc-plugins: don't crash on array parameters by @eqvinox in #17104
bgpd, tests: don't send local nexthop from rr client by @louis-6wind in #17073
zebra: Prevent a kernel route from being there when a connected should by @donaldsharp in #17088
zebra: Attempt to explain the rnh tracking code better by @donaldsharp in #15586
bgpd: Derive and set MED from IGP or AIGP by @ton31337 in #17038
tests: iproute2_check_path_selection call the actual command by @donaldsharp in #17107
ospfd: Fixup ospf_lsa.[ch] to properly spell out parameters for funct… by @donaldsharp in #17126
zebra: unlock node only after operation in zebra_free_rnh() by @enkechen-panw in #17116
vtysh: fix SA warning, no need to call getenv() twice by @Jafaral in #17114
bgpd: Implement match src-peer ... command by @ton31337 in #16946
zebra: fix heap-use-after free on ns shutdown by @pguibert6WIND in #17020
*: Fix up improper handling of nexthops for nexthop tracking by @donaldsharp in #17076
lib, test: fix display ipv4 mapped ipv6 addresses by @louis-6wind in #16452
bgpd: fix several issues in sourcing AIGP attribute by @enkechen-panw in #17091
ospfd: fix some ospf commands by @Shbinging in #17065
*: fix clang-19 SA by @eqvinox in #17136
zebra: Fix possible null deref discovered by coverity by @donaldsharp in #17154
ospfd: update ospf_asbr_status when using no_area_nssa command by @Shbinging in #17134
lib: Correctly handle ppoll pfds.events == 0 by @donaldsharp in #17025
bgpd: changes for code maintainability by @sri-mohan1 in #17164
bgpd: changes for code maintainability by @sri-mohan1 in #17167
tests: logger masked in topotest.py by @liambrady in #17157
bgpd: allow value 0 in aigp-metric setting by @enkechen-panw in #17169
doc: Require unified config for all new topotests by @ton31337 in #17172
bgpd: fix AIGP calculation in route advertisement by @enkechen-panw in #17168
bgpd: Handle non-transitive extended communities by @ton31337 in #17151
bgpd: Do not filter no-export community for BGP OAD by @ton31337 in #17165
zebra: remove useless code by @anlancs in #17166
isisd: fix 'show isis route' and 'show isis fast-reroute summary' errors with vrf by @baozhen-H3C in #17174
zebra: drop NEWLINK event handling in the main thread by @anlancs in #17180
bgpd: Do not leak a stream with bmp code by @donaldsharp in #17192
Revert "lib: Attach stdout to child only if --log=stdout and stdout F… by @donaldsharp in #17198
ospfd:fix the bug that the empty area was not free after no area range command was executed by @Shbinging in #17183
zebra: fix showing nexthop vrf for ipv6 blackhole by @louis-6wind in #17162
bgpd: fix uninitialized bgp_labels by @louis-6wind in #17191
lib: debug memstats-at-exit improvements by @eqvinox in #17155
pimd: PIM autorp no path RP fix by @nabahr in #17215
Optimizations and problem fixing for large scale ecmp from bgp by @donaldsharp in #17229
tests: add bmpserver logging by @louis-6wind in #17207
bgpd: compare aigp after local route check in bgp_path_info_cmp() by @enkechen-panw in #17199
docs: Update evpn.rst by @systemcrash in #17255
pimd, tests: fix bsr assert and expand topotest to pimv6 by @Jafaral in #17216
lib, zebra: Keep zebra on-rib-process script in frr.conf by @ton31337 in #17160
isisd: fix change flex-algorithm number from uint32 to uint8 by @pguibert6WIND in #17250
bgpd: add bgp ipv6-auto-ra command by @Sokolmish in #16354
bgpd: fix display of local label in show bgp by @louis-6wind in #17243
vtysh: fix find and list commands by @eqvinox in #17200
Mrib nht wonky by @donaldsharp in #17254
zebra: add 'debug zebra srv6' command by @pguibert6WIND in #17257
ospfd:fix syntax of some ospf no commands by @Shbinging in #17189
bgpd: fix blank line in running-config with bmp listener cmd by @pguibert6WIND in #17278
bgpd: fix crash when polling bgp4v2PathAttrTable by @fdumontet6WIND in #17245
bgpd: fix prefix same as nexthop in label per nexthop by @lsang6WIND in #16990
isisd: The command "'show isis vrf all summary json" has no output. by @baozhen-H3C in #17190
tests: fix bmp tests random failure by @louis-6wind in #17226
bgpd: bestpath failure when you have a singlepath not in holddown by @donaldsharp in #17251
Bgp musings by @donaldsharp in #15563
doc: Use RST, not Markdown format for links by @ton31337 in #17311
doc: Create html_context before setting READTHEDOCS by @ton31337 in #17310
tests: respect RLIMIT_CORE hard limit by @liambrady in #17296
zebra: Add missing new line for help string by @ton31337 in #17318
tests: Add an ability to specify daemon params with unified config by @ton31337 in #17317
Add support to import alternate URIB tables into the main MRIB by @nabahr in #17281
Bgp update optimizations by @donaldsharp in #17327
Revert "ospfd: update ospf_asbr_status when using no_area_nssa command" by @donaldsharp in #17330
lib: Remove wheel name it is no longer used by @donaldsharp in #17329
tests: Do not set by default netlink receive buffer size for Zebra by @ton31337 in #17328
Clang 19 some more by @donaldsharp in #17230
ospfd: Fix opaque LSA refresh interval and modify LSA cmds. by @aceelindem in #17194
Remove event master free unused by @donaldsharp in #17280
Remove in6addr cmp by @donaldsharp in #17312
bgpd: Replace 128 with IPV6_MAX_BITLEN by @cscarpitta in #17335
zebra: Fix incorrect debug macros by @cscarpitta in #17334
doc: Fix a couple of misspellings in zebra documentation by @cscarpitta in #17333
tests: Remove unnecessary fields from expected JSON by @nabahr in #17332
zebra: On startup actually allow for nhe's to be early by @donaldsharp in #16960
nhrpd: fix passphrase handling, add topotest for resolution request by @jmuthiilabn in #17115
zebra: Don't display the vrf if not using namespace based vrfs by @donaldsharp in #16750
bgpd: Treat numbered community-list only if it's in a range 1-500 by @ton31337 in #17305
ospfd: Use router_id what Zebra has if we remove a static router_id by @ton31337 in #17319
zebra: fix missing kernel routes by @anlancs in #17326
ospfd: Fix assert in LSA refresh interval setting by @aceelindem in #17346
ospf6d: remove redundant null ptr check in ospf6_link_lsa_get_prefix_str() - CID 1599957 in #17364
ospf6d: remove redundant null ptr check in #17363
tests: Add a topology that supports a large number of ecmp by @donaldsharp in #17244
bgpd: Clear stale routes with multiple paths by @ton31337 in #17376
lib: Add ability to track time in individual routemaps by @donaldsharp in #12109
bgpd:support of color extended community color-only types by @guoguojia2021 in #17231
bgpd:support tcp-mss for neighbor group by @zice312963205 in #17341
Bgp withdraw and unlikely by @donaldsharp in #17384
lib: Initialize mbefore for route_map_apply_ext() by @ton31337 in #17386
bgpd: Fix for match source-protocol in route-map for redistribute cmd by @raja-rajasekar in #17362
bgpd: fix resolvedPrefix in show nexthop json output by @krishna-samy in #17409
bgpd: Reset BGP session only if it was a real BFD DOWN event by @ton31337 in #17344
isisd: fix crash when switching P2P after shutdowning LAN circuit by @baozhen-H3C in #17366
Add two RFCs for BGP to the list by @ton31337 in #17374
BGP BFD session things by @ton31337 in #17410
tests: clarify bgp_vpnv4_asbr by @louis-6wind in #17368
zebra, lib: use internal rbtree for per-NS tree of ifps by @mjstapp in #17297
debian: Add missing libprotobuf-dev to grpc profile by @piotrjurkiewicz in #17205
tests: add support for ospf instances with unified configs by @Jafaral in #17331
bgpd: Show neighbor advertised paths including addpath by @ton31337 in #17423
zebra: fix unguarded debug in evpn code by @mjstapp in #17426
bgpd: Fix color extended community parsing by @ton31337 in #17422
bgpd: Drop unsupported commands by @ton31337 in #17429
Zebra debug assert by @donaldsharp in #17433
bgpd: Fix color extended community parsing by @ton31337 in #17434
bgpd : backpressure - Fix to pop items off zebra_announce FIFO for few EVPN triggers by @raja-rajasekar in #17432
pim6d: support embedded-rp by @rzalamena in #16937
bgpd: Validate both nexthop information (NEXTHOP and NLRI) by @ton31337 in #17435
bgpd: Add more details to ebgp requires policy warning by @ton31337 in #17427
accords: guidelines/terms for FRRouting trademarks by @eqvinox in #17193
sharpd: Fix a few typos in CLI help messages by @cscarpitta in #17444
sharpd: Convert numeric 128 into IPV6_MAX_BITLEN for prefixlen by @cscarpitta in #17445
bgpd: Optimize the outbound path if RFC8212 is applied by @ton31337 in #17451
packaging: Use PCRE2 for .deb/.rpm builds by @ton31337 in #17375
bgpd: Optimize the way parsing communities if no community alias exists by @ton31337 in #17457
Lua casting by @ton31337 in #17456
pim6d: fix coverity scan warning by @rzalamena in #17455
tools: Fix syntax raw parsing for make-foobar helper by @ton31337 in #17453
isisd: properly display srv6 algorithm by @dmytroshytyi-6WIND in #17414
*: remove remaining strncpy() users by @eqvinox in #17156
bfdd: retain remote dplane client socket by @mjstapp in #17464
pimd: two small improvements by @rzalamena in #17468
ospfd: OSPF multi-instance default origination fixes by @aceelindem in #17436
Support bundle isis by @donaldsharp in #17476
pimd: MSDP logging improvements by @rzalamena in #17469
PIMD: Implement AutoRP mapping-agent by @nabahr in #17340
Bgp bfd and its ilk by @donaldsharp in #17473
tests: Ensure connected routes are installed before continuing by @donaldsharp in #17477
tools: Add pim show commands to support bundle by @csiltala in #17484
bgpd: Do not reset peers on suppress-fib toggling by @ton31337 in #17487
lib, zebra: Do not have duplicate memory type problems by @donaldsharp in #17492
tools: Add missing keywords in frr-reload by @cscarpitta in #17493
bgpd: Disable sending ROV extended community by default by @ton31337 in #17459
ospfd: Correct invalid SR-MPLS output label by @odd22 in #17495
tools: Add missing keyword encapsulation in frr-reload by @cscarpitta in #17498
tests: add bgp_vpnv4_route_leak_basic by @louis-6wind in #17369
Fix docker image for topotests by @ton31337 in #17509
bgpd: fix version attribute is an int, not a string by @pguibert6WIND in #17506
zebra: avoid a race during FPM dplane plugin shutdown by @mjstapp in #17504
bfdd: disable echo socket when not using it by @rzalamena in #16987
isisd: When the ISIS types of the routers do not match on a P2P link, the neighbor status remains UP by @zhou-run in #17219
two test cleanups by @donaldsharp in #14367
bgpd: Fix Graceful-Restart for peer-groups by @ton31337 in #17501
zebra: fix EVPN check vxlan oper up in vlan mapping by @chiragshah6 in #17483
bgpd: fix use single whitespace when displaying flowspec entries by @pguibert6WIND in #17510
Add some test cases, and some ability to see what is going on in zebra by @donaldsharp in #16878
More found connection conversion issues by @donaldsharp in #17385
zebra: EVPN fix code style in vlan vni map debugs by @chiragshah6 in #17519
doc:Fix bgp doc warning by @guoguojia2021 in #17527
bgpd: fix use real SID in BGP nexthop tracking by @pguibert6WIND in #15542
Docker: Add the ability to override the FRR UID during docker creation by @mikemallin in #17520
Bgp evpn rt5 routemap by @pguibert6WIND in #17491
nhrpd: fix show ip nhrp output by @louis-6wind in #16700
topotests: Allow runing under both docker and podman by @famfo in #17525
BMP test rework by @pguibert6WIND in #17306
Some cleanups by @donaldsharp in #17547
bgpd: Use peer group's member for BGP notify instead of the peer-group by @ton31337 in #17528
bgpd: Fix remote-as with peer-group by @ton31337 in #17542
zebra: separate zebra ZAPI server open and accept by @mjstapp in #17313
pimd: Fix access-list memory leak in pimd by @csiltala in #17518
lib: Fix session re-establishment by @donaldsharp in #17558
Fix bsd sockopt problem by @donaldsharp in #17571
lib: Print the reason why the route-map and/or the index parsing is done by @ton31337 in #17556
pimd: igmp proxy joins should not be written as part of config by @btrent98 in #17569
pimd: Prevent crash of pim when auto-rp's socket is not initialized by @donaldsharp in #17578
pimd: implement MSDP shutdown command by @rzalamena in #17502
lib: Speed up reconnection attempts for zapi by @donaldsharp in #17585
bgpd: fix unconfigure asdot neighbor by @pguibert6WIND in #17582
pimd: free igmp proxy joins on interface deletion by @btrent98 in #17570
Bfd shared network by @donaldsharp in #17600
Timer connect bgp vrf netns by @donaldsharp in #17579
bgpd: fix peer up message for loc-rib not sent by @pguibert6WIND in #17545
bgpd: Check if as_type is not specified when peer is a peer-group member by @ton31337 in #17603
doc: remove no-op "netns NAMESPACE" command from the docs by @idryzhov in #17538
zebra: use macro for one check by @anlancs in #17589
pimd: Extend multicast boundary/ACL functionality by @csiltala in #17461
bgpd: Import allowed routes with self AS if desired by @ton31337 in #17608
bgpd: Show which route-map is used when the prefix is filtered by route-map by @ton31337 in #17575
pimd: MSDP per peer SA limit by @rzalamena in #17521
bgpd: Fix bgp core with a possible Intf delete by @raja-rajasekar in #17624
BMP Peer Distinguisher support by @pguibert6WIND in #17555
Upstream some internal code by @donaldsharp in #17605
bgpd: Show which prefix is suppressed if debug out is enabled by @ton31337 in #17637
zebra: Remove tests for allocation failure by @donaldsharp in #17638
pimd: clean up MSDP code by @rzalamena in #17636
pimd: MSDP originador ID configuration by @rzalamena in #17622
bgpd: When calling bgp_process, prevent infinite loop by @donaldsharp in #17641
doc: Update the next release dates by @ton31337 in #17640
pim6d: fix crash on clear ipv6 mroute by @rzalamena in #17635
pimd,pim6d: optimize multicast prefix generation and fix coverity scan defect by @rzalamena in #17642
zebra: Give a bit more data about zclient connection on errors by @donaldsharp in #17646
tools: Add rip support bundle commands by @donaldsharp in #17645
Fix PIMD RPF lookup mode and nexthop tracking by @nabahr in #17252
bgpd: fix missing addpath withdrawal race condition by @louis-6wind in #16830
EVPN L2VNI/L3VNI Optimize inline Global walk for remote route installations by @raja-rajasekar in #17526
zebra: fix wrong nexthop status for kernel routes by @anlancs in #17544
lib: Take ge/le into consideration when checking the prefix with the prefix-list by @ton31337 in #17615
bgpd: Fix evpn bestpath calculation when path is not established by @donaldsharp in #17613
vlan-subif isis neigbor by @JosiahMg in #16488
bgpd: remove unneeded printfrr reg for pRN by @mjstapp in #17654
bgpd: Connect retry timer backoff by @ton31337 in #17599
tests: add a test case for static route propagation by @Jafaral in #17671
bgpd: Fix memory leak when creating BMP connection with a source interface by @ton31337 in #17675
bgpd: Validate only affected RPKI prefixes instead of a full RIB by @ton31337 in #17586
bgpd: add rpki json attributes to bgp path by @pguibert6WIND in #17670
pim: handle return code to fix a couple of coverity issues by @Jafaral in #17673
bgpd: fix memory leak when reconfiguring a route distinguisher by @pguibert6WIND in #17669
Fix 2 darr (dynamic-array) bugs by @choppsv1 in #17648
test: fix label ordering on error diff report by @choppsv1 in #17676
babel: Clean babel config on babel daemon stop by @ykholod in #17685
bgpd: add meta queue in bgp by @donaldsharp in #17619
lib: Fix to optimize the time taken while batching huge configs by @raja-rajasekar in #17672
bgpd: Fix show neighbor X advertised-routes detail by @ton31337 in #17674
mgmtd: fix compile error by @anlancs in #17704
doc: Fix SRv6 locator documentation by @cscarpitta in #17703
bgpd: Fix enforce-first-as per peer-group removal by @ton31337 in #17705
bgpd: Convert 16 to IPV6_MAX_BYTELEN by @cscarpitta in #17706
bgpd, lib: Use frrstr_time() when using ctime_r() by @ton31337 in #17684
zebra: Remove tests for srv6_locator_alloc failure by @cscarpitta in #17711
BGP Labelpool : Releasing the label in labelpool when VPN session gets removed by @varuntumbe in #17580
tests: enable test failure detection and fix resulting failures by @choppsv1 in #17647
tests: Fix markers in srv6_static_route topotest by @cscarpitta in #17718
isisd: fix srv6 exit statements by @jvoss in #17720
bgpd: Show prefix-related stats per neighbor by @ton31337 in #17734
tools: Add missing formats keyword to segment-routing in frr-reload by @jvoss in #17719
zebra: Fix resetting valid flags for NHG dependents by @raja-rajasekar in #17731
bgpd: add rpki current state by @dmytroshytyi-6WIND in #17728
bgpd: Clean address-family config on daemon restart by @ykholod in #17716
staticd: Reduce the frequency of adding routes by @guoguojia2021 in #17726
zebra:check DAD freeze action before notifying bgp by @chiragshah6 in #17737
isisd: Show correct level information for show isis interface detail json by @ton31337 in #17732
ospfd: Correct one word by @anlancs in #17762
babel: Clean babel related config on daemon stop by @ykholod in #17715
tools: Add missing rpki keyword to vrf in frr-reload by @jvoss in #17750
zebra: fix dpdk compilation error by @raja-rajasekar in #17752
bgpd: Use unique value for BGP_NEXTHOP_EVPN_INCOMPLETE flag by @ton31337 in #17770
bgpd: fix a bug in peer_allowas_in_set() by @enkechen-panw in #17780
bgpd: show json output changes to optimize various show commands by @krishna-samy in #17431
zebra: Fix ip protocol route-map issue. by @sougata-github-nvidia in #17474
bgpd: Withdraw routes without waiting for the coalescing timer to expire by @ton31337 in #17667
ospfd: fix wrong check for two commands by @anlancs in #17779
doc: fix building for alpine package path by @famfo in #17774
tests: improve test reliability by @choppsv1 in #17773
bgpd: Show ifindex for every BGP nexthop cache entry by @ton31337 in #17771
BMP handling of BGP configuration changes by @pguibert6WIND in #17733
ospfclient: fix crash due to streamwriter garbage collect by @Andrew-Dickinson in #17700
bgpd: Respect bgp bestpath missing-as-worst for table-map as well by @ton31337 in #17723
isisd: Allow full no form for domain-password and area-password by @ton31337 in #17725
Add new oper state get callback by @choppsv1 in #17783
New YANG notify msg fmt by @choppsv1 in #17782
fix xpath query on keyless list with positional predicate by @choppsv1 in #17781
improve error handling of operational state walk callback by @choppsv1 in #17772
tests: cleanup ospf6 ecmp inter area by @gromit1811 in #17707
bgpd: add a debug command for route aggregation by @enkechen-panw in #17778
lib: Fix privs syscaps (pset_t) allocation by @gromit1811 in #17795
libs: remove deprecated 'clear thread' cli by @mjstapp in #17798
lib: remove interface dead code by @louis-6wind in #17808
bgpd: fix crash in displaying json orf prefix-list by @louis-6wind in #17807
bgpd: apply route-map for aggregate before attribute comparison by @enkechen-panw in #17801
zebra: Fix leaked nhe by @donaldsharp in #17809
2 test fixes by @donaldsharp in #17805
ospf6d: guard a couple of debugs by @Jafaral in #17831
bgpd: fix memory leak in bgp_aggregate_install() by @enkechen-panw in #17811
bgpd: Fix showing default timers bgp x y by @ton31337 in #17830
bgpd: use igpmetric in bgp_aigp_metric_total() by @enkechen-panw in #17813
tests: avoid nondeterministic route by @Jafaral in #17829
tests: update munet to 0.15.3 by @choppsv1 in #17844
zebra: Optimize invoking nhg compare func by @raja-rajasekar in #17839
Add Ubuntu 24.04 docker image and developer build doc by @choppsv1 in #17843
tools: fix frr-reload for nbr deletion of no form cmds by @chiragshah6 in #17847
tests: remove unnecessary wildcard fields from pim acl test by @Jafaral in #17840
Ability to import BMP information from a separate BGP instance by @pguibert6WIND in #17639
doc: fix LaTex warnings, add documentation to build docs by @Jafaral in #17846
bgpd: remove unused safi in bgp_aggregate structure by @enkechen-panw in #17842
bgpd: fix churn of aggregate routes from duplicate config by @enkechen-panw in #17837
Lua 5.4 support by @ton31337 in #17806
ospfd: avoid the redundant timers by @anlancs in #17803
bgpd: Respect allowas-in value from the source VRF's peer by @ton31337 in #17800
pimd: fix BSR RPs timing out by @Jafaral in #17841
pimd: always write cand-rp group config even when rp is inactive by @Jafaral in #17850
zebra: avoid race between FPM pthread and zebra main pthread in netlink encode/decode by @mjstapp in #17581
operational-state (datastore) change notifications by @choppsv1 in #17796
bgpd: move bgp_aggregate_increment() after bgp_path_info_add() by @enkechen-panw in #17858
Active routes are active by @donaldsharp in #17859
bgpd: remove unused BATTR_REFLECTED for rmap_change_flags by @enkechen-panw in #17854
PIMD: RPF lookup mode per-group, per-source by @nabahr in #17776
mgmtd backend yang model (depends on #17796) by @choppsv1 in #17799
bgpd: Handle ENHE capability via dynamic capability by @ton31337 in #17855
Bgp connect refactor by @donaldsharp in #17810
topotests: improve test reliability by @rzalamena in #17838
ldp snmp/grpc test fix by @choppsv1 in #17862
lib: introduce global -w option for VRF netns backend by @idryzhov in #17727
limit community list count by @pguibert6WIND in #17836
zebra: Uninstall NHG in some situations by @donaldsharp in #17814
tests: ci: add ARM to docker based CI test by @choppsv1 in #17880
Handle datastore notifications correctly in backend clients (daemons) by @choppsv1 in #17876
lib: fix dnode_create to use correct libyang function. by @choppsv1 in #17884
staticd: Add support for SRv6 Static SIDs by @Yubin-Li in #16894
tools: fix regression in gen_northbound_callback tool by @choppsv1 in #17885
Bgp unnumbered interface json by @pguibert6WIND in #17874
small mgmtd-dev doc update and yanglint cleanup by @choppsv1 in #17882
tests: Fix test_bgp_dynamic_capability_enhe topotest by @ton31337 in #17883
tools: fix reload interface deletion by @jklaiber in #16723
bgpd: Fix for local interface MAC cache issue in 'bgp mac hash' table by @krishna-samy in #17888
Fix Rocky 8 RPMs, add options to build without rpki and docs (default is to include) by @louberger in #17793
lib: fix coverity use after free issue: CID 1620101 by @choppsv1 in #17895
bgpd: fix do not send twice peer up/down messages by @pguibert6WIND in #17894
tests: remove table version check in bgp rpki topo1 by @louis-6wind in #17889
bgpd: fix evpn path info get api by @chiragshah6 in #17899
bgpd: fix bfd with update-source in peer-group by @louis-6wind in #17904
bgpd, tests: bgp_evpn_rt5, add test with match evpn vni command by @pguibert6WIND in #17652
zebra: Return error if v6 prefix is passed to show ip route by @Pdoijode in #17898
bgpd: Fix bgp peer solo option by @askorichenko in #17911
redhat: Specify minimum libyang version requirement by @mwinter-osr in #17912
isisd: fix duplicate rfc8919 defines by @pguibert6WIND in #17917
Revert "bgpd: Handle Addpath capability using dynamic capabilities" by @ton31337 in #17926
Bgp suppressed attribute by @pguibert6WIND in #17919
Advertised routes incorrect json by @pguibert6WIND in #17905
bgpd,lib,zebra: permit table-direct on VRFs by @rzalamena in #17736
bgpd: Check if the peer really exists before sending dynamic capability by @ton31337 in #17863
bgpd: last reset SNAFU by @ton31337 in #17881
bgpd: Optimize evaluate paths for a peer going down by @donaldsharp in #17924
Isis srv6 topo1 ping by @pguibert6WIND in #17848
ospfd: Prune duplicate next-hop when installing into zebra route table. by @aceelindem in #17906
bgpd: fix table-map option by @askorichenko in #17802
static: fix botched staticd YANG conversion for dst-src by @eqvinox in #17941
tools: Fix frr-reload for ebgp-multihop TTL reconfiguration. by @bobuhiro11 in #17946
zebra: include resolving nexthops in nhg hash by @mjstapp in #17935
pimd: Close AutoRP socket when not needed by @nabahr in #17934
isisd: fix erroneous srv6 information in database by @pguibert6WIND in #17956
bgpd: With suppress-fib-pending ensure withdrawal is sent by @donaldsharp in #17971
bgpd: add config default for "route-reflector allow-outbound-policy" by @enkechen-panw in #17972
Fix SRv6 SID Manager by @cscarpitta in #17964
bgpd: Do not ignore auto generated VRF instances when deleting by @ton31337 in #17947
staticd: Fix NULL pointer dereference when receiving ZAPI_SRV6_SID_RELEASED notification by @cscarpitta in #17979
bgpd: Release SID on router deletion by @Sokolmish in #17913
libs: return from change_caps if no caps by @mjstapp in #17970
staticd: Fix wrong xpath in no sid X:X::X:X/M by @cscarpitta in #17989
bgpd: add config default for "bgp bestpath aigp" by @enkechen-panw in #17990
implement SBFD by @forrestchu in #17336
lib: fix use after free in clear event cpu by @eqvinox in #17943
zebra: fix evpn svd hash avoid double free by @chiragshah6 in #17991
bgpd: fix route-distinguisher in vrf leak json cmd by @chiragshah6 in #17992
zebra: Ensure dplane does not send work back to master at wrong time by @donaldsharp in #17969
bgpd: Do not start BGP session if BGP identifier is not set (backport #17959) by @mergify in #18006
bgpd: Fix up memory leak in processing eoiu marker (backport #18000) by @mergify in #18019
pimd: fix memory leak and assign allocation type (backport #18038) by @mergify in #18043
Coverity 2024 new hotness (backport #17865) by @mergify in #18042
pimd: Fix for FHR mroute taking longer to age out (backport #14105) by @mergify in #18053
bgpd: fix bgp vrf instance creation from implicit (backport #18081) by @mergify in #18099
bgpd: Request SRv6 locator after zebra connection (backport #18069) by @mergify in #18115
nhrpd: fix dont consider incomplete L2 entry (backport #18078) by @mergify in #18112
lib: crash handlers must be allowed on threads (backport #18060) by @mergify in #18101
lib: actually hash all 16 bytes of IPv6 addresses, not just 4 (backport #17901) by @mergify in #18083
pimd: fix DR election race on startup (backport #18048) by @mergify in #18056
bgpd: fix incorrect JSON in bgp_show_table_rd (backport #18120) by @mergify in #18133
Cid 1636504 (backport) by @ton31337 in #18132
Bfd fixups (backport #18026) by @mergify in #18129
bgpd: release manual vpn label on instance deletion (backport #18121) by @mergify in #18154
staticd: Fix SRv6 SID installation and deletion (backport #18064) by @mergify in #18151
lib: fix false context information for SRv6 route (backport #18023) by @mergify in #18146
bgpd: fix vty output of evpn route-target AS4 (backport #18109) by @mergify in #18183
isisd: Request SRv6 locator after zebra connection (backport #18178) by @mergify in #18179
bgpd: When removing the prefix list drop the pointer (backport #18160) by @mergify in #18166
bgpd: Fix crash in bgp_labelpool (backport #18079) by @mergify in #18143
lib: nb: call child destroy CBs when YANG container is deleted (backport #18082) by @mergify in #18191
bgpd: fix default instance when leaving the hidden state (backport 10.3) by @louis-6wind in #18162
pimd: Fix for data packet loss when FHR is LHR and RP (backport #14227) by @mergify in #18203
pimd: Fix PIM VRF support (send register/register stop in VRF) (backport #18216) by @mergify in #18248
pim: Fix vrf binding of autorp and mroute socket (backport #18226) by @mergify in #18246
pim: Fix autorp group joins (backport #18225) by @mergify in #18244
Fix oper-state queries that involve choice/case nodes (backport #18231) by @mergify in #18232
bgpd: remove dmed check not required in bestpath selection (backport #18210) by @mergify in #18227
Revert "bgpd: fix default instance when leaving the hidden state (backport 10.3)" #18162 by @Jafaral in #18255
pimd: During prefix-list update, behave as PIM_UPSTREAM_NOTJOINED sta… (backport #17666) by @mergify in #18207
bgpd: fix default instance when leaving the hidden state. (backport #18119) by @louis-6wind in #18272
mgmtd: Prevent use after free (backport #18264) by @mergify in #18279
staticd: Add no form for static-sids command (backport #18263) by @mergify in #18284
ospf6d: Fix use after free of router in OSPFv3 ABR route calculation. (backport #18254) by @mergify in #18265
staticd: Fix no srv6 command (backport #18289) by @mergify in #18292
isisd: Correct edge insertion into TED (backport #18294) by @mergify in #18296
tools: Fix frr-reload.py error related to static-sids (backport #18290) by @mergify in #18291
Bring in 2 northbound bug-fixes from master to 10.3 by @choppsv1 in #18302
pimd: Fix PIM6 MLD VRF support (use recvmsg() pktinfo) (backport #18315) by @mergify in #18332
zebra: Bring up 514 BGP neighbor sessions (backport #18214) by @mergify in #18331
Documentation typesafe (backport #18338) by @mergify in #18352
Topotest startup order (backport #18348) by @mergify in #18353
10.2.3
Bug Fixes
babeld
Check valid babel port
Fix incorrect type assignment in parse_request_subtlv
bgpd
Do not call evpn_overlay_free no matter what
Fix set evpn gateway-ip ipv[46] route-map
Fix holdtime not working properly when busy
Fixed crash upon bgp network import-check command
In bgp_update() for mac addrs ensure we are dealing with evpn
Prevent crash when issuing a show rpki connections
Retain the routes if we do a clear with n-bit set for graceful-restart
Treat the peer as not active due to bfd down only if established
Fix incorrect bestpath reasoning in some situations
Fix show bgp vpn rd json
Fix to show exist/non-exist-map in 'show run' properly
Add total path count for bgp net in json output
bfdd
On shutdown prefix/access list memory was being leaked
isisd
Fix srv6_sid memory leak
lib
Create vrf if needed
Return duplicate ipv6 prefix-list entry test
Return duplicate prefix-list entry test
ldpd
Free up leaked prefix-list memory on shutdown
nhrpd
Add hop count validation before forwarding in nhrp_peer_recv()
ospf6d
Disable and delete ospfv3 areas that no longer have interfaces or configuration.
Fix lsa memory leaks related to graceful restart
ospfd
Prune duplicate next-hops when installing into zebra
Fix crash when ospf client connects before doing 'router ospf'
pimd
Fix for crash during networking restart
Fix memory leak on shutdown
Initialize gm proxy to false
zebra
Do not flush an existing vni configuration trying to remove wrong vni
Ensure proper return for failure for sid allocation
Prevent vrf table 254 being used by non-default vrf
Fixes allowing srv6 func-bits length 0
10.2.2
Bug Fixes
bgpd
Allow bfd to work if peer known but interface address not yet
Apply route-map for aggregate before attribute comparison
Do not ignore auto generated vrf instances when deleting
Do not start bgp session if bgp identifier is not set
Do not try to uninstall bfd session if the peer is not established
Don't reuse nexthop variable in loop/switch
Fix a bug in peer_allowas_in_set()
Fix add label support to evpn ad routes
Fix bfd with update-source in peer-group
Fix bgp label evpn cid 1636504
Fix bgp orf prefix-list json prefix
Fix bgp peer solo option
Fix bgp vrf instance creation from implicit
Fix crash in bgp_labelpool
Fix crash in displaying json orf prefix-list
Fix deadlock in bgp_keepalive and master pthreads
Fix duplicate bgp instance created with unified config
Fix for local interface mac cache issue in 'bgp mac hash' table
Fix import vrf creates multiple bgp instances
Fix incorrect json in bgp_show_table_rd
Fix memory leak in bgp_aggregate_install()
Fix route-distinguisher in vrf leak json cmd
Fix static analyzer issues around bgp pointer
Fix table-map option
Fix vty output of evpn route-target as4
Fix wrong pthread event cancelling
Remove dmed check not required in bestpath selection
Request srv6 locator after zebra connection
Reset bgp session only if it was a real bfd down event
Respect allowas-in value from the source vrf's peer
Simplify bgp_evpn_process_rt1 with label
Update source address for bfd session
Use igpmetric in bgp_aigp_metric_total()
When bgp notices a change to shared_network inform bfd of it
When removing the prefix list drop the pointer
With suppress-fib-pending ensure withdrawal is sent
Revert: Handle addpath capability using dynamic capabilities"
Revert: Reinstall aggregated routes if using route-maps and it was changed"
isisd
Add helper function to request srv6 locator information
Allow full no form for domain-password and area-password
Correct edge insertion into ted
Request srv6 locator after zebra connection
Show correct level information for show isis interface detail json
lib
Clean up nexthop hashing mess
Crash handlers must be allowed on threads
Fix false context information for srv6 route
Guard against padding garbage in zapi read
Nb: call child destroy cbs when yang container is deleted
mgmtd
Prevent use after free
nhrpd
Fix dont consider incomplete l2 entry
ospf6d
Fix use after free of router in ospfv3 abr route calculation.
pbrd
Initialize structs used in hash_lookup
pimd
Always write cand-rp group config even when rp is inactive
Close autorp socket when not needed
During prefix-list update, behave as pim_upstream_notjoined state (conformance issue)
Explicitly ensure the rp src is bsr
Fix autorp group joins
Fix bsr rps timing out
Fix dr election race on startup
Fix for data packet loss when fhr is lhr and rp
Fix for fhr mroute taking longer to age out
Fix memory leak and assign allocation type
Fix pim vrf support (send register/register stop in vrf)
Fix pim6 mld vrf support (use recvmsg() pktinfo)
Fix vrf binding of autorp and mroute socket
tests
Add a test that shows the v6 recursive nexthop problem
Bgp_srv6_sid_reachability should give more time
Bgp_srv6l3vpn_to_bgp_vrf3 needs more time
Check if allow as-in works when importing between local vrfs
tools
Add missing formats keyword to segment-routing in frr-reload
Add missing rpki keyword to vrf in frr-reload
Fix frr-reload for ebgp-multihop ttl reconfiguration.
zebra
Ensure dplane does not send work back to master at wrong time
Evpn svd hash avoid double free
Fix leaked nhe
Fix resetting valid flags for nhg dependents
Guard against junk in nexthop->rmap_src
Include resolving nexthops in nhg hash
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Thu, 19 Jun 2025 16:04:18 +0000 (18:04 +0200)]
setup: v2 Fixes bug10245 - removal of so called non-local network stop
- In the setup menu if the OK button is pressed when it asks if you want to change any
of the interfaces then the red, blue and orange interfaces are stopped. However if
none of the interfaces are changed then the network restart code does not get used.
- This results in the system ending up with only the green interfrace being UP and
connected.
- This patch removes the command that stops the red, blue & orange interfaces but leaves
the green one running. It seems to not bhe needed and if the OK button is pressed
on the Drivers and card assignments window but no change made then the IPFire system
is left with only the green interface connected.
- This command has been present since at least Core Update 30 and the bug was originally
raised in 2012.
- I tested out this v2 code on my vm testbed and everything worked fine and if any
change was made then when leaving the Networking section the Network and Unbound were
restarted.
Fixes: bug10245 Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Mon, 23 Jun 2025 08:02:30 +0000 (10:02 +0200)]
netatalk: Update to version 4.2.4
- Update from version 3.2.8 to 4.2.4
- Patch for removal of prefix for sysconfdir and localstatedir has been removed as there
is an alternative way to define the required paths using meson options.
- The -Dwith-embedded-ssl option is no longer needed as the embedded WolfSSL has been
removed from netatalk
- Update of rootfile
- netatalk now requires the iniparser package as their own hacked version has been
removed. So iniparser has been added in another patch in this patch set.
- Changelog
4.2.4
* FIX: uams: Check for const pam_message member of pam_conv, GitHub #2196
Makes it possible to build on Solaris 11.4.81 CBE
* FIX: meson: Avoid build error in incomplete Homebrew env, GitHub #2190
* UPD: meson: Build with Homebrew libraries is now opt-in, GitHub #2194
To opt in to build against Homebrew, use -Dwith-homebrew=true
* UPD: docs: Improve afpd and macipgw man pages, GitHub #2155
4.2.3
* FIX: Properly read from afp.conf file passed with -F parameter, GitHub #2150
* FIX: Read the appletalk option only when built with DDP, GitHub #2149
* UPD: Consistently return exit code 0 after daemon version info, GitHub #2151
* UPD: libatalk: MySQL query error log level is dropped to debug, GitHub #2143
* UPD: initscripts: Improvements to netatalk OpenRC init script, GitHub #2148
* FIX: meson: enhance iconv detection when cross compiling, GitHub #1921
* UPD: docs: Cross-platform friendly docs for CNID statedir, GitHub #2146
4.2.2
* NEW: cnid: Create MySQL database automatically if needed, GitHub #2119
* UPD: meson: Use pandoc to build documentation when available, GitHub #2127
* UPD: meson: Generate the html manual with plain cmark, GitHub #2134
* NEW: docker: Support for the mysql CNID backend in container, GitHub #2116
* NEW: docker: Containerized netatalk webmin module, GitHub #1463
* NEW: docker: Introduce option to enable extension mapping, GitHub #2125
* NEW: docker: Introduce option for disabling Spotlight, GitHub #2128
* NEW: webmin: UI for editing of the extmap.conf file, GitHub #2129
* NEW: webmin: Introduce option for hiding service controls, GitHub #2133
* FIX: webmin: Correct handling of volume and preset names, GitHub #2130
* FIX: webmin: Treat uams_randnum.so as a standard UAM, GitHub #2131
* FIX: docs: More portable man page markdown source syntax, GitHub #2114
* FIX: docs: Properly build the localized html manual, GitHub #2136
* FIX: docs: Overhauled markdown styles of whole manual, GitHub #2138
4.2.1
* NEW: meson: Introduce option to control state dir creation, GitHub #2070
Introduces the with-statedir-creation boolean option, true by default
* NEW: meson: Option for controlling CUPS backend installation, GitHub #2071
Introduces with-cups-pap-backend (boolean, default false)
and with-cups-libdir-path (string)
* FIX: meson: Generate Unicode lookup table sources before use, GitHub #2072
* FIX: libatalk: Work around DSIWrite() bug in AppleShare Client 3.7.x,
GitHub #2085
* FIX: libatalk: Restore cnid mysql pw option that had fallen off
which makes the mysql backend usable again, GitHub #2112
* FIX: afpd: Don't lose extension mapping on macOS hosts, GitHub #2092
* FIX: afpd: Fall back to ea = none rather than ea = ad when
the filesystem EA support check fails, GitHub #2103
* UPD: webmin: Print volume name + section name in volumes list, GitHub #2073
* FIX: webmin: Sort lists of index page items in alphabetical order,
GitHub #2074
* FIX: webmin: Return to the correct index tab from other actions, GitHub #2075
* UPD: testsuite: Print a detailed test summary after spectest run, GitHub #2095
* UPD: testsuite: Break out separate FPGetExtAttr test module, GitHub #2104
* UPD: testsuite: Print usage helptext when running test binaries
without params, GitHub #2111
* UPD: docs: Major additions to the afptest man page, GitHub #2100
* NEW: docs: bstring README with redistribution notes and LICENSE,
GitHub #2077
* FIX: docs: Improve verbiage in signature and UUID man pages, GitHub #2084
* UPD: docs: Transition Compilation from manual chapter to readme, GitHub #2106
* UPD: docs: Reduce overlap between install chapter and install readme,
GitHub #2107
4.2.0
* NEW: Link with shared iniparser library instead of vendored one, GitHub #1948
- Makes iniparser a mandatory dependency
- Our own hacked iniparser is now removed, which has a few side effects
- Volume section names are now case insensitive, forced to lower case
- The include directive is no longer supported (for now)
* NEW: afpd: Introduce apf.conf 'volume name' Volume option, GitHub #1976
* NEW: afpd: Introduce 'server name' Global option in afp.conf, GitHub #1974
* NEW: docs: Convert documentation from XML to Markdown format,
introducing cmark dependency instead of docbook-xsl, GitHub #1905
* NEW: docs: Generate local html manual with only core pages, GitHub #1969
* NEW: docker: Introduce dropbox mode option for guest access, GitHub #1981
* NEW: docker: New and improved env variable options including debug mode,
GitHub #1977, #1979
* UPD: Control metadata settings with 'ea' solely,
removing 'appledouble' option, GitHub #1983
* UPD: afpd: Use servername for ASP connections with hostname fallback,
GitHub #1978
* UPD: afpd: Refactor FCE file skip logic, make comma the standard delineator,
GitHub #1997
* UPD: libatalk: Use getaddrinfo() instead of deprecated gethostbyname(),
GitHub #1934
* UPD: meson: Introduce with-unicode-data option to build case tables,
GitHub #1928
* UPD: meson: Clean up obsoleted compatibility macros, GitHub #2035
* UPD: meson: Cross-platform crypt library detection, GitHub #2036
* UPD: Improve and harden the FCE listener app,
rename it to fce_listen and install with Meson, GitHub #2063
* FIX: afpd: Register FCE file creation event when copying files, GitHub #2027
* FIX: afpd: Use getpwnam_shadow() for basic auth on OpenBSD, GitHub #2040
* FIX: libatalk: Use unspecified network stack by default on OpenBSD,
GitHub #2044
* FIX: uams: Support for OpenBSD flavor crypt_checkpass()
for password validation, GitHub #2037
* FIX: Fix ad cp loss of FinderInfo, GitHub #2058
* FIX: Fix for CNID error with ad mv utility, GitHub #2060
* FIX: Apply additional hardening to the Netatalk Metadata EA handling,
GitHub #2059
* FIX: Avoid TOCTOU race conditions in libatalk code, GitHub #1938, #1936
* FIX: Fix high severity memory safety bugs, GitHub #1966
* FIX: Protect against memory leaks and out of bounds array access,
GitHub #1989
* FIX: bstrlib: Protect against buffer overflow, null pointer dereference,
GitHub #1987
* FIX: libatalk: Refactor vfs write_ea() to avoid TOCTOU race condition,
GitHub #1965
* FIX: libatalk: Refactor vfs ea_open() to avoid TOCTOU race condition,
GitHub #1964
* FIX: uams: Check account validity after calling pam_authenticate(),
GitHub #1935
* FIX: uams: Validate PAM account after root auth in DHX2 UAM, GitHub #1937
* FIX: uams: Return properly when ClearTxt shadow password has expired,
GitHub #2041
* FIX: getzones: do not attempt to bind to the address we're also sending to,
GitHub #2051
* FIX: libatalk: Improved logging when charset conversion fails,
GitHub #1952
* FIX: webmin: Add RandNum UAM option to Global config, GitHub #2047
* REM: Remove traces of unsupported LDAP SASL auth, GitHub #1925
* REM: Remove standards.h with macros that are defined by the build system,
GitHub #1988
* REM: Eliminate obsoleted NO_REAL_USER_NAME capability flag macro,
GitHub #2018
* REM: meson: Remove legacy IRIX XFS extended attributes API, GitHub #2052
4.1.2
* UPD: meson: Look for shared Berkeley DB library in versioned subdir too,
to detect the library in the MacPorts build system, GitHub #1909
* FIX: webmin: Redirect back to the originating module index tab
when returning from actions, GitHub #1915
* FIX: webmin: Fix '-router' switch in Webmin atalkd module, GitHub #1943
* FIX: webmin: Fix a default value helptext string, GitHub #1946
* UPD: Add GPL v2 license grant to mysql CNID backend code, GitHub #1874
4.1.1
* NEW: meson: Introduce with-bdb-include-path override option, GitHub #1908
* FIX: meson: Restore prioritized Berkeley DB detection, GitHub #1877
Fixes a regression when building on Arch Linux.
* FIX: meson: Detect file command dynamically for NixOS, GitHub #1907
* FIX: meson: Remove libquota check that breaks NetBSD, GitHub #1900
* FIX: docs: Consolidate redundant CNID and encoding info, GitHub #1880
* FIX: afpd: Log an error when directory has invalid did, GitHub #1893
* FIX: macipgw: Don't crash when config file is missing, GitHub #1891
* FIX: macipgw: Disable default options in macipgw.conf, GitHub #1876
* UPD: macipgw: Print usage notes for the -f option, GitHub #1898
* FIX: Prevent a number of illegal null pointer calls, GitHub #1894
4.1.0
* NEW: afpd: Add native metadata storage for macOS hosts, GitHub #1813
* FIX: afpd: Do not report old AFP versions when AppleTalk support
is disabled, GitHub #1846
* REM: Remove 'start tracker' and 'start dbus' afp.conf options, GitHub #1848
* REM: Remove the running of AFP commands with root privileges, GitHub #1849
* FIX: libatalk: Loosen AppleDouble checks for macOS, GitHub #1829
* FIX: libatalk: Protect Netatalk metadata EA from tampering, GitHub #1855
* FIX: Refactor retreival of native FinderInfo EA on macOS hosts, GitHub #1858
* NEW: macipgw: Introduce a configuration file, GitHub #1852
* UPD: macipgw: Default port value for zip/ddp service, GitHub #1836
This should get the gateway working on musl systems (OpenWrt)
* FIX: afppasswd: Safe password string handling, GitHub #1845
* NEW: meson: Introduce with-kerberos-path option for custom dependency path,
which can be used for Heimdal compatibility, GitHub #1822
* UPD: meson: Define lockfiles through the Meson build system, GitHub #1850
Meson's with-lockfile-path now points to the lockfile root
* UPD: meson: Detect lib paths within Homebrew build system, GitHub #1833
* FIX: meson: Correctly detect bundled iconv on OpenWrt, GitHub #1857
* UPD: meson: Link papd with cups only when cups is enabled, GitHub #1862
* UPD: initscripts: Disable fork safety workaround for macOS, GitHub #1810
* UPD: initscripts: Start in non-forking mode with launchd, GitHub #1859
* UPD: docs: Correct atalkd.conf documentation, GitHub #1818
* FIX: docs: Fixes for spelling and grammar, GitHub #1856
* UPD: docs: Clarify the behavior of the -d option for daemons, GitHub #1861
* NEW: testsuite: Introduce -X option for running on big-endian systems,
specifically s309x, GitHub #1817
* FIX: testsuite: Cross-platform compatible file ID tests, GitHub #1826
* FIX: testsuite: Don't attempt unauthorized file renaming in Error tests,
GitHub #1828
* FIX: testsuite: Clean up after execution of encoding test, GitHub #1832
* FIX: testsuite: Free memory after running tests, GitHub #1866
* FIX: testsuite: Improve memory management in lantest, GitHub #1868
* UPD: Rename apple_dump script to addump, GitHub #1811
* UPD: webmin: Restructure index page into three tabs, GitHub #1785
* UPD: docker: Bump base image to Alpine 3.21, GitHub #1842
4.0.8
* UPD: Set resource max limit to 10240 on macOS, GitHub #1793
Compatibility with older macOS hosts such as 10.15 Catalina.
* UPD: meson: Allow building papd without CUPS, GitHub #1774
Activate the override with: -Dwith-cups=false
* UPD: meson: Favor openldap when building on macOS, GitHub #1792
Avoids linking with macOS LDAP.Framework by default.
* UPD: meson: Improved libquota detection on FreeBSD and NetBSD, GitHub #1805
* FIX: meson: DocBook detection stops at first hit, GitHub #1800
Detect xsl-stylesheets-nons with higher priority than xsl-stylesheets;
-Dwith-docbook-path is now a hard override
* UPD: docs: Clarify D-Bus and GLib dependencies in the Install chapter,
GitHub #1798 GitHub #1799
* FIX: docs: Document that DocBook XSL has to be non-namespaced, GitHub #1800
* FIX: testsuite: Retry logic for final cleanup step in test358, GitHub #1795
4.0.7
* FIX: Remove bitrotted code in the bstring library, GitHub #1769
This was a regression between netatalk 3.2 and 4.0.
* FIX: meson: Check for SunRPC function quota_open(), GitHub #1225
This should enable build with quota on *BSDs.
* FIX: meson: *BSD compatible libwrap check, GitHub #1770
* NEW: meson: Add option with-manual=man_only
which compiles and installs only troff pages, GitHub #1766
* NEW: meson: Option to specify path to perl runtime, GitHub #1776
* UPD: meson: Flip order of Berkeley DB version detection, GitHub #1771
A more recent version of dbd is now prioritized over older ones.
* FIX: meson: Don't attempt to detect shadow passwords
on *BSD and macOS, GitHub #1777
* FIX: meson: Configure dbus paths and config files only if dbus exists,
GitHub #1773
* FIX: meson: Don't define spooldir when building without papd, GitHub #1786
* UPD: meson: Generate appendix XML sources via with-manual=www
and allow custom manual install path with with-manual-install-path,
GitHub #1781
(This is useful primarily for project maintainers.)
* UPD: docs: Only compile and install appletalk documentation when
with-appletalk=true, GitHub #1753
* UPD: docs: Overhaul of man page Synopsis sections, GitHub #1765
* UPD: docs: Refer to CONTRIBUTORS hosted on netatalk.io in man pages,
GitHub #1767
4.0.6
* FIX: Workaround for bug in AppleShare Client 3.7.4, GitHub #1749
Only report support of AFP 2.2 and later to DSI (TCP) clients
which shaves several bytes off the server response
and lowers the chance of >512 byte FPGetSrvrInfo response.
* UPD: All AppleTalk daemons now take -v to print version info, GitHub #1745
* FIX: `ad find' can take any kind of string, not just lowercase, GitHub #1751
* UPD: meson: Default to no init scripts if service management command
not found, GitHub #1743
* FIX: Include config.h by relative path consistently (cleanup) GitHub #1746
* FIX: Remove duplicate header includes in MySQL CNID backend, GitHub #1748
* FIX: docs: Fix formatting of afppasswd man page, GitHub #1750
* FIX: webmin: Properly install netatalk-lib.pl, GitHub #1752
4.0.5
* UPD: Distribute pre-generated Unicode table sources, GitHub #1724
This reverts the previous change in v4.0.0 removing these sources.
We retain the ability to regenerate them on the fly,
if Unicode character database is found by the build system.
Built with UnicodeData.txt version 16.0.
This also removes hard Perl and Unicode dependencies.
* NEW: afpd: Fallback to new DSI icon when no icon defined, GitHub #1729
* FIX: atalkd: Don't send NBP Reply packets from the loopback interface,
addressing side effect in Linux kernel 6.9+ GitHub #1734
* FIX: docs: Strip out linebreak escapes in Compile appendix, GitHub #1733
* FIX: docs: Remove straggler afp_encodingtest.1 man page alias, GitHub #1728
* FIX: macipgw: On MACIP_ASSIGN, prepopulate the newly-assigned IP address
into the arp cache to avoid warning on Linux, GitHub #1727
* NEW: macipgw: Add command-line option to drop root privileges
after the server has been started, GitHub #1727
* FIX: macipgw: Fix argument handling in main() for aarch64 compatibility,
GitHub #1735
* FIX: webmin: Revert default dir detection to address
critical regression bug, GitHub #1736
* FIX: testsuite: Exit tests with the Exclude flag early, GitHub #1737
* FIX: testsuite: Longer sleep time after file operation in test358,
GitHub #1739
* FIX: testsuite: Make Utf8 tests big-endian safe, GitHub #1740
4.0.4
* FIX: Fix loss of FinderInfo on resource fork creation with
AppleDouble EA backend, GitHub #1702
* FIX: Remove remnants of obsoleted DEBUG compile time flag, GitHub #1696
- Fixes compile time error on MUSL systems when building with AppleTalk
- When building debug builds, the EBUG flag is now activated
- Print build type in the Meson summary
* FIX: meson: Detect rresvport() function in system libraries, GitHub #1697
- Local rresvport() code was previoulsy behind a broken MUSL flag
- Enables building with AppleTalk on OpenWrt
* FIX: meson: Fix build fail with -Dwith-spotlight=false, GitHub #1715
* FIX: docker: Explicitly launch the cupsd daemon on startup, GitHub #1707
* NEW: docs: Create manual page for `afptest' (testsuite) tools, GitHub #1695
* UPD: docs: Bring CONTRIBUTORS up to date, GitHub #1722
* UPD: testsuite: Consolidate afp_ls as a command in afparg, GitHub #1705
- Add `FPEnumerate dir' as an afparg command
- Remove `afp_ls' as a separate executable
* UPD: testsuite: Merge encoding test into spectest, GitHub #1716
- Add `Encoding' as a testset in the spectest
- Rewrite the `western' test to use Unicode for the same characters
- Remove `afp_encodingtest' as a separate executable
* UPD: testsuite: Collapse spectest into a single suite, GitHub #1713
The testsuite grouping have been removed, and all spectests
are in a single suite. The tier 2 tests are enabled with
the -c option. The sleep and readonly tests can be run with
the -f option.
* UPD: testsuite: Enable Color terminal output by default,
and flip the -C option, GitHub #1708
* UPD: testsuite: Print a test summary for the spectest, GitHub #1708
* UPD: testsuite: Treat `Not Tested' as a failure again, GitHub #1709
* FIX: testsuite: Use AFPopenLogin() for FPopenLoginExt() as bug workaround
to enable testing of AFP 3.x connections, GitHub #1709
* UPD: testsuite: Install test data for test431 into the datadir, GitHub #1712
* FIX: testsuite: Workarounds for MUSL system calls default permissions,
which enables the testsuite to run on Alpine Linux, GitHub #1682
* UPD: testsuite: Break down login testsuite into atomic tests, GitHub #1717
* UPD: testsuite: Use AFP 3.4 by default (previously: AFP 2.1), GitHub #1718
* UPD: testsuite: Use the Exclude flag to skip test that require setup,
previously used to skip known buggy tests, GitHub #1720
* FIX: testsuite: Improvements to test setup, cleanup, and early failure
4.0.3
* FIX: afpd: Limit FPGetSrvrInfo packet for AppleTalk clients, GitHub #1661
This prevents errors with very old clients
when many AFP options are enabled.
* FIX: Fix EOF error reporting in dsi_stream_read(), GitHub #1631
This should prevent warnings such as:
`dsi_stream_read: len:0, unexpected EOF'
* FIX: Fix regression when accessing the afpd UUID, GitHub #1679
Resolves an error when running the `ad' utilities.
* FIX: meson: Fix indexer path detection on meson 1.6, GitHub #1672
* FIX: meson: Fix PAM config directory detection, GitHub #1678
* FIX: meson: Shore up Unicode char table script error handling and detection,
GitHub #1692
* FIX: initscripts: Remove redundant nbpunrgstr cleanup
in atalkd systemd config, GitHub #1660
* NEW: docker: Containerized testsuite, GitHub #1649
* UPD: docker: Register the conventional NBP entities when starting up,
GitHub #1653
* UPD: docker: Remove file/dir perm settings that were causing problems
* FIX: testsuite: Treat NOT TESTED spectest result as non-failure,
GitHub #1663
* FIX: testsuite: Don't treat initial spectest.sh run as a failure,
GitHub #1664
* UPD: testsuite: Reduce default log verbosity for better test reports,
introducing two verbosity levels (-v, -V), GitHub #1665
* UPD: testsuite: Reposition the Exclude option (-x)
to flag known failures with Netatalk 4.0
* UPD: testsuite: Install all test runners and utils, GitHub #1675
* FIX: testsuite: Link test executables with -rdynamic
to allow sole test case runs with -f, GitHub #1690
* UPD: testsuite: Consolidate spectest into a single binary, GitHub #1693
4.0.2
* NEW: Bring back Classic Mac OS `legacy icon' option, GitHub #1622
* UPD: Spotlight: Support TinySPARQL/LocalSearch, GitHub #1078
* FIX: ad: Fix volume check for the AppleDouble toolsuite, GitHub #1605
Check was failing if the `ea = ad' option was set.
* FIX: meson: Refactor Berkley DB detection for robustness, GitHub #1604
* UPD: meson: Add localstatedir override option, GitHub #1608
* UPD: meson: Make the print spool dir FHS compliant, GitHub #1608
* UPD: docs: Improve Upgrade chapter, GitHub #1609
* UPD: docker: Use multistage build to optimize image size, GitHub #1620
* FIX: afpd: Cleanup unused, broken AFP over ASP code #1612
* FIX: papd: Correct PAPStatus string copy buffer length, GitHub #1576
* UPD: Make last CNID backend writable when built for tests, GitHub #1623
This unblocks the integration tests that concern writing.
* NEW: Bundle and improve the afptest test suite, GitHub #1633
Build with the new `-Dwith-testsuite' option.
* FIX: webmin: Make AppleTalk service control functional, GitHub #1636
4.0.1
* UPD: Update license grant to reflect the retroactive rescission
of U.C Berkeley clause 3, GitHub #1567
* FIX: meson: Don't always build AppleTalk utils with RPATH, GitHub #1568
* FIX: docs: Build the macipgw html manual page, GitHub #1569
* FIX: Explicitly import headers to appease gcc on Debian Sid, GitHub #1571
* UPD: docs: Install static redirect man pages for nbp tools, GitHub #1575
* FIX: meson: Missing xsltproc and docbook-xsl treated
as non-fatal error, GitHub #1581
* UPD: docker: Build with optimizations, without debug symbols, GitHub #1584
* UPD: meson: In summary, list Webmin module under
a new Add-ons section, GitHub #1586
* UPD: initscripts: Use launchctl bootstrap and
enable directives for installing on macOS, GitHub #1583
* REM: Remove obsoleted netatalk-config script, GitHub #1587
* FIX: Change u_char data types to the portable uint8_t, GitHub #1590
* FIX: meson: Detect native Avahi before mDNS, GitHub #1591
* UPD: initscripts: Remove the redundant systemd Also directive, GitHub #1593
* UPD: docs: Flesh out the compile appendix
and break down start steps, GitHub #1595
* FIX: Fix seg fault in ad set utility
when not in a netatalk volume, GitHub #1597
* UPD: Update ad manual page to cover 'ad set' utility, GitHub #1599
4.0.0
* NEW: Reintroduce AppleTalk / DDP support, GitHub #220
Controlled with the new build system option `-Dwith-appletalk'.
Revived daemons: atalkd, papd, timelord, a2boot
Revived config files: atalkd.conf, papd.conf
Revived utilities: aecho, getzones, nbplkup, nbprgstr, nbpunrgstr, pap,
papstatus
* NEW: Bundle macipgw, the MacIP Gateway daemon by Stefan Bethke, GitHub #1204
* UPD: uams: All encrypted UAMs depend on Libgcrypt now, GitHub #1488, #1506
This means we remove the bundled wolfSSL library.
A big thanks to the wolfSSL team for all their support!
* FIX: uams: Remove unhelpful Libgcrypt version check, GitHub #1550
* REM: Remove the obsoleted PGP UAM, GitHub #1507
* NEW: Bundle, configure and install the Webmin module, GitHub #518
Controlled with the new build system option `-Dwith-webmin'.
* UPD: Migrate afpstats from dbus-glib to GDBus, GitHub #666
Special thanks to Simon McVittie for his help!
* BREAKING: Remove canned troff man pages from distribution, GitHub #460
The build system now generates them on the fly.
Introduces a build time dependency on DocBook XSL and xsltproc.
* BREAKING: Remove generated Unicode conversion tables, GitHub #1220
Introduces a build time dependency on the UnicodeData.txt database.
* UPD: Detect host OS home dir and configure afp.conf on the fly, GitHub #1274
* UPD: meson: Autodetect init style for host OS, #1124
* UPD: meson: Allow building with multiple init styles, GitHub #1291
* NEW: meson: Introduce `-Dwith-readmes' option for installing additional docs.
GitHub #1310
* REM: Remove the Autotools build system. Meson is now the only choice.
GitHub #1213
3.2.10
* BREAKING: Install netatalk-dbus.conf into datadir by default, GitHub #1533
Previously: sysconfdir. This can be overridden by the build system.
* FIX: uams: Correct shadow password length check for ClearTxt, GitHub #1528
* FIX: cnid_dbd: Set explicit max length of db_params to prevent potential
buffer overflow, GitHub #694
* FIX: meson: Debugging was enabled by default causing tickles
to not be sent out, GitHub #1514
* FIX: meson: Format afpd help text output to match autotools, GitHub #1499
* FIX: meson: Throw missing cracklib dictionary warning, GitHub #1495
* FIX: meson: Use a valid code sample for the TCP Wrappers check, GitHub #1491
3.2.9
* UPD: Use the recommended command to import Solaris init manifest,
GitHub #1451
* FIX: uams: Make sure the DHX2 client nonce is aligned appropriately,
GitHub #1456
* FIX: uams: Fix DHCAST128 key alignment problem, GitHub #1464
* FIX: wolfssl: OpenSSL coexistence tweaks, GitHub #1469
* FIX: docs: Remove straggler path substitution in afp.conf, GitHub #1480
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 22 Jun 2025 18:21:41 +0000 (20:21 +0200)]
sudo: Update to version 1.9.17
- Update from version 1.9.16p2 to 1.9.17
- Removed --with-ignore-dot as the setting is now on bt default. The --with-ignore-dot
configure option has been deprecated so will eventually be removed. Therefore good
to remove it now in preparation for the future.
- Update of rootfile
- Changelog
1.9.17
Sudo now uses the NODEV macro consistently. Bug #1074.
Fixed a bug where the ALL command in a sudoers rule would override a
previous NOSETENV tag. Command tags are inherited from previous Cmnds in
a Cmnd_Spec_List. There is a special case for the SETENV tag with the ALL
command, where SETENV is implied if no explicit SETENV or NOSETENV tag is
specified. This special case did not take into account that a NOSETENV
tag that was inherited should override this behavior.
If sudo is run via ssh without a terminal and a password is required, it
now suggest using ssh’s -t option.
Fixed the display of timeout values in the sudo -V output on systems
without a C99-compliant snprintf() function.
Quieted a number of minor Coverity warnings.
Fixed a problem running sudo from a serial console on Linux when the
command is run in a pseudo-terminal (the default).
Fixed a crash in sudo which could occur if there was a fatal error after
the user was validated but before the command was actually run.
Fixed a number of man page style warnings. The “lint” make target in the
docs directory will now run groff with warnings enabled if it is
available. Bug #1075.
The ignore_dot sudoers setting is now on by default. There is now a
--disable-ignore-dot configure option to disable it. The --with-ignore-dot
configure option has been deprecated.
Fixed a problem with the pwfeedback option where an initial backspace
would reduce the maximum length allowed for the password. GitHub issue #439.
Fixed minor grammar and spelling problems in the man pages.
Fixed a bug where a user could avoid entering a password for sudo -l
command if they specified their own user or group name via the -u or -g
options.
Avoid potential password guessing based on timing attacks on the strcmp()
function on systems without PAM or a crypt() function where plaintext
passwords are stored in the shadow password file.
Fixed a potential information leak where sudo -l command could be used to
determine whether an executable exists in a directory that they do not
have search access to.
Sudo uses TCSAFLUSH, not TCSADRAIN, when disabling echo once again. A long
time ago sudo changed from using TCSAFLUSH to TCSADRAIN due to some
systems having bugs related to TCSAFLUSH. That should no longer be a
concern. Using TCSAFLUSH ensures that password input that has been
received by the kernel, but not yet read by sudo, will be discarded and
not echoed.
Added the SUDO_TTY environment variable if the user has a terminal. This
can be used to find the user’s original tty device when sudo runs the
command in its own pseudo-terminal. GitHub issue #447.
New Cantonese translation for sudo.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 22 Jun 2025 12:28:01 +0000 (14:28 +0200)]
pixman: Update to version 0.46.2
- Update from version 0.46.0 to 0.46.2
- Update of rootfile
- Changelog
0.46.2
region: add translatef function for fractional regions
region: add contains_pointf function for fractional regions
ci: Disable OpenMP for Windows targets
Revert "ci: Allow failures in windows-amd64 jobs"
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 22 Jun 2025 12:28:00 +0000 (14:28 +0200)]
libxml2: Update to version 2.14.4
- Update from 2,14.3 to 2.14.4
- Update of rootfile
- Changelog
2.14.4
Regressions
- parser: Fix parsing of PublicIds and VersionNums
- parser: Fix custom SAX parsers without cdataBlock handler
- error: Fix initGenericErrorDefaultFunc compatibility macro again
- io: Make xmlOutputBufferCreate* not free encoder on error
- reader: Fix null deref on malloc failure
- Revert "meson: Install libxml2.py"
Security
- tree: Fix integer overflow in xmlBuildQName
Improvements
- parser: Use parser context as default in resource loader
- parser: Only validate EnumerationTypes when requested
- parser: Undeprecate some parser context members
Build systems
- cmake: Avoid overlinking with non-CMake libxml2-config.cmake
- cmake: Make iconv a private dependency
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 22 Jun 2025 12:27:59 +0000 (14:27 +0200)]
git: Update to version 2.50.0
- Update from version 2.49.0 to 2.50.0
- Update of rootfile
- Changelog
2.50.0
UI, Workflows & Features
* A post-processing filter for "diff --raw" output has been
introduced.
* "git repack" learned "--combine-cruft-below-size" option that
controls how cruft-packs are combined.
* TCP keepalive behaviour on http transports can now be configured by
calling cURL library.
* Incrementally updating multi-pack index files.
* "git reflog" learns "drop" subcommand, that discards the entire
reflog data for a ref.
* A new userdiff driver for ".ini" format configuration files has
been added.
* The job to coalesce loose objects into packfiles in "git
maintenance" now has configurable batch size.
* "git clone" still gave the message about the default branch name;
this message has been turned into an advice message that can be
turned off.
* "git rev-list" learns machine-parsable output format that delimits
each field with NUL.
* "git maintenance" learns a new task to expire reflog entries.
* Auth-related (and unrelated) error handling in send-email has been
made more robust.
* Updating multiple references have only been possible in an all-or-nothing
fashion with transactions, but it can be more efficient to batch
multiple updates even when some of them are allowed to fail in a
best-effort manner. A new "best effort batches of updates" mode
has been introduced.
* "git help --build-options" reports SHA-1 and SHA-256 backends used
in the build.
* "git cat-file --batch" and friends learned to allow "--filter=" to
omit certain objects, just like the transport layer does.
* "git blame --porcelain" mode now talks about unblamable lines and
lines that are blamed to an ignored commit.
* The build procedure installs bash (but not zsh) completion script.
* send-email has been updated to work better with Outlook's SMTP server.
* "git diff --minimal" used to give non-minimal output when its
optimization kicked in, which has been disabled.
* "git index-pack --fix-thin" used to abort to prevent a cycle in
delta chains from forming in a corner case even when there is no
such cycle.
* Make repository clean-up tasks that "gc" can do available to "git
maintenance" front-end.
* Bundle-URI feature did not use refs recorded in the bundle other
than normal branches as anchoring points to optimize the follow-up
fetch during "git clone"; now it is told to utilize all.
* The `send-email` documentation has been updated with OAuth2.0
related examples.
* Two of the "scalar" subcommands that add a repository that hasn't
been under "scalar"'s control are taught an option not to enable the
scheduled maintenance on it.
* The userdiff pattern for shell scripts has been updated to cope
with more bash-isms.
* "git merge-tree" learned an option to see if it resolves cleanly
without actually creating a result.
* The commit title in the "rebase -i" todo file are now prefixed with
'#', just like a merge commit being replayed.
* "git receive-pack" optionally learns not to care about connectivity
check, which can be useful when the repository arranges to ensure
connectivity by some other means.
* "git notes --help" documentation updates.
Performance, Internal Implementation, Development Support etc.
* A handful of built-in command implementations have been rewritten
to use the repository instance supplied by git.c:run_builtin(), its
caller.
* "git fsck" becomes more careful when checking the refs.
* "git fast-export | git fast-import" learns to deal with commit and
tag objects with embedded signatures a bit better. This is highly
experimental and the format of the data stream may change in the
future without compatibility guarantees.
* The code paths to check whether a refname X is available (by seeing
if another ref X/Y exists, etc.) have been optimized.
* First step of deprecating and removing merge-recursive.
* In protocol v2 where the refs advertisement is constrained, we try
to tell the server side not to limit the advertisement when there
is no specific need to, which has been the source of confusion and
recent bugs. Revamp the logic to simplify.
* Update meson based build procedure for breaking changes support.
* Enable -Wunreachable-code for developer builds.
* Ensure what we write in assert() does not have side effects,
and introduce ASSERT() macro to mark those that cannot be
mechanically checked for lack of side effects.
* Give more meaningful error return values from block writer layer of
the reftable ref-API backend.
* Make the code in reftable library less reliant on the service
routines it used to borrow from Git proper, to make it easier to
use by external users of the library.
* CI update.
* The object layer has been updated to take an explicit repository
instance as a parameter in more code paths.
* Some warnings from "-Wsign-compare" for builtin/rm.c have been
squelched.
* A few traditional unit tests have been rewritten to use the clar
framework.
* Some warnings from "-Wsign-compare" for pathspec.c have been
squelched.
* "make test" used to have a hard dependency on (basic) Perl; tests
have been rewritten help environment with NO_PERL test the build as
much as possible.
* Remove remnants of the recursive merge strategy backend, which was
superseded by the ort merge strategy.
* Optimize the code to dedup references recorded in a bundle file.
* Update parse-options API to catch mistakes to pass address of an
integral variable of a wrong type/size.
* Since a call to repo_config() can be called with repo set to NULL
these days, a command that is marked as RUN_SETUP in the builtin
command table does not have to check repo with NULL before making
the call.
* Overhaul of the reftable API.
* Reduce requirement for Perl in our documentation build and a few
scripts.
* The build procedure based on Meson learned to drive the
benchmarking tests.
* Code clean-up for meson-based build infrastructure.
* Add an equivalent to "make hdr-check" target to meson based builds.
* Further code clean-up in the object-store layer.
* Build performance fix.
* Teach "git send-email" to also consult `hostname -f` for mail
domain to compute the identity given to SMTP servers.
* The dependency on the_repository variable has been reduced from the
code paths in "git replay".
* Support to create a loose object file with unknown object type has
been dropped.
* The code path to access the "packed-refs" file while "fsck" is
taught to mmap the file, instead of reading the whole file into
memory.
* Assorted fixes for issues found with CodeQL.
* Remove the leftover hints to the test framework to mark tests that
do not pass the leak checker tests, as they should no longer be
needed.
* When a stale .midx file refers to .pack files that no longer exist,
we ended up checking for these non-existent files repeatedly, which
has been optimized by memoizing the non-existence.
* Build settings have been improved for BSD based systems.
* Newer version of libcURL detected curl_easy_setopt() calls we made
with platform-natural "int" when we should have used "long", which
all have been corrected.
* Tests that compare $HOME and $(pwd), which should be the same
directory unless the tests chdir's around, would fail when the user
enters the test directory via symbolic links, which has been
corrected.
Bugfixes
* The refname exclusion logic in the packed-ref backend has been
broken for some time, which confused upload-pack to advertise
different set of refs. This has been corrected.
(merge 10e8a9352b tb/refs-exclude-fixes later to maint).
* The merge-recursive and merge-ort machinery crashed in corner cases
when certain renames are involved.
(merge 3adba40858 en/merge-process-renames-crash-fix later to maint).
* Certain "cruft" objects would have never been refreshed when there
are multiple cruft packs in the repository, which has been
corrected.
(merge 08f612ba70 tb/multi-cruft-pack-refresh-fix later to maint).
* The xdiff code on 32-bit platform misbehaved when an insanely large
context size is given, which has been corrected.
(merge d39e28e68c rs/xdiff-context-length-fix later to maint).
* GitHub Actions CI switched on a CI/CD variable that does not exist
when choosing what packages to install etc., which has been
corrected.
(merge ee89f7c79d kn/ci-meson-check-build-docs-fix later to maint).
* Using "git name-rev --stdin" as an example, improve the framework to
prepare tests to pretend to be in the future where the breaking
changes have already happened.
(merge de3dec1187 jc/name-rev-stdin later to maint).
* An earlier code refactoring of the hash machinery missed a few
required calls to init_fn.
(merge d39f04b638 jh/hash-init-fixes later to maint).
* A documentation page was left out from formatting and installation,
which has been corrected.
(merge ae85116f18 pw/build-breaking-changes-doc later to maint).
* The bash command line completion script (in contrib/) has been
updated to cope with remote repository nicknames with slashes in
them.
(merge 778d2f1760 dm/completion-remote-names-fix later to maint).
* "Dubious ownership" checks on Windows has been tightened up.
(merge 5bb88e89ef js/mingw-admins-are-special later to maint).
* Layout configuration in vimdiff backend didn't work as advertised,
which has been corrected.
(merge 93bab2d04b fr/vimdiff-layout-fixes later to maint).
* Fix our use of zlib corner cases.
(merge 1cb2f293f5 jk/zlib-inflate-fixes later to maint).
* Fix lockfile contention in reftable code on Windows.
(merge 0a3dceabf1 ps/mingw-creat-excl-fix later to maint).
* "git-merge-file" documentation source, which has lines that look
like conflict markers, lacked custom conflict marker size defined,
which has been corrected..
(merge d3b5832381 pw/custom-conflict-marker-size-for-merge-related-docs
later to maint).
* Squelch false-positive from sparse.
(merge da87b58014 dd/sparse-glibc-workaround later to maint).
* Adjust to the deprecation of use of Ubuntu 20.04 GitHub Actions CI.
(merge 832d9f6d0b js/ci-github-update-ubuntu later to maint).
* Work around CI breakage due to fedora base image getting updated.
(merge 8a471a663b js/ci-fedora-gawk later to maint).
* A ref transaction corner case fix.
(merge b9fadeead7 jt/ref-transaction-abort-fix later to maint).
* Random build fixes.
(merge 85e1d6819f ps/misc-build-fixes later to maint).
* "git fetch [<remote>]" with only the configured fetch refspec
should be the only thing to update refs/remotes/<remote>/HEAD,
but the code was overly eager to do so in other cases.
* Incorrect sorting of refs with bytes with high-bit set on platforms
with signed char led to a BUG, which has been corrected.
* "make perf" fixes.
(merge 1665f12fa0 pb/perf-test-fixes later to maint).
* Doc mark-up updates.
(merge 5a5565ec44 ja/doc-reset-mv-rm-markup-updates later to maint).
* Work around false positive from CodeQL checker.
(merge 0f558141ed js/range-check-codeql-workaround later to maint).
* "git log --{left,right}-only A...B", when A and B does not share
any common ancestor, now behaves as expected.
(merge e7ef4be7c2 mh/left-right-limited later to maint).
* Document the convention to disable hooks altogether by setting the
hooksPath configuration variable to /dev/null.
(merge 1b2eee94f1 ds/doc-disable-hooks later to maint).
* Make sure outage of third-party sites that supply P4, Git-LFS, and
JGit we use for testing would not prevent our CI jobs from running
at all.
* Various build tweaks, including CSPRNG selection on some platforms.
(merge cdda67de03 rj/build-tweaks later to maint).
* Developer support fix..
(merge 32b74b9809 js/git-perf-env-override later to maint).
* Fix for scheduled maintenance tasks on platforms using launchctl.
(merge eb2d7beb0e jh/gc-launchctl-schedule-fix later to maint).
* Update to arm64 Windows port (part of which had been reverted as it
broke builds for existing platforms, which may need to be redone in
future releases).
* hashmap API clean-up to ensure hashmap_clear() leaves a cleared map
in a reusable state.
(merge 9481877de3 en/hashmap-clear-fix later to maint).
* "git mv a a/b dst" would ask to move the directory 'a' itself, as
well as its contents, in a single destination directory, which is
a contradicting request that is impossible to satisfy. This case is
now detected and the command errors out.
(merge 974f0d4664 ps/mv-contradiction-fix later to maint).
* Further refinement on CI messages when an optional external
software is unavailable (e.g. due to third-party service outage).
(merge 956acbefbd jc/ci-skip-unavailable-external-software later to maint).
* Test result aggregation did not work in Meson based CI jobs.
(merge bd38ed5be1 ps/ci-test-aggreg-fix-for-meson later to maint).
* Code clean-up around stale CI elements and building with Visual Studio.
(merge a7b060f67f js/ci-buildsystems-cleanup later to maint).
* "git add 'f?o'" did not add 'foo' if 'f?o', an unusual pathname,
also existed on the working tree, which has been corrected.
(merge ec727e189c kj/glob-path-with-special-char later to maint).
* The fallback implementation of open_nofollow() depended on
open("symlink", O_NOFOLLOW) to set errno to ELOOP, but a few BSD
derived systems use different errno, which has been worked around.
(merge f47bcc3413 cf/wrapper-bsd-eloop later to maint).
* Use-after-free fix in the sequencer.
(merge 5dbaec628d pw/sequencer-reflog-use-after-free later to maint).
* win+Meson CI pipeline, unlike other pipelines for Windows,
used to build artifacts in developer mode, which has been changed to
build them in release mode for consistency.
(merge 184abdcf05 js/ci-build-win-in-release-mode later to maint).
* CI settings at GitLab has been updated to run MSVC based Meson job
automatically (as opposed to be done only upon manual request).
(merge 6389579b2f ps/ci-gitlab-enable-msvc-meson-job later to maint).
* "git apply" and "git add -i/-p" code paths no longer unnecessarily
expand sparse-index while working.
(merge ecf9ba20e3 ds/sparse-apply-add-p later to maint).
* Avoid adding directory path to a sparse-index tree entries to the
name-hash, since they would bloat the hashtable without anybody
querying for them. This was done already for a single threaded
part of the code, but now the multi-threaded code also does the
same.
(merge 2e60aabc75 am/sparse-index-name-hash-fix later to maint).
* Recent versions of Perl started warning against "! A =~ /pattern/"
which does not negate the result of the matching. As it turns out
that the problematic function is not even called, it was removed.
(merge 67cae845d2 op/cvsserver-perl-warning later to maint).
* "git apply --index/--cached" when applying a deletion patch in
reverse failed to give the mode bits of the path "removed" by the
patch to the file it creates, which has been corrected.
* "git verify-refs" errored out in a repository in which
linked worktrees were prepared with Git 2.43 or lower.
(merge d5b3c38b8a sj/ref-contents-check-fix later to maint).
* Update total_ram() function on BSD variants.
* Update online_cpus() function on BSD variants.
* Revert a botched bswap.h change that broke ntohll() functions on
big-endian systems with __builtin_bswap32/64().
* Fixes for GitHub Actions Coverity job.
(merge 3cc4fc1ebd js/github-ci-win-coverity-fix later to maint).
* Other code cleanup, docfix, build fix, etc.
(merge 227c4f33a0 ja/doc-block-delimiter-markup-fix later to maint).
(merge 2bfd3b3685 ab/decorate-code-cleanup later to maint).
(merge 5337daddc7 am/dir-dedup-decl-of-repository later to maint).
(merge 554051d691 en/diff-rename-follow-fix later to maint).
(merge a18c18b470 en/random-cleanups later to maint).
(merge 5af21c9acb hj/doc-rev-list-ancestry-fix later to maint).
(merge 26d76ca284 aj/doc-restore-p-update later to maint).
(merge 2c0dcb9754 cc/lop-remote later to maint).
(merge 7b399322a2 ja/doc-branch-markup later to maint).
(merge ee434e1807 pw/doc-pack-refs-markup-fix later to maint).
(merge c000918eb7 tb/bitamp-typofix later to maint).
(merge fa8cd29676 js/imap-send-peer-cert-verify later to maint).
(merge 98b423bc1c rs/clear-commit-marks-simplify later to maint).
(merge 133d065dd6 ta/bulk-checkin-signed-compare-false-warning-fix later to
maint).
(merge d2827dc31e es/meson-build-skip-coccinelle later to maint).
(merge ee8edb7156 dk/vimdiff-doc-fix later to maint).
(merge 107d889303 md/t1403-path-is-file later to maint).
(merge abd4192b07 js/comma-semicolon-confusion later to maint).
(merge 27b7264206 ab/environment-clean-header later to maint).
(merge ff4a749354 as/typofix-in-env-h-header later to maint).
(merge 86eef3541e az/tighten-string-array-constness later to maint).
(merge 25292c301d lo/remove-log-reencode-from-rev-info later to maint).
(merge 1aa50636fd jk/p5332-testfix later to maint).
(merge 42cf4ac552 ps/ci-resurrect-p4-on-github later to maint).
(merge 104add8368 js/diff-codeql-false-positive-workaround later to maint).
(merge f62977b93c en/get-tree-entry-doc later to maint).
(merge e5dd0a05ed ly/am-split-stgit-leakfix later to maint).
(merge bac220e154 rc/t1001-test-path-is-file later to maint).
(merge 91db6c735d ly/reftable-writer-leakfix later to maint).
(merge 20e4e9ad0b jc/doc-synopsis-option-markup later to maint).
(merge cddcee7f64 es/meson-configure-build-options-fix later to maint).
(merge cea9f55f00 wk/sparse-checkout-doc-fix later to maint).
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 22 Jun 2025 12:27:58 +0000 (14:27 +0200)]
fetchmail: Update to version 6.5.4
- Update from version 6.5.3 to 6.5.4
- Update of rootfile not required
- Changelog
6.5.4
BUGFIXES:
* socket: avoid crash when writing to a socket without SSL/TLS fails.
Reported by Andrea Venturoli via mailing list, fixes #71.
* wolfSSL support: avoid fetchmail.c compilation failure in certain
configurations of wolfSSL (for instance, on FreeBSD's wolfssl-5.8.0_1
package), OpenSSL_version enables a newer 1.1.x compat API that passes its
argument to a wolfSSL API, with OPENSSL_DIR and OPENSSL_ENGINES_DIR, causing
related compiler failures.
See <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287435>.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Fri, 20 Jun 2025 13:57:07 +0000 (15:57 +0200)]
pam: Update to version 1.7.1
- Update from version 1.7.0 to 1.7.1
- Update of rootfile not required
- This version fixes a CVE. However this is for a local to root permission escalation. So
unlikely to be an issue for IPFire if access is tightly controlled. Also the
vulnerability is related to pam_access and requires the configuration file for that
to be defined with user rules that can be confused with hostnames. pam_access.so is
installed on IPFire but no configuration file.
- Although the risk for IPFire is very low it makes sense to update to the fix.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Fri, 20 Jun 2025 10:29:08 +0000 (12:29 +0200)]
nut: Update to version 2.8.3
- Update from version 2.8.2 to 2.8.3
- Update of rootfile
- This update has an sobump and this requires collectd to be shipped. Another patch will
be submitted for that together with this one.
- Changelog
2.8.3
- Fix fallout of development in NUT v2.8.0 and/or v2.8.1 and/or v2.8.2:
* Move of `NUT_DEBUG_LEVEL` and "-D" CLI option handling to start of
driver programs for issue #2259 in NUT v2.8.2 release misfired with
regard to data-dump mode (it no longer caused foreground by default).
[#2408]
* The `nut-driver-enumerator.sh` improvements misfired in v2.8.2 release
with an overlooked bit of shell syntax, and caused `nut-driver@upsname`
instances to not auto-restart when `ups.conf` is edited. [#682, #2410]
* Addition of "NUT Simulated devices" support to `nut-scanner` in v2.8.2
broke detection of (in-)ability to find and query "Old NUT" servers via
`libupsclient.so` (internal flag got always enabled). [#2246]
* A fix for `upsmon` v2.8.1 setting of `OFFDURATION` [PR #2108, issue #2104,
revisiting PR #2055, issue #2044] was overly zealous and impacted also
the `OB` state in cases where communications to the data server were
severed and `DEADTIME` setting was not honored. [PR #2462, issue #2454]
* Using `drivername -c reload` (e.g. facilitated by `nut-driver-enumerator`
script and service when editing `ups.conf`) led to disconnected Unix
sockets and a tight polling loop that hogged CPU. While the underlying
bug is ancient, it took recent development to hit it as a practical
regression. [issue #1904, issue #2484]
* Fallback `localtime_r()` and `gmtime_r()` for some platform builds where
a `*_s()` variant was available was not handled correctly. [PR #2583]
* A recently introduced `allow_killpower` did not actually work as an
`ups.conf` flag (only as a protocol command). [issue #2605, PR #2606]
* The ability of two copies of the driver program to talk to each other
with `upsdrvquery.c` code was not complete for the case of indefinite
`select()` wait timeout. Now `upsdrvquery_read_timeout()` fixed private
use of `struct timeval={-1,-1}` as a trigger to `select(..., NULL)`,
as logged in one part of code and not handled in the other, for the
indefinite wait [#1922, #2392, #2686, #2670]
* The `disable_fix_report_desc` option introduced for `usbhid-ups` driver
since NUT v2.8.1 was not applied for early dialog with the device while
its report descriptors were being discovered. Now this flag, as well as
`interruptsize` and `interruptonly`, are considered before we first try
to open the USB device handle. [#1575, #1512]
* In `cps_fix_report_desc()` we intended to fix-up input and output voltages
in certain cases against high voltage transfer, we only fixed-up one of
them. [#1245]
* `upsd` should now handle `TRACKING` value of `STAT_CONVERSION_FAILED`
introduced in NUT v2.8.2 for the socket protocol (between driver and
data server), by returning "ERR INVALID-ARGUMENT", so there is no change
for the network protocol definition. [#2182]
* The `configure --enable-inplace-runtime` option added in NUT v2.8.1 should
now also try to detect and set default values for the `--with-drvpath`,
`--with-cgipath`, `--datadir` and `--libdir` options to more closely match
a packaged setup and avoid confusion with e.g. two incompatible NUT client
libraries in system default search path. [#2895]
- Large parts of the NUT User Manual and NUT Developer Guide were relocated
into the new NUT Quality Assurance and Build Automation Guide (maintained
in `docs/qa-guide.adoc`), accompanied by new chapters written and detailed
for this subject; the chapter about `ci_build.sh` script became a separate
`ci_build.adoc` document included into the new document. Overall, this guide
intended to help the current and future maintainers of NUT itself, as well
as to inspire any other projects that investigate similar solutions. [#2832]
- SEMVER, know thyself!
* Development iterations of NUT should now identify with not only the
semantic version of a preceding release, but with git-derived information
about the amount of iterations that followed (if available):
the three-number "semver" would be seen on release snapshots, while
other builds would expose the added components: one with the amount
of commits on the main development trunk since the preceding release
which are ancestors of the built code base, and in case of feature
development branches -- another component with the amount of commits
unique to this branch (which are not part of the development trunk yet).
This allows to produce more relevant (monotonously growing) version
identifiers for packages and similar artifacts, with more meaningful
upgrades via development snapshots, eventually. A copy of the current
version information would be embedded into "dist" archives as a
`VERSION_DEFAULT` file, among provisions for packager tuning. [#1949]
* Documentation about this would be maintained in `docs/nut-versioning.adoc`
* SMF manifests and systemd units now refer to man pages and their online
variants under `NUT_WEBSITE_BASE` dependent on codebase maturity
(development or release snapshot); many programs now display such
references in their command-line usage help, method `suggest_doc_links()`
was introduced for this purpose. [issue #722, PR #2733]
- A technologically and practically interesting revamp of NUT mesh of
https://www.gnu.org/software/automake/ GNU Automake (`Makefile.am`)
recipes was completed, allowing for a more parallelizable build routine
on multi-CPU machines -- utilizing more cores and completing in less
"wall-clock" time that the standard `SUBDIRS` driven approach -- when
running `make -j (N)` from the project root directory to build everything
enabled by the `configure` script.
This was tested with several (GNU, BSD, Sun) implementations of the
"make" program on the few dozen platforms that NUT CI farm tests on.
Notably, GNU make 4.x and newer seems to process parallel high-level
goals and sub-`make` runs better than the competition (including GNU
make 3.x).
It is not a radical rewrite like some other research suggested, and so retains
the general structure and certain benefits and flexibility of that standard
`automake` approach, including developer build workflows with a bespoke
`Makefile` in every significant directory. This also retains (and builds
upon) the benefits of older work done in NUT, for builds in one directory
to depend on libraries and other artifacts built (once) in another.
Overall, NUT CI farm build times got 25%+ shorter (which is important as
some scenarios had hit the 1-hour timeout imposed by providers of free
CI hosting coupled with the weak machines provided in their free layer),
and we suppose this is an interesting case for other projects to draw
inspiration from for their recipe refactoring. [PR #2825]
- As an aid for developers and maintainers, a new spell-checking recipe was
added to first run non-interactive spelling checks in parallel, and *only*
if something fails -- run an interactive check to edit the text and/or the
dictionary file. The `make spellcheck` rule now also benefits from the
rewritten recipes, as detailed above, to visit directories with text files
in parallel. Overall, these changes may save time on multi-CPU systems, if
compared to a sequential walk of all texts (or their directories) as was
done before. [#2871]
- The `make dist` goal now takes more care to require availability of the man
pages to put into the prepared distribution archive. These may come either
from the current build, or inherited from its sources (if using a tarball
initially) on a platform without tooling required for man page generation.
This requirement compromises usability of `make distcheck` on platforms without
such tools from sources without pre-built man pages (e.g. builds from git),
so a couple of new goals were introduced in PR #2842:
- `make distcheck-fake-man` generates placeholder files named like pre-built
man pages for any missing files, just for the purpose of constructing
a sane-looking dist archive to `distcheck` strictly otherwise;
- `make distcheck-ci` is routed to `distcheck` or `distcheck-fake-man`
based on build circumstances (ability to build man pages or presence
of pre-built pages, or lack of either);
- Similarly, `make dist-ci` is routed to provide a strict or faked tarball;
- Earlier defined goals like `distcheck-light` or `distcheck-valgrind` now
take advantage of these mechanisms to also produce usable dist archives
for their relaxed or purpose-specific tests.
- Revised behaviors for the `upsnotify()` common code introduced in recent NUT
releases (integrating with service management frameworks, etc.):
* It was a bit cryptic when it reported a *failure to notify* (e.g. when a
NUT program was not running as a service currently), fixed now to report
human-friendly text instead of internal enum codes. Follow-up to [issue
#1590, PR #1777, PR #2136]
* Drivers should no longer print warning messages about not-initializing
the notification subsystem because not running as a service when they
are either started explicitly to show the help message, or when their
CLI arguments are fatally wrong (no UPS name, no `port`, invalid trailing
keywords...)
* NUT programs generally should default to not "spam" about lack of known
notification technology if our first message to be suppressed is already
about stopping that program. This might help nag distros into getting
a service framework, or integrating theirs with NUT, but is generally
annoying to end-users where there's little they can do about it (other
than suppressing the message with `NUT_QUIET_INIT_UPSNOTIFY` envvar).
- Drivers, `upsd`, `upsmon`: reduce "scary noise" about failure to `fopen()`
the PID file (which most of the time means that no previous instance of
the daemon was running to potentially conflict with), especially useless
since in recent NUT releases the verdicts from `sendsignal*()` methods
are analyzed and lead to layman worded situation reports in these programs.
[issue #1782, PR #2384]
- Drivers started with the `-FF` command-line option (e.g. wrapped into the
systemd units to stay "foregrounded" *and* save a PID file anyway) should
now also handle an existing PID file to interact with the earlier instance
of the driver program, if still running (e.g. started manually). [#2384]
- Drivers executed to force an UPS shutdown (with `-k` CLI option) should
now try harder to kill off a daemonized sibling, if it still runs (and
did not handle a `driver.killpower` INSTCMD well). [#2666]
- Extended instant commands for driver reloading with a `driver.exit`
command for a protocol equivalent of sending a `SIGTERM`, e.g. when
a newer instance of the driver program tries to start. [#1903, #2392]
- A new `NUT_QUIET_INIT_BANNER` envvar (presence or "true" value) can now
prevent the tool name and NUT version banner from being unilaterally
printed out when NUT programs start. [issues #1789 vs. #316; #2573]
- Drivers would now report the socket they are listening on, and server
would report full path to the driver socket it tries to connect to.
A new `NUT_QUIET_INIT_LISTENER` envvar (presence or "true" value) can
prevent the socket name from being unilaterally printed out when NUT
drivers start. [#2764]
- The `upsdrvctl` tool improvements:
* It should now warn if executed on systems where NUT was built with
support for service management frameworks like systemd or SMF, so
nut-driver service units prepared by `nut-driver-enumerator` would
conflict with manually-executed driver programs. This warning can
be hushed by exporting a `NUT_QUIET_INIT_NDE_WARNING` environment
variable with any value.
* Extended `upsdrvctl` with a `list` operation (or `-l` option) to report
manageable device configuration names (possible `<ups>` arguments to
`start`, `stop` etc. operations), or to confirm a single name that it
is known, and a `status` operation for more information. [#2567]
* Fixed support of `maxstartdelay` at the level of driver section in
`ups.conf`; added support of `maxretry` and `retrydelay` at this
level; bumped the default `maxstartdelay` from 45 to 75 seconds to
accommodate for longer device initialization (e.g. due to support of
more Megatec Qx dialects by `nutdrv_qx`). [#2885, #2888]
- `riello_ser` updates:
* Added `localcalculation` option to compute `battery.runtime` and
`battery.charge` if the device provides bogus values [issue #2390,
following in the footsteps of #1692, #1685 done for `riello_usb`]
(similar to `runtimecal` in some other drivers, may be refactored
to that configuration and logic model in later NUT releases)
- `apcsmart` updates:
* Revised code to use `strncpy()` and avoid potential overflows that are
possible with `strcpy()` used before. [PR #2564]
* Lost communications led to a logging flood, should not anymore.
In fact, the driver should try fully reconnecting upon getting into
a prolonged data stale condition. [issue #704, PR #2564]
- `nutdrv_qx` updates:
* Added Visench C1K (using serial port converter with USB ID `1a86:7523`)
as known supported by `nutdrv_qx` (Megatec protocol) since at least
NUT v2.7.4 release. [#2395]
* Introduced `innovart31` protocol support for Innova RT 3/1 UPSes. [#2712, #2798]
* Introduced `q2` and `q6` protocol support; currently also based/tested
on Innova devices, but other models than RT 3/1. [#2798]
* Introduced a `gtec` subdriver and protocol, tested over USB with a
Gtec ZP120N device. [#2818]
* Fixed `hunnox_protocol()` to honour the optional `novendor` setting for
devices that are confused by such query, e.g. DEXP LCD EURO 1200VA. [#2839]
* Extended Voltronic protocol to support longer numbers as remaining
`battery.runtime` value. [#2765]
- GPIO drivers:
* Extended to support library API of not only libgpiod v1.x releases,
but also v2.x; introduced a NUT `WITH_LIBGPIO_VERSION` C macro (in
`config.h`) to differentiate the library variants. [issue #2833]
- New NUT drivers:
* `bicker_ser`: added new driver for Bicker 12/24Vdc UPS via RS-232 serial
communication protocol, which supports any UPS shipped with the PSZ-1053
extension module. [PR #2448]
* `liebert-gxe`: added new driver with support for Liebert GXE Series UPS
(serial or USB posing as a serial port). [#2629]
* `nhs_ser`: added new driver for numerous NHS Nobreaks, senoidal line -- UPS
models with serial port, made by NHS Sistemas Eletronicos LTDA and popular
in Brazil. Currently this driver only builds on Linux. [#2692]
* `phoenixcontact_modbus` driver: Introduced Phoenix Contact QUINT4-UPS/24DC
management (only new modbus addresses). [#2689, #2716]
- Added `scripts/external_apis` with an example script integrating a
non-native protocol with NUT (as live-stream input for `dummy-ups`
NUT driver to publish further); that example can be installed using
`configure --enable-extapi-enphase`. [issue #2807, PR #2813]
- `usbhid-ups` and `netxml-ups` updated to handle "No battery installed!"
alarm also to set the `RB` (Replace Battery) value in `ups.status`.
This may cause dual triggering of notifications (as an `ALARM` generally
and as an important `REPLBATT` status in particular) in `upsmon`, but
better safe than sorry. [#415]
- `usbhid-ups` updates:
* Support of the `onlinedischarge_log_throttle_hovercharge` in the NUT
v2.8.2 release was found to be incomplete. [#2423, follow-up to #2215]
* Added support for `interrupt_pipe_no_events_tolerance=N` setting to
optionally prevent UPS lockup, indicated by continuous "Got 0 HID Objects"
situation as a clue, by reconnecting on stale data. Note that while some
devices just report information upon subsequent poll and just have nothing
urgent to declare with an USB interrupt, others (e.g. APC BXnnnnMI) were
seen to lock up until a full connection restart. [#2671, #2681]
* Added support for `lbrb_log_delay_sec=N` setting to delay propagation of
`LB` or `LB+RB` state (buggy with APC BXnnnnMI devices circa 2023-2024).
This may work better with flags like `onlinedischarge_calibration` and
`lbrb_log_delay_without_calibrating` for some devices. [#2347]
* General suggestion from `possibly_supported()` message method for devices
with VendorID=`0x06da` (Phoenixtec), seen in some models supported by
MGE HID or Liebert HID, updated to suggest trying `nutdrv_qx`. [#334]
* MGE HID list of `mge_model_names[]` was extended for Eaton 9E, 5PX and 5SC
series (largely guessing, feedback and PRs for adaptation to actual
string values reported by devices via USB are welcome), so these devices
would now report `battery.voltage` and `battery.voltage.nominal`.
Also a device from 5S series (5S1200AU) was tested, although it identifies
as an "Ellipse PRO" in USB metadata. [#2380]
* Added `ups.beeper.status` support for Masterpower MF-UPS650VA using the
MGE HID subdriver. [#2662]
* Added basic support for EcoFlow River 3 Plus and Delta 3 Plus models.
[issue #2735, PRs #2740, #2837]
* Added support for `0x09D6:0x0001` devices using the MGE HID subdriver
assuming devices made by KSTAR (alternately using MGE vendor ID). [#2661]
* `powercom-hid` subdriver sent UPS shutdown commands in wrong byte order,
at least for devices currently in the field. A toggle was added to set
the old behavior (if some devices do need it), while a fix is applied
by default: `powercom_sdcmd_byte_order_fallback`. [PR #2480]
* `cps-hid` subdriver now supports more variables, as available on e.g.
CP1350EPFCLCD model, including temperature. [PRs #2540, #2711]
* Loudly suggest to set `pollonly` flag and default a shorter `pollfreq`
for CPS devices, to try avoiding device-driven timeouts. [#1689]
Also adjust default `offdelay` and `ondelay` to reasonable values,
and warn the users with CPS devices if their configured values are
not multiples of 60. [#432, #1394]
* In `cps-hid` subdriver, `cps_fix_report_desc()` method should now handle
mismatched `LogMax` ranges for input and output voltages, whose USB Report
Descriptors are wrongly encoded by some firmware versions. [#1512]
* In `cps-hid` subdriver, try to fix frequency scaling based on the values
we see from the device and/or configuration overrides (low, nominal, high)
so `499.0 Hz` reading that comes from some firmware versions gets reported
properly as `49.9Hz`. [#2717]
* USB parameters (per `usb_communication_subdriver_t`) are now set back to
their default values during enumeration after probing each subdriver.
Having an unrelated device connected with a VID:PID matching the
`arduino-hid` subdriver prevented use of an actual `usb-hid` device due to
changes made to this struct during probe. [#2611]
- USB-capable drivers generally:
* ...could earlier log `(nut_)libusb_get_string: Success` due to either
reading an empty string or getting a success code `0` from libusb.
This difference should now be better logged, and not into syslog. [#2399]
* ...now can benefit from a new `nut_usb_get_string()` method which can do a
fallback `en_US` query for devices which report a broken "langid" language
identifier value. This notably manifested in inability to query the device
Manufacturer, Model and Serial Number values with some buggy device firmware
or hardware. [PR #2604, issues #1925, #414]
* Currently this was tested to fix certain device discovery with the
`usbhid-ups` driver; but should also apply out of the box to same
discovery logic in `blazer_usb`, `nutdrv_qx`, `riello_usb` and
`tripplite_usb` drivers.
* Also applied to `nut-scanner` and `libnutscan`. [issue #2615]
* More work may be needed for other USB-capable drivers (`richcomm_usb`,
`nutdrv_atcl_usb`) and for general code to collect string readings and
other data points, and to configure the fallback locale or choose one
if several are served by the device. [issues #2613, #2614, #2615]
* ...should now be more likely to succeed with iterative detection
of an UPS interface on a composite USB device or when looking at devices
with non-default interface/endpoint/config numbers. [PR #2611]
* ...should now accept a `LIBUSB_DEBUG=INTEGER` setting in `ups.conf`
(as well as an environment variable that can be generally set via
`nut.conf` or service unit methods or init script), to enable
troubleshooting of LibUSB itself. [issue #2616]
* ...should now not log "insufficient permissions on everything" alone when
some devices were accessible but just did not match -- clarify that case
in the next line, when applicable. [PR #2699]
* ...should now track the fact of `assumed_LogMax` (typically when firmware
encoding logic is wrong, and `-1` is resolved by parser). [#1512, #1040]
- `snmp-ups` updates:
* Added support to monitor BayTech RPC3-NC PDUs, with `baytech-rpc3nc-mib`
serving same basic data points as were available in `baytech-mib.c`,
but checking for a different model OID subtree and different OIDs for
the device model information. [#2779]
* Fixed `netvision-mib`: sync `netvision_output_info` with currently
available `SOCOMECUPS-MIB.txt`. [#2803]
- `mge-utalk` driver will no longer set non-standard status values `COMMFAULT`
and `ALARM` (for a specific status bit); instead, it will set modern
`ups.alarm` with values `COMMFAULT` and/or `DEVICEALARM` (and raise
an `ALARM` in `ups.status` for either, as standard alarms go). [#2708]
- Introduced a new driver concept for interaction with OS-reported hardware
monitoring readings. Currently instantiated as `hwmon_ina219` specifically
made for Texas Instruments INA219 chip as exposed in the Linux "hwmon"
subsystem of its "sysfs" interface (and talking I2C under the hood), this
approach seems to have good potential to expand into covering more devices
and perhaps platforms. [#2430]
- Introduced `ECO` status concept for "ECO mode" (or "High Efficiency" mode,
or "Energy Saver System"...) as named and defined by hardware vendors.
One common aspect is that this is a balance of electrical efficiency vs.
robust outage protection (which may be overkill for IT equipment whose
PSU can survive several milliseconds on capacitors alone) which can be
selected at run-time. Previously such choice was made at the time of
purchase, with the UPSes only supporting some one protection strategy.
[issue #2495, PR #2637]
* Updated documentation, end-user clients (CGI, NUT-Monitor UI);
* Updated `upsmon` client with ability to report entering and exiting
the ECO mode if reported by the driver;
* Initial implementation for Eaton devices with `usbhid-ups` driver.
- Introduced handling for the `ALARM` status, which already existed as a
common denominator for devices seen with active `ups.alarm` variables.
UPS devices in an `ALARM` status are generally considered volatile and
may be considered critical/dead by the `upsmon` client earlier than in
other statuses (e.g. in no-communication situations). It has to be noted
that there is no common standard for what constitutes an alarm and such
alarm states were also previously observed for less severe reasons. This
depends on the manufacturer/device-specific implementation in the driver.
[issues #415, #2657, PR #2658]
* Updated documentation, end-user clients (CGI, NUT-Monitor UI);
* Updated `upsmon` client with ability to report entering and exiting
the ALARM status if reported by the driver;
* Updated `upsmon` client with setting to toggle whether an `ALARM`
status can prompt the UPS to become critical in certain situations.
- The `upsmon` client can now also report entering and exiting the `OVER`
(UPS overloaded), `TRIM` and `BOOST` (adjusting for bad input voltage)
states. A setting `OVERDURATION` was introduced to define a timeout
after which a non-communicating UPS that was last seen in state `OVER`
should be considered critical (or not). [PR #1074, issue #2877]
- Revised `upssched` timer handler that can be called from `upsmon` as its
`NOTIFYCMD` to not report confusing environment variable values of
`NOTIFYTYPE` and `UPSNAME` from the original call when a timer eventually
fires -- these values are irrelevant at that distant future. The NIT (NUT
Integration Tests) suite was extended to configure and call this tool,
facilitating its development and troubleshooting. Also the `upssched`
timer daemon part can now save its PID file (so that NIT can terminate
it after tests). [#2890]
- New `libupsclient` API methods added:
* `upscli_str_add_unique_token()` and `upscli_str_contains_token()`,
to help C NUT clients process `ups.status` and similarly structured
strings same way as NUT core code base. [#2852, #2859]
* `upscli_connect()` was previously always blocking; now this is sort of
optional, with new `upscli_set_default_connect_timeout()` able to change
the implicit timeout from default zero (meaning blocking) to a positive
value (or back to 0). Several NUT clients (`upsc`, `upscmd`, `upsrw`,
`upslog`, `upsmon`, `upsimage`, `upsset` and `upsstats`) were updated
to default with a 10-second timeout in case of name resolution lags or
unresponsive hosts (notably a problem with `upsmon` contacting many
remote systems at once). The `NUT_DEFAULT_CONNECT_TIMEOUT` environment
variable can be used to modify this timeout for all clients. Further
new methods here include `upscli_get_default_connect_timeout()` to
retrieve a copy of the last stored timeout, and
`upscli_init_default_connect_timeout()` to initialize the value from
a number of sources with different priorities. [#2847]
* Symbols exported from `libupsclient` now include `nut_debug_level*` so
that NUT clients can be usefully debugged (e.g. using `NUT_DEBUG_LEVEL`
environment variable). [#2847]
- Several NUT clients including `upscmd`, `upsrw`, `upsimage`, `upsset`,
`upsstats`, and `upslog` (during reconnection), did not `UPSCLI_CONN_TRYSSL`
so went plaintext even when secure connections were possible. Fixed to at
least try being secure, same way as `upsc` does for a long time. [#2847]
- `upsmon` updates:
* It was realized that the `POWERDOWNFLAG` must be explicitly set in the
configuration file, there is no built-in default in the binary program
(the settings facilitated by the `configure` script during build "only"
impact the `upsmon.conf.sample`, init-scripts and similar files generated
from templates). [issue #321, PR #2383]
* Added an `OBLBDURATION` (seconds) setting to optionally delay raising
the alarm for immediate shutdown in critical situation. [#321]
* Optimized `parse_status()` by not checking further strings if we had
a match; report unexpected tokens in debug log. [#415]
* Revised internal `do_notify()` method to support formatting strings
with two `%s` placeholders, to use if certain use-cases pass any extra
information (e.g. not just "we have alarms" but their values too). [#415]
* Introduced handling for "unknown" `ups.status` tokens, reporting them
as "OTHER" notification type (whenever the set of such tokens appears
or changes) or "NOTOTHER" when they disappear. [#415]
- `upslog` updates:
* Added support for limiting the loop count. Using in NIT (NUT Integration
Test) suite for double profit (checking the tool and fallback in NIT).
* If you use the legacy CLI options for single-system logging (`-s <system>`
and `-l <logfile>`) along with newer tuple(s) for multiple-system logging
(repeatable `-m <system,logfile>`), previously the single-system options
were overridden by the tuple(s); now they become part of the list.
* Internally, changed from use of shared global variables to query one UPS
at a time, populated from the new list of tuples during each loop cycle,
to passing and using the new tuple structures directly.
* The `upsname` in the `system=upsname[@hostname[:port]]` parameter may
be an asterisk `*` to query for devices currently served by the hostname.
* Same log file may safely be used in different logging tuples (it is
then recommended to use `%UPSHOST%` in a custom formatting string).
* Fixed printing of `%UPSHOST%` when multiple systems are being logged.
* A `%t` for a TAB character can now be used in the formatting string.
* Added `-N` to prefix `%UPSHOST%%t` before the format string (whether
default or custom). Useful when logging many systems into same target.
* Added `-D` for debugging (and foregrounding by default), like with
other NUT daemons.
* Added systemd and SMF service integration. [#1803]
- More systemd integration:
* Introduced a `nut-sleep.service` unit which stops `nut.target` when a
system sleep was requested, and starts it when the sleep is finished.
This helps avoid NUT shutting down a woken-up system just because its
power state was critical before the sleep (called as a `SHUTDOWNCMD`
implementation by the end-user), and a next-read timestamp was not seen
(deemed to be a stale UPS, meaning lost communications during critical
state, so must go down ASAP). While not as elegant as native systemd
"inhibitor interface" support, this approach does work. [#1833, #1070]
* Introduced support for the "inhibitor interface" as well (should be
available on systems with systemd version 183 or newer) for a better
handling of the time jump specifically in the `upsmon` client via new
`Inhibit()` method in `common.c`. [#1070]
* As an extension of the logic introduced above, hopefully now `upsmon`
would behave better in face of any significant and unexpected clock
jumps (on POSIX builds so far), even if they are not suspend/hibernate
events (or they were but we could not have an inhibit lock). Now they
should be handled similar (avoid stale UPS data and rash decisions)
for summer/winter time change on non-UTC deployments, a debugger
suspending the `upsmon` process, etc. [#2597]
* Introduced delivery of default systemd presets (lists of enabled/disabled
units). [#2721]
* A `nut-udev-settle.service` was introduced to replace dependency on the
`systemd-udev-settle.service` which is deprecated and causes warnings on
some systems. It was shown to benefit NUT use-cases however. [#2638]
- `gamatronic` driver revised for safer memory operations; this was reported
to have fixed a Segmentation Fault seen in earlier NUT releases with
some of the devices supported by this driver. [#2427]
- `upsd` updates:
* `upsd_cleanup()` is now traced, to more easily see that the daemon is
exiting (and/or start-up has aborted due to configuration or run-time
issues). Warning about "world readable" files clarified. [#2417]
* Failure to `LISTEN` on an invalid host name (e.g. `localhost:3493` or
`1.2.3.4/24`) is now logged in a more actionable manner. [#2665]
- `nut-scanner` updates:
* The tool relies on dynamic loading of shared objects (library files)
orchestrated at run-time rather than pre-compiled, to avoid excessively
huge package footprints. This however relies on knowing (or sufficiently
safely guessing) the library file names to use, and short `libname.so`
is not ubiquitously available. With the new `m4` macro `AX_REALPATH_LIB`
we can store and try to use the file name which was present on the build
system, while we search for a suitable library. [#2431]
NOTE: A different but functionally equivalent trick is done for `libupsclient`
during a NUT build.
* Fixed support for IPv6 addresses (passed in square brackets) for both
`-s` start/`-e` end command-line options, and for `-m cidr/mask` option.
[issue #2512, PR #2518]
* Newly added support to scan several IP addresses (single or ranges)
with the same call, by repeating command-line options; also `-m auto{,4,6}`
can be specified (once) to select IP (all, IPv4, IPv6) address ranges of
configured local network interfaces.
An `/ADDRLEN` suffix can be added to the option, to filter out discovered
subnets with too many bits available for the host address part (avoiding
millions of scans in the extreme cases).
[issue #2244, issue #2511, PR #2509, PR #2513, PR #2517]
* Implemented parallel scanning for IPMI bus, otherwise default scan for
all supported buses with `-m auto` takes unbearably long. [#2523]
* Bumped version of `libnutscan` to 2.6.0, it now includes a few more
methods and symbols from `libcommon`. [issue #2244, PR #2509]
* Do not actively suggest `vendor(id)`, `product(id)`, and `serial` options
for `bcmxcp_usb`, `richcomm_usb` and `nutdrv_atcl_usb` drivers for now
[#1763, #1764, #1768, #2580]
- All drivers should now support the optional `sdcommands` setting with
a site-local list of instant commands to handle `upsdrv_shutdown()`,
which may be useful in cases when the driver's built-in commands
(or their order) do not meet the goals of particular NUT deployment.
This can also help with shutdown endgame testing, using a mock command like
starting the beeper (where supported) to verify that the UPS communications
happen as expected, without compromising the load connected to the UPS.
Also defined `EF_EXIT_SUCCESS` and `EF_EXIT_FAILURE` in `include/common.h`
to avoid magic numbers in code like `set_exit_flag(-2)`, and revised whether
it is getting set at all in "killpower" vs. other cases, based on new
`handling_upsdrv_shutdown` internal flag.
NOTE: during this overhaul, many older drivers got their first ever supported
INSTCMD such as `shutdown.return`, `shutdown.stayoff` or `load.off`. Default
logic that was previously the content of `upsdrv_shutdown()` methods was often
relocated into new `shutdown.default` INSTCMD definitions. [#2670]
- Common code:
* `upscli_splitname()` should now recognize `upsname:port` typos (missing
the `@hostname` part) and error out gracefully.
* Introduced a `NUT_DEBUG_SYSLOG` environment variable to tweak activation
of syslog message emission (and related detachment of `stderr` when
backgrounding), primarily useful for NIT and perhaps systemd. Most
methods relied on logging bits being set, so this change aims to be
minimally invasive to impact setting of those bits (or not) in the
first place. [#2394]
* `root`-owned daemons now use not the hard-coded `PIDPATH` value set
by the `configure` script during build, but can override it with a
`NUT_PIDPATH` environment variable in certain use-cases (such as
tests). [#2407]
* Allow drivers to set `STATEPATH` via `ups.conf` to match `upsd`
custom configuration ability; the data server would prefer the value
from `ups.conf` over the one in `upsd.conf`, if both are present.
Note that `NUT_STATEPATH` environment variable trumps both. [issue #694]
* Introduced a check for daemons working with PID files to double-check
that if they can resolve the program name of a running process with
this identifier, that such name matches the current program (avoid
failures to start NUT daemons if PID files are on persistent storage,
and some unrelated program got that PID after a reboot). This might
introduce regressions for heavily customized NUT builds (e.g. those
embedded in NAS or similar devices) where binary file names differ
significantly from a `progname` string defined in the respective NUT
source file, so a boolean `NUT_IGNORE_CHECKPROCNAME` environment
variable support was added to optionally disable this verification.
Also the NUT daemons should request to double-check against their
run-time process name (if it can be detected). [issue #2463]
* Introduced `m4` macros to check during `configure` phase for the
platform, and a `nut_bool.h` header with `nut_bool_t` type to use
during build, to avoid the numerous definitions of Boolean types
and values (or macros) in the NUT codebase. [issue #1176, issue #31]
* Custom `distcheck-something` targets did not inherit `DISTCHECK_FLAGS`
properly. [#2541]
* Added `status_get()` in NUT driver state API, to check if a status
token string had been set recently, and to avoid duplicate settings;
fixed `status_set()` for multi-token arguments. [PR #2565, issue #2708]
* Local socket/pipe protocol introduced a `LOGOUT` command for cleaner
disconnection handling. [#2572]
* Codebase adapted to the liking of `clang-18` and newer revisions of
`gcc-13`+ whose static analyzers on NUT CI farm complained about some
imperfections after adding newer OS revisions to the population of
build agents. [#2585, #2588]
* New checks in `clang-19` brought new findings about mismatched formatting
strings and `int`-ish parameters of respective methods.
Overall, had to change formatting strings in some cases, variable types
in others (e.g. flags or notification types do not make sense as signed)
and added casting in a few places that remained, because:
- `%x` style formatting requires an `unsigned int` variable
- Numeric literals and macros are `int` by default
- Results of math with unsigned types like `uint16_t`, done in some
cases, are up-scaled into `int` by default
- `char`'s, `unsigned` or not, seem to be also up-scaled into `int`
- Updated `docs/nut-names.txt` with items defined by 42ITy NUT fork. [#2339]
- Various recipe, documentation and source files were revised to address
respective warnings issued by the new generations of analysis tools.
[#823, #2437, nut-website issue #52]
- Fixed `configure` script to use default (target-specific) values of
`CFLAGS`, `LIBS` etc. when probing relevant settings for each third-party
dependency; as a consequence, on systems that support building for many
targets, we check relevant build-ability for that target and not for the
building system itself. [issue #2673, PR #2675]
- Fixed dynamic linking of Mozilla NSS on systems like Solaris/illumos,
where the shared objects are not packaged into the common RPATH.
[issue #2674, PR #2675]
- Added `scripts/valgrind` with a helper script and suppression file to
ignore common third-party problems. [#2511]
- Fixed `configure --with-valgrind=PATH` vs. detection of its usability;
fixed some portability issues with detection of usability per se, tried
`--with-valgrind=auto` the default to auto-detect and use the feature
(in tests) wherever possible, but too many NUT CI farm agents disagreed;
so for now the default is `no`. [#2823]
- When drivers dump collected data (during troubleshooting), flush `stdout`
buffer immediately for sane logging (especially on Windows). [PR #2699]
- Revised `nut.exe` (the NUT for Windows wrapper for all-in-one service)
to be more helpful with command-line use (report that it failed to start
as a service, have a help message, pass debug verbosity to launched NUT
programs...) and add a man page for it. [issue #2432, PR #2446]
- The `scripts/Windows/build-mingw-nut.sh` helper script was extended to
use `nut_build_${ARCH}` and `nut_install_${ARCH}` directories by default,
with the older `nut_build` and `nut_install` short names becoming just a
symbolic link to the latest executed build: this should help compare the
differences of 32/64-bit builds, without them stepping on each other's toes.
- NUT binding for Python and the `NUT-Monitor` Python UI client updates:
* The `PyNUTClient` module should no longer rely on presence of a `telnetlib`
module in the build or execution environment (deprecated in Python 3.11,
removed since Python 3.13). [issue #2183, PR #2792]
* The PyPI distribution of the `PyNUTClient` module tarball should now use a
lower-cased file name (and immediate versioned directory name inside) to
match the requirements of https://peps.python.org/pep-0625/.
The Python module name (and its directory) should remain camel-cased. [#2773]
* Added man page for the `NUT-Monitor` Python UI client.
* The `NUT-Monitor` Python UI client itself was revised to report the
`PACKAGE_VERSION` and `NUT_WEBSITE_BASE` strings in the "About" dialog
contents; localization support for the dialog and some other resources
was revised to work in Py3Qt5 variant of the script. [#722]
- Documentation recipe updates:
* Enabled installation of built single-file PDF and HTML (including man
page renditions) under the configured `docdir`. It seems that previously
they were only built (if requested) but not installed via `make`, unlike
the common man pages which are delivered automatically. [#2445]
NOTE: The `html-chunked` documents are currently still not installed.
* Added support to `./configure --with-doc=man=dist-auto` to use the
distributed manual page files if present; only fall back to (re-)building
them if we can. [#2473]
* Added a `make distcheck-light-man` recipe to require verification that
the manual page files can be built using the prepared "tarball" archive.
[#2473]
* Revised the documentation building recipes, with the goal to avoid
building the `ChangeLog` products and their intermediate files more
than once (but still react to `git` metadata changes during development),
and to sanity-check the resulting final document (currently only for
`html-single` mode).
As part of this, the `CHANGELOG_REQUIRE_GROUP_BY_DATE_AUTHOR` setting was
added (for `make` calls and used by `tools/gitlog2changelog.py.in`
script), and it defaults to `true` allowing for better ordered documents
at the cost of some memory during document generation. [#2510]
* Updated man page generation with `configure` script options to specify
that manual section codes on the target platform differ from (Linux-based)
defaults hard-coded into page sources; this should allow to simplify NUT
packaging recipe maintenance in those diverse distributions (no more need
to update patches for changed or added documentation sources).
* Lines in first section of NUT configuration report (which can optionally
remain as `config.nut_report_feature.log` and be installed into shared
documentation of a NUT package) are now better grouped as miscellaneous
features and detection results, then drivers and programs/tools. [#2676]
- Added a `common/Makefile.am` build product for a new internal library
`libcommonstr.la` which allows a smaller selection of helper methods
for tools like `nut-scanner` which do not need the full `libcommon.la`
nor `libcommonclient.la`. [#2478, #2491]
- Added a `drivers/Makefile.am` build product for a new internal library
`libserial-nutscan.la` to simplify `tools/nut-scanner/Makefile.am` recipes.
[#2490]
- Build of `snmp-ups` and `netxml-ups` drivers now explicitly brings linker
dependency on chosen SSL libraries. [#2479]
- Introduced `configure --with-modbus+usb` option to require an USB-capable
libmodbus, and defaulted a couple of specific situations as if this was
required (implicitly): `configure --with-modbus --with-usb` and
either `--with-drivers=*apc_modbus*` (actually implies `--with-modbus`)
or `--with-modbus-includes=... --with-modbus-libs=...`
as a way to avoid surprises with custom NUT builds aiming to have an
USB-capable `apc_modbus` driver (currently this requires a custom-built
libmodbus). Also fixed (re-)detection of libmodbus RTU USB support with
static libmodbus builds. [#2666]
- Drivers built with libmodbus (`phoenixcontact_modbus`, `generic_modbus`,
`huawei-ups2000`, `socomec_jbus`, `adelsystem_cbi`, `apc_modbus`) should
now report whether the library is linked dynamically or statically -- this
can help in troubleshooting (especially of `apc_modbus` which may be using
a custom build of the library not delivered by the operating system). [#2897]
- Brought keyword dictionaries of `nutconf` and `augeas` NUT configuration
file parsers up to date; restored automated checks for `augeas` lenses.
[issue #657, issue #2294]
NOTE: Some known issues remain with augeas lens definitions, so currently
they should be able to parse common simple use-cases but not certain types
of more complex configurations (e.g. some line patterns that involve too
many double-quote characters) which are valid for NUT proper. [#657]
- Cross-builds using only a host implementation of `pkg-config` program
should now ignore host `*.pc` files and avoid confusion.
- NUT CI farm build recipes, documentation and some `m4`/`configure.ac`
sources updated to handle a much larger build scope on MacOS. Also
migrated the builders to Apple Silicon from x86 (deprecated by CircleCI).
Disabled `HOMEBREW_NO_AUTO_UPDATE` to gain 40 min per build at cost of
slightly older environment. [#2502, #1579]
- Introduced a simple experiment to expose NUT client readings as filesystem
objects via FUSE, in `scripts/fuse/execfuse-nut` now. [#2591]
- Introduced `make install-as-root` to create directories not directly
populated by `make install` and NUT build artifacts, apply permissions
and (on some platforms) restart services involved with NUT. [#1298]
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Matthias Fischer [Thu, 19 Jun 2025 20:49:23 +0000 (22:49 +0200)]
bind: Update ot 9.20.10
For details see:
https://downloads.isc.org/isc/bind9/9.20.10/doc/arm/html/notes.html#notes-for-bind-9-20-10
"Notes for BIND 9.20.10
New Features
Implement a new notify-defer configuration option.
This new option sets a delay (in seconds) to wait before sending a
set of NOTIFY messages for a zone. Whenever a NOTIFY message is
ready to be sent, sending is deferred for this duration. This
option should not be confused with the notify-delay option. The
default is 0 seconds. [GL #5259]
Removed Features
Implement the systemd notification protocol manually to remove
dependency on libsystemd.
Bug Fixes
Fix zone deletion issue.
A secondary zone could initiate a new zone transfer from the primary
server after it had been already deleted from the secondary server,
and before the internal garbage collection was activated to clean it
up completely. This has been fixed. [GL #5291]
Fix a zone refresh bug.
A secondary zone could fail to further refresh with new versions of
the zone from a primary server if named was reconfigured during the
SOA request step of an ongoing zone transfer. This has been fixed.
[GL #5307]"
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Reviewed-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Thu, 19 Jun 2025 20:20:46 +0000 (22:20 +0200)]
qemu: Update to version 10.0.2
- Update from version 9.2.0 to 10.0.2
- Update of rootfile
- Removal of sched-attr patch as this is now built into the source tarball.
- Changelog
10.0
Removed features and incompatible changes
Consult the 'Removed features' page for details of suggested replacement
functionality.
New deprecated options and features
The -old-param option (used for booting some ancient Arm kernels) has been
deprecated, as none of the boards QEMU supports need it.
The Arm PXA2xx CPUs and the iwMMXt emulation have been deprecated and will
be removed in a future release.
Consult the "Deprecated Features" chapter of the QEMU System Emulation User's
Guide for further details of the deprecations and their suggested replacements.
Arm
iwMMXt emulation and the PXA2xx CPUs have been deprecated and will be
removed in a future release. (You were only using this if you explicitly
selected a pxa2xx CPU type on the command line or by environment variable.)
When emulating FEAT_PAUTH, the default pointer authentication algorithm
has been changed from the architected QARMA5 algorithm to QEMU's
implementation-defined algorithm. This is non-cryptographic but is
significantly faster, which is what most users will want. If you need the
architected algorithm you can select it with the 'pauth-qarma5'
CPU option, e.g. "-cpu max,pauth-qarma5=on".
The CPU now emulates the Secure EL2 physical and virtual timers
New CPU architectural features emulated:
FEAT_AFP
FEAT_RPRES
FEAT_XS
The Stellaris boards now model both I2C controllers
The 'virt' board now has a 'highmem-mmio-size' property to allow
configuring a larger PCIe MMIO region; this can be useful when passing
through a lot of PCI devices with large MMIO BARs to a VM.
New board models:
"npcm845-evb": NPCM845 Evaluation board
"imx8mp-evk": i.MX 8M Plus EVK board
HPPA
New SeaBIOS-hppa version 18 with lots of fixes and enhancements
Emulate up to 256 GB RAM on 64-bit guests
Speed up translation time
Improve virtual CPU reset function
Support space register hashing via diag registers as required by 64-bit HP-UX
Add emulation of Diva GSP ("Guardian Service Processor" / BMC) PCI boards
Artist graphic card can be disabled on command line with "-global
artist.disable=true"
Added Astro LLMIO support, which allows adding other graphic cards, e.g.
with "-device ati-vga"
LoongArch
KVM support cpu hotplug.
kVM support paravirt ipi.
KVM support kvm steal time.
KVM support virtual extioi feature.
ISA and Extensions
Support riscv-iommu-sys device
Introduce svukte ISA extension
Support ssstateen extension
Reduce the overhead for simple RISC-V vector unit-stride loads and stores
Add 'sha' support
Add traces for exceptions in user mode
Update Pointer Masking to Zjpm v1.0
Add Smrnmi support
Add RISC-V Counter delegation ISA extension support
Add support for Smdbltrp and Ssdbltrp extensions
Introduce a translation tag for the IOMMU page table cache
Support Supm and Sspm as part of Zjpm v1.0
Machines
Deprecate the default RISC-V machine
Add Tenstorrent Ascalon CPU
Support for RV64 Xiangshan Nanhu CPU
Add AIA userspace irqchip_split support
Add Microblaze V generic board
Support 64-bit address of initrd
Add V bit to GDB priv reg
Fixes and Misc
Correct the validness check of iova
Fix APLIC in_clrip and clripnum write emulation
Upgrade ACPI SPCR table to support SPCR table revision 4 format
Fix timebase-frequency when using KVM acceleration
Convert htif debug prints to trace event
s390x
Add feature definitions and CPU model for the generation 17 mainframe CPU
Add support for virtio-mem on s390x
Fix CPU emulation bugs with the PPNO and MCV instructions
Allow bypassing IOMMU for PCI devices for enhanced performance
x86
Faster emulation of string instructions.
ClearwaterForest cpu model
SierraForest-v2 cpu model (for changes vs V1 see commit c597ff5339)
ACPI / SMBIOS
Workaround 'PCI Label Id' Windows bug, which is normally harmless but on
localized versions can lead to guest hangs (commit 0b053391985)
Block devices
The 'virtio-scsi' device has gained true multiqueue support where different
queues of a single controller can be processed by different I/O threads
(this catches up to the `virtio-blk` support that was added in QEMU 9.0).
This can improve scalability in cases where the guest submitted enough
I/O to saturate the host CPU running a single I/O thread processing the
virtio-scsi requests. Multiple I/O threads can be configured using the
new 'iothread-vq-mapping' property.
Add new handshake-max-seconds optional parameter to nbd-server-start QMP
command, and counterpart --handshake-limit option to qemu-nbd. This
allows fine-tuning the duration allowed for client negotiation during
integration testing.
qemu-nbd no longer hangs on exit when run as a daemon (the --fork
command-line option) when qemu is built with the simple trace backend.
Graphics
Add new 'apple-gfx-pci' and 'apple-gfx-mmio' devices which use the macOS
host's ParavirtualizedGraphics.framework to provide accelerated graphics
to macOS guests. 'apple-gfx-pci' is intended for use on x86-64,
'apple-gfx-mmio' replicates the graphics device implemented by the
Virtualization.framework from the aarch64 version of macOS.
IPMI
Multiple different internal BMCs are now supported.
The "Get Channel Info" command is now implemented in the internal BMC.
Add support for the "don't log" flag in the set watchdog command. This
will prevent watchdog timer events being added to the IPMI event log.
Return an error if invalid bits are set in the "Set BMC Global Enables"
command in the internal BMC.
VFIO
Improved support for IGD passthrough on all Intel Gen 11 and 12 devices
Refactored dirty tracking engine to include VFIO state in calc-dirty-rate
Improved error reporting for MMIO region mapping failures
Improved property documentation
Implemented basic PCI PM capability backing
Added multifd support for VFIO migration
Added support for old ATI GPUs (x550)
Deprecated vfio-plaform
Misc fixes
virtio
virtio-mem is now also supported on s390x
virtio-balloon guests stats are now cleared (set to zero) upon
device/machine reset.
9pfs
Fix a regression regarding CVE-2023-2861 with security_model=passthrough
which caused certain sockets on guest to fail (bug #2337, commit b5e3f63a).
multidevs=remap is new default behaviour (see commit a2f17bd4).
Audio
-audio dbus learned "nsamples" option, to set number of samples per
read/write
Character devices
"hub": new chardev, aggregate multiple chardev backends
GUI
VC: add support for cursor DECSC and DECRC commands
VC: implement DCH (delete) and ICH (insert) commands
VC: various parsing/display fixes
GDBStub
linux-user processes can defer connection using -g <port>,suspend=n
TCG Plugins
core plugin code is now only built once
Migration
Fixed regressions in s390x (#2704) and pre-9.0 to post-9.1 migrations with
multifd capability (#2720)
Fixed long-standing bug with paused VMs (#686)
New migration mode "cpr-transfer" to support live updates (documentation).
Block device backends and tools
The Linux AIO and io_uring backends can now make use of the RWF_DSYNC flag
for FUA write requests instead of emulating it with a normal write
followed by an fdatasync() call. This can improve performance for guest
disks with disabled write cache significantly (cache=writethrough and
cache=directsync result in such configurations), in particular if the
host disk is already operating in a write through cache mode.
The user can now actively manage if nodes are active or inactive. Amongst
others, this is required to perform safe live migration with a
qemu-storage-daemon based backend. It also allows starting block device
operation on the live migration destination of a paused VM without first
resuming the VM (which was previously the only way to activate images).
The vpc block driver has been fixed to handle VHD images exported from
Azure more correctly
runtime
Improved networking emulation regarding netlink and multicast
PowerPC
Added /proc/cpuinfo file emulation
Guest agent
Implement a 'guest-get-load' command (Linux only)
Don't daemonize before the channel is initialized
This changes the exit code when QGA fails with the daemonize option
Optimize the freeze-hook script logic of logging errors
Log to syslog if the file log is unavailable
fsfreeze command: Skip bind mounts in the FS list
Documentation
All QEMU Machine Protocol (QMP) interface documentation (QEMU, QEMU Storage
Daemon, QEMU Guest Agent) pages have been drastically overhauled,
featuring a new look and layout.
New QMP reference indices have been added per-API: QEMU QMP Index,
QEMU Storage Daemon QMP Index, and QEMU Guest Agent QMP Index. The
indices are sorted both per-type (Commands, Events, data types) and
alphabetically; providing a convenient one-page reference for all
available Commands and Events for a given interface.
All Commands, Events, and all documentation-referenced types are now
cross-reference-able; with clickable cross-references inserted in many
cases to make navigating complex commands, events, and types much easier.
References that aren't generated from metadata but are instead
"hardcoded" in the source documentation have not yet been converted, but
all generated references have been. (i.e. all type names for
arguments/members, return values, and "The members of..." pointers are
now clickable.)
Some return types are still omitted where they are undocumented, but this
will be rectified for next release.
Some build-time conditional information ("if", "ifcond") is temporarily
missing from the new documentation. For commands, events, or
members/values/arguments that are only conditionally available, please
consult the runtime introspection data to determine availability for a
given binary, as per usual. This will also be rectified for the next
release.
Support for device models written in the Rust programming language is still
considered experimental, and does not have full feature parity compared to
QEMU binaries that are compiled with --disable-rust. However, it has matured
enough that developing new devices can (almost entirely) be done in the safe
subset of Rust.
For now, binaries compiled with --enable-rust link statically to Rust libstd.
This is not suitable for e.g. Linux distributions but could be okay for other,
special purpose distributions of QEMU.
The current minimum supported Rust version is 1.63.0, with plans to move to
1.77.0. This means that:
--enable-rust does not work with Debian bullseye's rustc packages.
in the future, --enable-rust will not support Debian bookworm's rustc for
the mips64el architecture, and will require the rustc-web package for
other architectures.
Debian bullseye and bookworm otherwise remains supported platforms for QEMU;
Debian bullseye will cease to be a supported platform as soon as Debian
trixie is released.
Testing and CI
updated baseline tuxrun tests to 19/11/2024 images
added new test for virtio-vulkan (needs upto date build with access to dri)
qtest clock_set and clock_step now check return values
riscv64 cross compile now based on trixie
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Thu, 19 Jun 2025 20:20:44 +0000 (22:20 +0200)]
libvirt: Update to version 11.4.0
- Update from version 10.10.0 to 11.4.0
- Update of rootfile
- Changelog
11.4.0
New features
qemu: ppc64 POWER11 processor support
Support for the recently released IBM POWER11 processor was added.
Packaging changes
All helper programs are now detected from $PATH during runtime
All of the code was now converted to dynamically look up helper programs in
$PATH rather than doing the lookup at build time and then compiling in the
result.
Programs mount, umount, mkfs, modprobe, rmmod, numad, dmidecode, ip, tc,
mdevctl, mm-ctl, iscsiadm, ovs-vsctl, pkttyagent, bhyveload, bhyvectl, bhyve,
ifconfig, vzlist, vzctl, vzmigrate, and the tools from the lvm suite
(vgchange, lvcreate, etc..) are now not needed during build and will still
work properly if placed in $PATH.
This also ensures that libvirt works correctly on distros that are
transitioning /sbin into /bin and upgraded installations have a different
layout from fresh installations.
Improvements
virsh: Add option --no-pkttyagent
That option suppresses registration of pkttyagent with polkitd.
bhyve: support NVRAM configuration for UEFI firmwares
The bhyve driver now supports specifying NVRAM store file, such as:
<os firmware='efi'>
<nvram/>
</os>
qemu: Improve accuracy of FDC/floppy device support statement in capabilities XML
The data is now based on the presence of the controller in qemu rather than
just a denylist of machine types where floppies not work.
Bug fixes
qemu: Fix failure when reverting to internal snapshots
A regression in libvirt-11.2 and libvirt-11.3 prevents reverting to an
internal snapshot. Attempts to revert would produce the following error:
error: operation failed: load of internal snapshot 'foo1' job failed: Device
'libvirt-1-format' is writable but does not support snapshots
The only workaround is to avoid the broken versions.
qemu: Fix virtqemud crash when resuming failed post-copy migration
A regression introduced in libvirt-11.2.0 caused virtqemud on the destination
host to crash when trying to resume failed post-copy migration.
qemu: Treat the queues configuration of virtio-net as guest ABI
The queue count itself isn't a device frontend property but libvirt uses it to
calculate vectors option of the device which is a guest OS visible property,
thus queues must not change during migration. The ABI stability check now
handles this properly.
11.3.0
Removed features
Support for AppArmor versions prior to 3.0.0 has been dropped.
New features
xen: Support configuration of <hyperv/> flags for Xen domains.
The following flags are now configurable for Xen: vapic, synic, stimer,
frequencies, tlbflush and ipi.
bhyve: Support virtio random number generator devices
Domain XMLs can now include virtio random number generator devices. They are
configured with:
<rng model='virtio'>
<backend model='random'/>
</rng>
bhyve: Support <interface type='network'>
At the moment it doesn't provide any new features compared to
<interface type='bridge'>, but allows a more flexible configuration.
Bug fixes
cpu_map: Install Ampere-1 ARM CPU models
The Ampere-1 CPU models added in the previous release were not properly
installed and thus every attempt to start an ARM domain with custom CPU
definition would fail.
storage: Fix new volume creation
No more errors occur when new storage volume is being created using virsh
vol-create with --validate option and/or virStorageVolCreateXML() with
VIR_VOL_XML_PARSE_VALIDATE flag.
Don't spam logs with error about qemu-rdp when starting a qemu VM
On hosts where the qemu-rdp binary is not installed a start of a VM would
cause an error such as
error : qemuRdpNewForHelper:103 : 'qemu-rdp' is not a suitable qemu-rdp helper
name: No such file or directory
to be logged in the system log. It is safe to ignore the error. The code was
fixed to avoid the message when probing for support.
Fix libvirt daemon crash on failure to hotplug a disk into a qemu VM
Some failures of disk hotplug could cause the libvirt daemon to crash due to a
bug when rolling back disk throttling filters.
11.2.0
Removed features
Remove support for qemu-6.1 and older
Libvirt now requires qemu-6.2 or newer based on our platform support policy.
New features
qemu: Add new 'image_format' parameter to virDomainSaveParams
virDomainSaveParams now supports an image_format parameter for specifying the
save image format on a per-domain basis. The parameter accepts the same
values as the driver-wide save_image_format setting in qemu.conf. An image
format specified via virDomainSaveParams takes precedence over the
driver-wide setting.
qemu: Added guest load averages to the output of virDomainGetGuestInfo
This feature will be available with qemu guest agent 10.0 onwards.
qemu: Add support for multiple iothreads for virtio-scsi controller
It's now possible to map multiple iothreads to the virtio-scsi controller or
even map them to specific virtqueues similarly to the virtio-blk device
allowing for better performance in certain scenarios.
qemu: integrate support for VM shutdown on host shutdown
It is now possible to instruct the QEMU driver to automatically perform
managed save, graceful shutdown, or hard poweroff on running VMs, when a host
shutdown is requested. This feature is intended to eventually replace usage
of the libvirt-guests script. The new approach improves on the libvirt-guests
script, by proactively monitoring logind for a signal that a host shutdown
has been requested. It will initiate the chosen action on running guests
immediately, allowing shutdown inhibitors to be released sooner. The new
solution is also able to iteratively try multiple actions until one of them
succeeds in shutting down the VM.
Since it must be mutually exclusive with the libvirt-guests script, this
feature currently requires a manual opt-in through editing of the
/etc/libvirt/qemu.conf configuration file. The libvirt-guests script must be
disabled before doing this.
qemu: Add 'sparse' as a new save image format
QEMU's file migration has been supplemented with the new stream format
mapped-ram, where RAM pages are mapped directly to offsets in the migration
file. mapped-ram is now supported by augmenting the existing save image
formats with the sparse format.
qemu: Add support for parallel save/restore
The sparse image format can support reading and writing by multiple channels.
virDomainSaveParams and virDomainRestoreParams now support specifying the
number of IO channels used for parallel save and restore. Using multiple
channels can reduce the time required to save and restore domains.
virsh: Introduce new hypervisor-cpu-models command
Added a new virsh command hypervisor-cpu-models. The command pulls from the
existing domcapabilities XML and uses xpath to parse CPU model strings. By
default, only models reported as usable by the hypervisor on the host system
are printed. A user may specify --all to also print models which are not
supported on the host.
qemu: Introduce os/shim element
For secure boot environments where <loader/> is signed, it may be unfeasible
to keep the binary up to date (esp. when revoking certificates contained
within). To address that, new <shim/> element is introduced which allows
hypervisor to side load another UEFI binary, which can then contain new
certification authorities and/or list of revocations.
ch: Enable SEV SNP support
Cloud Hypervisor guests can be now started with SEV SNP enabled.
qemu: Support for Block Disk Along with Throttle Filters
Introduce support for multiple throttle groups per block disk in QEMU,
enhancing I/O control and performance optimization. This update builds on the
existing throttling functionality by allowing more granular control with the
ability to assign different throttle groups to multiple block devices,
improving shared throttling across devices.
Improvements
qemu: Improved guest agent corner case error reporting
The APIs using the guest agent now report two specific error codes aimed at
helping management applications/users to differentiate between timeout while
libvirt was synchronizing with the guest agent and timeout after a command
was already sent.
The new error codes are VIR_ERR_AGENT_COMMAND_TIMEOUT and
VIR_ERR_AGENT_COMMAND_FAILED.
qemu: Use common check for shared memory use for vhost-user network devices
Historically libvirt printed only a warning if the vhost-user network was
misconfigured. Since we enforce proper configuration for other device types
using vhost-user it is now enforced also for network devices and prints an
actual error on misconfiguration.
Introduce constants for discoverability of entries in bulk stats APIs
Libvirt introduced constants exposed by our API description XML which allows
discoverability of new entries in typed parameter names returned by
virConnectGetAllDomainStats, virDomainListGetStats, and virDomainGetGuestInfo.
qemu: Reflect MAC address change in live domain XML
When a guest changes MAC address on one of its vNICs the new MAC address is
now visible in the live XML under currentAddress attribute of <mac/> element.
At the same time, VIR_DOMAIN_EVENT_ID_NIC_MAC_CHANGE event is emitted so that
management applications can update their internal state.
Bug fixes
qemu: attach virtio-mem with CCW address
Attaching a virtio-mem device on s390 without an address type now gets a
default type CCW address assigned. A specified CCW address is now used for
the virtio-mem device instead of getting overwritten by a PCI address.
ch: Various memory leak fixes
There were some memory leaks identified in the Cloud Hypervisor driver. They
are fixed now.
11.1.0
Packaging changes
De-modularize the 'fs' storage file backend
The storage file backend for local files uses only code which we compile into
the internal libraries anyways so there's no point in having it as a loadable
module. The storage-file/libvirt_storage_file_fs.so module no longer exists
and its functionality is embedded directly.
Removed features
vbox: removed support for version 6.1 APIs
Libvirt no longer supports use of VirtualBox 6.1 since this version reached
its end of life on 2024/01.
New features
nodedev: Support ccwgroup based qeth devices
CCW group devices are devices that use multiple subchannels on the mainframe's
channel subsystem. A qeth group device maps to subchannels and their
corresponding device numbers and device bus-IDs. The ccwgroup device nodes
are placed besides the subchannel nodes under computer and list the group
members within a new ccwgroup capability. A new capability ccwgroup_member is
added into capability ccw to represent a device membership to a ccwgroup.
Filters are added to find ccwgroups as well as ccwgroup members.
ch: Support handling events from cloud-hypervisor
The ch driver now supports handling events from the cloud-hypervisor. Events
include VM lifecyle operations such as shutdown, pause, resume, etc. Libvirt
will now read these events and take actions such as updating domain state, etc.
Introduce virtio-mem <memory/> model for s390 guests
The virtio-mem model of <memory/> device can now be used with s390 guests.
Support using passt as the backend for interface type='vhostuser'
The combination of vhostuser transport with passt as the backend provides high
performance, fully featured networking without the need for libvirt or QEMU
to have any elevated privileges or capabilities. Configuration and features
are identical to the configuration for type='user' with the passt backend.
Improvements
qemu: I/O error messages can be queried via virDomainGetMessages()
The qemu hypervisor driver now preserves the last I/O error message along with
the timestamp when it was recorded and preserves it to be queried via
virDomainGetMessages().
Bug fixes
tools: ssh-proxy: Check if domain is running before connecting to it
If domain is not running but has a static CID configured for its VSOCK then
the ssh-proxy parsed it anyways. This may have resulted in mistakenly
connecting to a different domain. Domain status is checked before parsing its
CID.
apparmor: Allow SGX if configured
If domain has <memory model='sgx-epc'\> configured then libvirt now adds
corresponding devices into a per-domain profile so that AppArmor does not
deny QEMU access to them.
qemu: Fix crash when starting a domain on a host with unknown host CPU
On hosts where we cannot detect a host CPU model (mostly aarch64 hosts)
starting a domain with a custom CPU model caused a crash of virtqemud.
The bug was introduced in libvirt-10.9.0
11.0.0
New features
network/qemu/lxc: support vlans on standard Linux host bridges
The network, qemu, and lxc drivers now support (using the <vlan> subelement)
vlan tagging and trunking on network interfaces connected to a standard Linux
host bridge.
qemu: Add support for direct and extended tlbflush features
Domains can now utilise more tlbflush hyperv features.
Improvements
ch: Enable user aliases
User can now specify custom aliases for devices in domain XML
qemu: Grab a QUERY job when formatting domain XML
Under some specific conditions it might have happened that domain XML did not
contain runtime information or returned an XML that's in process of changing
(e.g. by a thread that's hotplugging a device). Formatting domain XML now
serializes properly with other threads.
virtiofs: Allow read only mode
The <filesystem/> with virtiofsd backend can now use <readonly/> tag to export
underlying filesystem in read only mode.
qemu: allow migration of vGPU from mdev device <-> SRIOV VF device
Some GPU vendors are switching from using vGPUs creating using mdev and
identified with a uuid, to vGPUs created as SRIOV VFs and identified by their
PCI address, and want to support live migration from a host using one type of
vGPU to the other type. This is now possible.
Bug fixes
qemu: tpm: do not update profile name for transient domains
Fix a possible crash when starting a transient domain which was introduced in
the previous release.
qemu: Fix snapshot to not delete disk image with internal snapshot
When a VM has internal snapshot that is parent to external snapshot and user
reverts to the internal snapshot and deletes the external snapshot libvirt
would delete the disk image containing the internal snapshot. This would
result in data loss.
qemu: Do not format invalid XML with hyperv features in passthrough mode
When hyperv features were specified together with mode="passthrough" libvirt
parsed and formatted such features in the domain XML even though they were
not used at all, resulting in XML that is not valid based on our schema. This
is now fixed by not parsing any specified features when the passthrough mode
is used.
qemu: Fix a crash when starting a domain with ovs bridge and QOS
cpu: Add missing -v1 variants for CPU models
Some CPU models (mostly old ones) were missed when versioned CPU model names
were introduced in the previous release.
qemu: Fix false error when recovering failed post-copy migration
In some cases libvirt would report a failure to recover post-copy migration
even though the recovery started just fine and migration would eventually
successfully finish.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Thu, 19 Jun 2025 12:03:29 +0000 (14:03 +0200)]
clamav: Update to version 1.4.3
- Update from version 1.4.2 to 1.4.3
- Update of rootfile not required
- Changelog
1.4.3
- [CVE-2025-20260](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-20260):
Fixed a possible buffer overflow write bug in the PDF file parser that could
cause a denial-of-service (DoS) condition or enable remote code execution.
This issue only affects configurations where both:
1. The max file-size scan limit is set greater than or equal to 1024MB.
2. The max scan-size scan limit is set greater than or equal to 1025MB.
The code flaw was present prior to version 1.0.0, but a change in version
1.0.0 that enables larger allocations based on untrusted data made it
possible to trigger this bug.
This issue affects all currently supported versions.
Thank you to Greg Walkup at Sandia National Labs for identifying this issue.
- [CVE-2025-20234](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-20234):
Fixed a possible buffer overflow read bug in the UDF file parser that may
write to a temp file and thus disclose information, or it may crash and
cause a denial-of-service (DoS) condition.
This issue was introduced in version 1.2.0. It will be fixed in 1.4.3.
Thank you to volticks (@movx64 on Twitter/X), working with Trend Micro Zero
Day Initiative, for identifying this issue.
- Fixed a possible use-after-free bug in the Xz decompression module in the
bundled lzma-sdk library.
This issue was fixed in the lzma-sdk version 18.03. ClamAV bundles a copy
of the lzma-sdk with some performance changes specific to libclamav, plus
select bug fixes like this one in lieu of a full upgrade to newer lzma-sdk.
This issue affects all ClamAV versions at least as far back as 0.99.4.
Thank you to OSS-Fuzz for identifying this issue.
- Windows: Fixed a build install issue when a DLL dependency such as libcrypto
has the exact same name as one provided by the Windows operating system.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Matthias Fischer [Tue, 17 Jun 2025 20:39:16 +0000 (22:39 +0200)]
nano: Update to 8.5
For details see:
https://www.nano-editor.org/news.php
"Anchors are now saved when a file is closed, and restored when
the file is reopened -- if and when --positionlog is active.
Nano exits with an error status upon keystrokes ^O^Q and ^X^Q.
Keystroke ^L just centers the cursor, while M-% cycles it.
Option --whitespace is accepted, but left undocumented.
Syntax coloring now works correctly in more locales."
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 15 Jun 2025 12:52:28 +0000 (13:52 +0100)]
wireguard: Don't use fwmarks for the gateways
This slightly conflicts with the reverse path filter which does not seem
to consider the mark and therefore does not resolve to the correct route.
There is not too much benefit of using the mark, except its elegance, a
more accurate lookup and that we were hiding a direct route to the
gateway from the clients.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 15 Jun 2025 12:52:28 +0000 (13:52 +0100)]
wireguard: Don't use fwmarks for the gateways
This slightly conflicts with the reverse path filter which does not seem
to consider the mark and therefore does not resolve to the correct route.
There is not too much benefit of using the mark, except its elegance, a
more accurate lookup and that we were hiding a direct route to the
gateway from the clients.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Mon, 9 Jun 2025 13:32:28 +0000 (15:32 +0200)]
red: Update to use ip in place of deprecated vconfig
- I noticed that the vlan package was last updated in 2005 and that the vconfig site said
that 802.1Q VLAN code is part of the official kernel, and has been for years and
years. It is very unlikely that you need to download anything from this site, the
packages are left here for posterity's sake. 802.1Q VLANs can be created with the
'ip' utility (vconfig works for vlans, but is crufty and deprecated).
- Based on this it seemed appropriate to replace the vconfig commands with ip commands.
- This patch set has been sent as an RFC PATCH as my replacement ip commands may or may
not be correct and I am unable to test the effect as I do not have a pppoe connection
using vlans.
- I am open to any modifications or any other decision with reagard to the vlan package
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sat, 14 Jun 2025 15:43:45 +0000 (17:43 +0200)]
libffi: Update to version 3.5.1
- Update from version 3.4.8 to 3.5.1
- Update of rootfile
- Changelog
3.5.1
Downgrade Autoconf requirement to version 2.68 by @kleisauke in #922
Fix symbol versioning error.
3.5.0
Add FFI_VERSION_STRING and FFI_VERSION_NUMBER macros, as well
as ffi_get_version() and ffi_get_version_number() functions.
Add ffi_get_default_abi() and ffi_get_closure_size() functions.
Fix closures on powerpc64-linux when statically linking.
Mark the PA stack as non-executable.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sat, 14 Jun 2025 15:43:44 +0000 (17:43 +0200)]
fetchmail: Update to version 6.5.3
- Update from version 6.5.2 to 6.5.3
- Update of rootfile not required
- Changelog
6.5.3
BUGFIXES:
* IMAP: Reinstate workaround for missing IDLE support if --idle is requested.
This had been a long-standing feature but got broken in fetchmail 6.4.22
(commit 616e8c70). Thanks to Lukáš Tesař for the detailed report including
a Git bisect that identified this faulty commit. Fixes Gitlab issue #69.
* IMAP: Only print 'will idle after poll' if --idle is enabled
and either offered by the server, or forced through --forceidle.
This fixes a regression introduced in fetchmail 6.4.22 (commit 616e8c70).
TRANSLATIONS: fetchmail's translation was updated, courtesy of:
* es: Cristian Othón Martínez Vera [Spanish]
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Stefan Schantl [Thu, 12 Jun 2025 16:27:01 +0000 (18:27 +0200)]
fort-validator: New package
FORT Validator is an open source RPKI validator. It allows operators to validate BGP routing information
against the RPKI repository for use in router configuration and resolution.
This patch includes the LFS and rootfile to build the validator,
an initscript, required definitions for backup and an empty config file
for user customization.
Fixes #13845.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Tue, 10 Jun 2025 09:44:57 +0000 (11:44 +0200)]
samba: Update to version 4.22.2
- Update from version 4.22.0 to 4.22.2
- Update of rootfiles not required. Confirmed on all three architectures
- CVE fix in 4.22.2
- Changelog
4.22.2
* BUG 15707: (CVE-2025-0620) [SECURITY] CVE-2025-0620: smbd doesn't pick up
group membership changes when re-authenticating an expired SMB
session.
* BUG 15861: Profile sync fails due to Directory Leases.
* BUG 15727: net ad join fails with "Failed to join domain: failed to create
kerberos keytab".
* BUG 15851: dcerpcd not able to bind to listening port.
* BUG 15819: vfs_ceph_snapshots fails to list snapshots for entries at any
level beyond share root.
* BUG 15858: CTDB does not put nodes running NFS into grace on graceful
shutdown.
4.22.1
* BUG 15774: Running "gpo manage motd set" twice fails with backtrace.
* BUG 15829: samba-tool gpo backup creates entity backups it can't read.
* BUG 15839: gp_cert_auto_enroll_ext.py has problem unpacking GUIDs with
prepended 0's.
* BUG 15767: Deadlock between two smbd processes.
* BUG 15823: Subnet based interfaces definition not listening on all covered
IP addresses.
* BUG 15836: PANIC: assert failed at source3/smbd/smb2_oplock.c(156):
sconn->oplocks.exclusive_open>=0.
* BUG 15727: net ad join fails with "Failed to join domain: failed to create
kerberos keytab".
* BUG 15774: Running "gpo manage motd set" twice fails with backtrace.
* BUG 15822: Enable support for cephfs case insensitive behavior.
* BUG 15791: Remove of file or directory not possible with vfs_acl_tdb.
* BUG 15841: Wide link issue in samba 4.22.
* BUG 15767: Deadlock between two smbd processes.
* BUG 15845: NT_STATUS_INVALID_PARAMETER: Can't create folders on share of an
exfat file system.
* BUG 15849: Lease code is not endian-safe.
* BUG 15818: vfs_ceph_new module does not work with other modules for
snapshot management.
* BUG 15834: vfs_ceph_new: Add path based fallback for SMB_VFS_FCHOWN,
SMB_VFS_FCHMOD and SMB_VFS_FNTIMES.
* BUG 15810: Add async io API from libcephfs to ceph_new VFS module.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 8 Jun 2025 20:35:07 +0000 (22:35 +0200)]
postfix: Update to version 3.10.2
- Update from version 3.10.1 to 3.10.2
- Update for rootfile not required
- Changelog
3.10.2
Bugfix (defect introduced: date 19991116): when appending a setting to a
main.cf or master.cf file that did not end in a newline character, the
"postconf -e" command did not add an extra newline character before
appending the new setting, causing information to become garbled. Fix
by Michael Tokarev.
Bugfix (defect introduced: Postfix 2.3, date 20051222): the Dovecot auth
client did not attempt to create a new connection after an I/O error on
an existing connection. Reported by Oleksandr Kozmenko.
Improved and corrected error messages when converting (host or service)
information to (symbolic text, numerical text, or binary) form.
Documentation: updated link to Dovecot documentation.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 8 Jun 2025 20:35:06 +0000 (22:35 +0200)]
libusb: Update to version 1.0.29
- Update from version 1.0.28 to 1.0.29
- Update of rootfile not required
- Changelog
1.0.29
* Fix regression on macOS leading to timeouts in enumeration
* LIBUSB_API_VERSION bump for the new functions in 1.0.28
* Fix xusb regression displaying wrong error on claim failure
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 8 Jun 2025 20:35:03 +0000 (22:35 +0200)]
curl: Update to version 8.14.1
- Update from version 8.14.0 to 8.14.1
- Update of rootfile not required
- Changelog
8.14.1
Bugfixes:
o asyn-thrdd: fix cleanup when RR fails due to OOM [20]
o autotools: recognize more Linux targets when setting `-D_GNU_SOURCE` [35]
o BUG-BOUNTY.md. mention the medium bounty amount in 2025 [5]
o cmake: fix missed version number for multi-pkg-config detections [14]
o cmdline-docs: mention HTTP resumed uploads to be shaky [21]
o curl: make -N handled correctly [34]
o curl: upload from '.' fix [9]
o dllmain: exclude from Cygwin builds [32]
o docs/tests: remove mention of hyper [23]
o docs: fix typos [12]
o ftp: fix teardown of DATA connection in done [31]
o http: fail early when rewind of input failed when following redirects [2]
o license: update some copyright links to curl.se [24]
o memanalyze.pl: fix getaddrinfo/freeaddrinfo checks [25]
o misc: fix spelling [15]
o misc: we write *an* IPv6 address [10]
o multi: fix add_handle resizing [3]
o spelling: 'a' vs 'an' [8]
o spelling: call it null-terminate consistently [6]
o test1510: fix expectation [19]
o tests: await portfile to be complete [1]
o tests: fix checks for https-mtls proto [30]
o tests: improve server start reliability [18]
o tests: move test docs into /docs [16]
o tests: re-enable 1510, document heimdal memleak [22]
o tests: test mtls also w/ clientAuth EKU only [28]
o tests: test mtls with --insecure [29]
o tls BIOs: handle BIO_CTRL_EOF correctly [33]
o tool_getparam: make --no-anyauth not be accepted [13]
o tool_getparam: refactored, simplified [4]
o tool_getparam: remove two nextarg NULL checks [11]
o VULN-DISCLOSURE-POLICY.md: the distros list wants <= 7 days embargo [26]
o wolfssl: fix sending of early data [7]
o ws: handle blocked sends better [27]
o ws: tests and fixes [17]
Planned upcoming removals include:
o Support for the msh3 HTTP/3 backend
o Supporting curl builds using VS2008
o The Secure Transport and BearSSL TLS backends
o The winbuild build system
o Windows CE support
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sun, 8 Jun 2025 20:35:02 +0000 (22:35 +0200)]
automake: Update to version 1.18
- Update from version 1.17 to 1.18
- Update of rootfile
- Changelog
1.18
* New features added
- Default tar format is now ustar, mainly to support longer filenames;
the tar-v7 and other explicit options to force a particular tar
format are unchanged and still override the default. (bug#74847)
- The mdate-sh auxiliary script generally used with Texinfo now uses
SOURCE_DATE_EPOCH, if set, instead of the source file's mtime. (bug#77805)
- New option dist-bzip3 for bzip3 compression of distributions. (bug#73795)
- New option --stderr-prefix for tap-driver.sh, to prefix each line of
stderr from a test script with a given string. (bug#72536)
- Support for Algol 68 added, based on the GNU Algol 68 compiler. (bug#75807)
* Bugs fixed
- Do not make Perl warnings fatal, per Perl's recommendation.
(https://lists.gnu.org/archive/html/automake/2025-01/msg00003.html)
- Avoid Perl 5.41.8+ precedence warning for use of !!.
(https://lists.gnu.org/archive/html/automake/2025-01/msg00000.html)
- a Perl path containing whitespace now emits a warning instead of
an error, so ./configure PERL='/usr/bin/env perl' can work. (bug#74453)
- The py-compile script once again does nothing (successfully) if the
PYTHON environment variable is set to ":", or anything that isn't a
Python interpreter (according to $PYTHON -V). Exception: if PYTHON
is set to "false", do nothing but exit unsuccessfully, also to match
previous behavior. (bug#74434)
- The no-dist-built-sources Automake option now operates (hopefully) as
intended, i.e., omits the dependency on $(BUILT_SOURCES) for the
distdir target. (bug#69908)
- Only warn about install.sh being found, instead of it being a fatal
error. (bug#19964)
- The compile script is more robust to Windows configurations;
specifically, avoids double-path translation on MSYS. (bug#75939)
- The test infrastructure sets the CONFIG_SITE environment variable to
/dev/null, to avoid the local system's Autoconf site defaults from
breaking the test environment. (bug#76622)
- AM_SILENT_RULES once again always ends with a newline. (bug#72267)
- AM_SANITY_CHECK now outputs "no" on failure, so that a complete line
is written to stdout before the error message is written to stderr.
(bug#76448)
* Miscellaneous changes
- Only require the presence of an ABOUT-NLS file at the 'gnits'
strictness level.
(https://lists.gnu.org/archive/html/automake/2024-10/msg00006.html)
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Sat, 7 Jun 2025 21:38:51 +0000 (23:38 +0200)]
sqlite: Update to version 3.50.1
- Update from version 3.50.0 to 3.50.1
- Update of rootfile
- Changelog
3.50.1
Fix a long-standing bug in jsonb_set() and similar that was exposed by new
optimizations added in version 3.50.0.
Fix an apparently harmless ASAN warning that can occur on builds that use
-DSQLITE_DEFAULT_MEMSTATUS=0.
Fix an off-by-one bug in sqlite3_rsync that can result in the last page not
being transferred for the replicate database.
Query planner optimization: Allow the right-hand side of a LEFT JOIN to be
flattened even if it is a virtual table.
Fix sqlite3_setlk_timeout() to use a blocking lock when opening a snapshot
transaction and when block by another process running recovery.
Other minor fixes that were reported after the 3.50.0 release.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Thu, 12 Jun 2025 11:56:43 +0000 (13:56 +0200)]
es.pl: Change back all html &codes in the Spanish lang file to accented chars
- An issue was identified in the forum by @Roberto pressing the Locations Group page
button on the Firewall Groups page caused the Locations Group page to not be shown
correctly in CU195 Testing.
- After investigation I found that the CU195 Spanish language file patch set had changed
many, if not all, of the characters with accents into their html & codes. This worked
in terms of showing the correct text in the WUI page but when the cgi page did a
string comparison with the text that was displayed on the html page with the text in
the language file they did not match as Grupos de ubicación was compared with
Grupos de ubicación which of course did not match.
- To keep all of @Robertos WireGuard Spanish translations this patch set changes all the
html & codes back to the actual accented characters.
- Tested out on my vm testbed and the cgi code worked again.
- None of the other language files that I looked at (French, German, Italian and
Turkish) are using the html & codes for accented characters. They are all using the
actuall accented characters themselves.
Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 26 Apr 2025 14:36:18 +0000 (14:36 +0000)]
cdrom: Disable modesetting in text mode
This is just a precaution for users which have broken graphics. This
way, the kernel should keep the simple VGA text console without actually
switching on high resolutions.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Thu, 5 Jun 2025 10:29:29 +0000 (12:29 +0200)]
tshark: Update to version 4.4.7
- Update from version 4.4.6 to 4.4.7
- Update of rootfile
- CVE fix in this release
- Changelog
4.4.7
The following vulnerabilities have been fixed:
wnpa-sec-2025-02 Dissection engine crash. Issue 20509. CVE-2025-5601.
The following bugs have been fixed:
Wireshark does not correctly decode LIN "go to sleep" in TECMP and CMP.
Issue 20463.
Dissector bug, Protocol CIGI. Issue 20496.
Green power packets are not dissected when
proto_version == ZBEE_VERSION_GREEN_POWER. Issue 20497.
Packet diagrams misalign or drop bitfields. Issue 20507.
Corruption when setting heuristic dissector table UI name from Lua.
Issue 20523.
LDAP dissector incorrectly displays filters with singleton "&" Issue 20527.
WebSocket per-message compression extentions: fail to decompress server
messages (from the 2nd) due to parameter handling. Issue 20531.
The LL_PERIODIC_SYNC_WR_IND packet is not properly dissected
(packet-btle.c) Issue 20554.
Updated Protocol Support
AT, BT LE LL, CIGI, genl, LDAP, LIN, Logcat Text, net_dm, netfilter,
nvme, SSH, TCPCL, TLS, WebSocket, ZigBee, and ZigBee ZCL
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
For details see:
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.2.4
"compat: use timingsafe_bcmp if available
IPv6: Sort routers by reachability correctly.
definitions: define ND Route Information option
IPv6: Clear previous address RA flags on receipt of a RA."
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Tue, 3 Jun 2025 12:18:35 +0000 (14:18 +0200)]
sqlite: Update to version 3.50.0
- Update from version 3.49.2 to 3.50.0
- Update of rootfile
- Changelog
3.50.0
Add the sqlite3_setlk_timeout() interface which sets a separate timeout,
distinct from the sqlite3_busy_timeout(), for blocking locks on builds that
support blocking locks.
The SQLITE_DBCONFIG_ENABLE_COMMENTS constraint (added in the previous release)
is relaxed slightly so that comments are always allowed when reading the
schema out of a pre-existing sqlite_schema table. Comments are only blocked
in new SQL.
New SQL functions:
unistr()
unistr_quote()
For the %Q and %q conversions in the built-in printf() (which covers the
sqlite3_mprintf() API and the format() SQL function and similar) the
alternate-form-1 flag ("#") causes control characters to be converted into
backslash-escapes suitable for unistr().
CLI enhancements:
Avoids direct output of most control characters.
The output of the .dump command makes use of the new unistr() SQL funtion
to encode special characters, unless the --escape mode is set to off.
Better formatting of complex partial indexes in the output from the
".schema --indent" command.
Enhancements to sqlite3_rsync:
The requirement that the database be in WAL mode has been removed.
The sync protocol is enhanced to use less network bandwidth when both
sides start out being very similar to one another.
The sqlite3_rsync program now works on Macs without having to specify the
full pathname of the sqlite3_rsync executable on the remote side as long
as you install the sqlite3_rsync executable in one of these directories:
$HOME/bin:/usr/local/bin:/opt/homebrew/bin
Changes to JSON functions:
Bug fix: Enforce the JSON5 restriction that the "\0" escape must not be
followed by a digit.
Bug fix: When the LABEL argument to json_group_object(LABEL,VALUE) is NULL,
that element of the resulting object is omitted.
Optimization: If the jsonb_set() or jsonb_replace() functions make a change
in the interior of a large JSONB object, they strive to keep the size of
the JSONB object unchanged and to modify as few bytes as possible on the
interior of the object. This helps reduce I/O as it allows SQLite to write
only the page that contains the changed bytes and not all the surrounding
pages.
Improved support for building on Cygwin and MinGW and similar, as well as Termux.
Typo fixes in the documentation and in the source code comments.
Miscellaneous performance improvements.
JavaScript/WASM:
Fix a long-standing filename digest calculation bug in the OPFS SAHPool VFS.
Databases created in that VFS by 3.50.0+ cannot be read by older
versions of the VFS, but 3.50.0 can backwards-compatibly work with
existing databases created by older versions.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Tue, 3 Jun 2025 12:18:34 +0000 (14:18 +0200)]
smartmontools: Update to version 7.5
- Update from version 7.4 to 7.5
- Update of rootfile not required
- Changelog
7.5
- CI and release builds are now reproducible if same SOURCE_DATE_EPOCH,
build recipes and toolchains are used.
- smartctl '-j -A': New JSON value 'endurance_used' (ATA/SCSI/NVMe).
- smartctl '-j -A': New JSON value 'spare_available' (ATA/NVMe).
- smartctl '-j -i': Re-added the JSON value 'model_name' also for SCSI
devices (regression).
- smartctl '-j -c': NVMe support.
- smartctl '-j -n ...': New JSON values 'power_mode.*' (ATA only).
- smartctl '-H -A': Support for NVMe SMART/Health Information per
namespace.
- smartctl '-i': ATA ACS-6 updates.
- smartctl '-x': No longer includes '-g wcreorder'.
- smartctl '-x', '-l scterc': No longer returns exit status 4 if SCT ERC
is not supported by the device.
- smartctl '-l error': No longer prints bogus ATA error log entries if
the error index is nonzero but the error count is zero.
- smartctl '-l ssd': Fixed corruption of the output of the SCSI Format
Status log page.
- smartctl '-l ssd': Now detects 'no format since manufacture' from the
SCSI Format Status log page.
- smartctl '-l farm': Fixed the unit of 'Write Power On' time.
- smartctl '-l farm': Fixed the byte order of ATA 'Assembly Date'.
- smartctl '-l farm': Fixed a possible segfault.
- smartctl '-l farm -q noserial': Suppresses serial and WWN also from FARM.
- smartctl '-l farm -T permissive': Overrides false negative FARM support
check for rebranded drives.
- smartctl '-t TEST': Fixed self-tests of single namespace NVMe devices.
- smartd '-A': NVMe attribute log support.
- smartd: Ignores NSID in duplicate check of single namespace devices.
- smartd: No longer issues LOG_CRIT warnings for 'Set Feature' related
NVMe error information log entries.
- smartd: No longer hangs on systems with large file descriptor limits.
- smartd: No longer logs invalid "old test ... not run" messages if
staggered self-tests are used.
- smartd.conf '-l selftest[sts] -s ...': NVMe self-test support.
- smartd.conf '-H MASK': Ability to ignore specific bits of NVMe
SMART/Health value 'Critical Warning'.
- smartd.conf '-p': Checks NVMe SMART/Health value 'Available Spare'.
- smartd.conf '-u [-f]': Checks NVMe SMART/Health values 'Percentage Used'
and 'Media and Data Integrity Errors'.
- smartd.conf '-W ...': No longer includes individual sensors in NVMe
temperature check as some devices report other values there.
- ATA: Device type '-d jmb39x-q2,N' for another JMB39x protocol variant
used by QNAP-TR002 NAS devices.
- SCSI: Fixed range checks of mode page offset and VPD inquiry.
- SCSI: Fixed buffer overflow parsing of VPD page.
- SCSI: Fixed handling of multiple designators in VPD page.
- USB/NVMe: '-d sntjmicron' no longer triggers USB resets on queries of
the self-test log.
- USB/NVMe: '-d sntasmedia' now supports log pages > 512 bytes.
- USB/NVMe/SAT: New experimental NVMe/SAT autodetection options
'-d snt*/sat'.
- Fixed segfault on missing option argument on systems using musl libc.
- HDD, SSD and USB additions to drive database.
- automake < 1.13 are no longer supported.
- Custom make rules are now silenced if 'make V=0' is used.
- Enhanced makefile targets 'dist-*' to create reproducible source
tarballs if SOURCE_DATE_EPOCH is set.
- The makefile no longer uses GNU make specific syntax elements
(exception: reproducible builds for macOS).
- Dropped support for platforms without 'sigaction()'.
- configure: Now also detects MidnightBSD.
- configure: Dropped option '--with-signal-func'.
- configure: Default for '--with-nvme-devicescan' is now 'yes' also on
NetBSD.
- Version information is now also set if build from GH R/O mirror.
- Linux: 'smartd.service' now avoids a warning about an unset environment
variable.
- Linux: Dropped autodetection of deprecated device type '-d marvell'.
- macOS: Support for reproducible builds of the DMG image.
- OpenBSD: NVMe support.
- Windows: Increased WMI timeout.
- Windows: Support for reproducible builds of the installer.
- Windows: Uninstaller is no longer damaged if the installer is signed.
- Windows 'update-smartd-drivedb.ps1': Fixed call of 'gpg.exe' if it
appears more than once in the PATH.
- Windows 'update-smartd-drivedb.ps1 -Verbose': Now also prints the
download command.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Adolf Belka [Tue, 3 Jun 2025 12:18:33 +0000 (14:18 +0200)]
kbd: Update to version 2.8.0
- Update from version 2.7.1 to 2.8.0
- Update of rootfile
- Changelog
2.8.0
keymaps:
Add Georgian font (LatCyrHebKa-16_GIA.psfu) and keymap (i386/qwerty/ge).
Add new i386 azerty afnor keymap (i386/azerty/fr-afnor).
Disable characters >=U+F000 in qwertz/de_alt_UTF-8.
libkeymap:
Support KT_DEAD2 diacritics.
Fix memory leaks.
utils:
kbd_mode: support Disabled mode (K_OFF).
build-sys:
configure: Restore the old behavior when using gzip.
configure: Disable lex implementations other than flex.
other:
tests: Fix tests on powerpc.
tests: Add build and check on other architectures (x86_64, s390x, ppc64el).
tests: Add valgrind check in unit tests.
tests: Add sparse check and fix detected warnings.
tests: Add tests to increase code coverage.
tests: Check all distributed keymaps for loadability.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>