3 Commits
Author SHA1 Message Date
Sven Eckelmann f69876f1c6 alfred: update to version 2026.3
From upstream changelog
https://git.open-mesh.org/alfred.git/tree/CHANGELOG.rst:

* bugs squashed:
  - seed the random() generator for transaction IDs

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2026-09-01 08:39:10 +02:00
Josef SchlehoferandClaude Fable 5 2312f86f7e alfred: handle unreadable files in bat-hosts.lua
get_interface_address() calls io.open() and dereferences the result
without checking it. /sys/class/net does not contain interfaces
only: with the bonding module loaded it also holds the plain file
bonding_masters, which the `ls -1` in get_interfaces_names() returns
and which has no address below it. io.open() then returns nil and
the script dies with "attempt to index a nil value", so no bat-hosts
data is published at all on such a node.

Return nil when the file cannot be opened and skip those entries in
the caller, which would otherwise index the interface table with
nil. get_hostname() gets the same guard.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-18 08:39:34 +02:00
Josef SchlehoferandClaude Fable 5 d47aa37e76 alfred: add new package
alfred is a user space daemon for distributing arbitrary local
information (e.g. hostnames or vis data) over a batman-adv mesh
network in a decentralized fashion via IPv6 link-local multicast.

Moved from the openwrt/routing feed, as discussed in
https://github.com/openwrt/routing/issues/184.

The one deviation from the feed copy is SUBMENU:=Wireless, which the
feed copy does not set at all: without it the package sits ungrouped at
the top of the Network menu. Wireless keeps it next to mesh11sd and
batctl, which move across with the same value. A dedicated Mesh submenu
is the better home for all three and is worth adding once enough of the
mesh packages have landed to justify it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-18 08:39:34 +02:00