<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/olsrd, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-08-13T21:21:19Z</updated>
<entry>
<title>olsrd: record why the version check logs "Terminated"</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-10T07:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=61972dae3af03f5f8ac757b9520eb6f2ebe2eb21'/>
<id>urn:sha1:61972dae3af03f5f8ac757b9520eb6f2ebe2eb21</id>
<content type='text'>
olsrd leaves through olsr_exit(), which ends the process with
raise(SIGTERM) rather than returning from main, so the shell reports
"Terminated" right after the version banner even for a plain
`olsrd -v`. The pipeline status comes from grep, so the check itself
is unaffected, but the line in the CI log looks like a failure to
anyone reading it.

Note it in the script so the next reader does not go hunting.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: report the packaged version in the binary</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T12:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9c79e6bed31119abc517612ddb8a35af616b0d35'/>
<id>urn:sha1:9c79e6bed31119abc517612ddb8a35af616b0d35</id>
<content type='text'>
olsrd builds its version banner from the VERS make variable, which
defaults to the upstream development version "pre-0.9.9", so
`olsrd -v` never mentioned the version the package was built from.
The source tarball carries no git metadata either, so the git hash
in that string is always zero:

    olsr.org - pre-0.9.9-git_0000000-hash_5fd8976...

Pass PKG_VERSION as VERS, the same way alfred and batctl already
pass REVISION, so the banner identifies the packaged revision. This
also lets test-version.sh check the real version instead of merely
confirming that the binary starts.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: reject non-address input before eval in olsrd-neigh.sh</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=d52765005c75b829ae3b75ee27ac79e8da847723'/>
<id>urn:sha1:d52765005c75b829ae3b75ee27ac79e8da847723</id>
<content type='text'>
olsrd-neigh.sh builds shell variable names from data announced by
other nodes in the mesh and passes them through eval:

    eval IP_${ip//[.:]/_}="$hostname"

eval re-parses the string after the quotes have been consumed by the
first expansion pass, so a hostname of `x;reboot` announced by a
remote node is executed as a command on every node that runs the
utility. The values come from the nameservice plugin's hosts file
and from the txtinfo plugin, both of which carry unauthenticated
remote input.

Discard entries containing anything other than the characters that
can legitimately appear in an address or hostname before they reach
eval, in both places.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: initialize the LQ multiplier list pointer in the ubus handler</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f33d1d1f1ff6df97f92288bb8dd466ea6381c37e'/>
<id>urn:sha1:f33d1d1f1ff6df97f92288bb8dd466ea6381c37e</id>
<content type='text'>
The ubus add_interface handler allocates a struct olsr_lq_mult with
malloc() and assigns only -&gt;addr and -&gt;value, leaving -&gt;next
uninitialized before the node is published into cnf-&gt;lq_mult. olsrd
walks that list with

    for (mult = cnf-&gt;lq_mult; mult != NULL; mult = mult-&gt;next)

so the first traversal follows an indeterminate pointer.

Chain the new node onto the existing list, which is what the
configuration file parser does for LinkQualityMult in
src/cfgparser/oparse.y. This also makes the orig_lq_mult_cnt++ on
the next line consistent, since the entry really is prepended to the
list instead of replacing it.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: add missing jshn dependency to olsrd-utils</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=d4c843ea2fd80a91ba736b556750aac829130b8d'/>
<id>urn:sha1:d4c843ea2fd80a91ba736b556750aac829130b8d</id>
<content type='text'>
The only file shipped by olsrd-utils is olsrd-neigh.sh, which
sources /usr/share/libubox/jshn.sh on its third line. That file
belongs to the jshn package, which is not pulled in by the
olsrd -&gt; libubus -&gt; libubox dependency chain, so on a minimal image
the utility fails immediately with "not found".

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: fix respawn_threshold lookup in the IPv6 init script</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9af67f00387e20b5c32f9f78f2b8486dfff0dbc3'/>
<id>urn:sha1:9af67f00387e20b5c32f9f78f2b8486dfff0dbc3</id>
<content type='text'>
The UCI option is spelled respawn_threshold, as documented in
files/olsrd6.config and as read by files/olsrd4.init, but the IPv6
init script looks up _respawn_threshold. The lookup never matches,
so a user-configured value is silently ignored and the built-in
default of 3600 is always used.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>olsrd: add new package</title>
<updated>2026-08-13T21:21:19Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T08:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1d86a8fffc63e28b8f1ccd565dce933b5ff21e86'/>
<id>urn:sha1:1d86a8fffc63e28b8f1ccd565dce933b5ff21e86</id>
<content type='text'>
olsrd is the olsr.org implementation of the Optimized Link
State Routing protocol, together with its plugins packaged as
olsrd-mod-* subpackages.

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

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
