<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/mwan3/files/usr/libexec, 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>2025-08-01T11:03:01Z</updated>
<entry>
<title>mwan3: reimplement rpcd plugin using ucode</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6423781254b9f3e52c6102fb2cbcd9f99f2445a3'/>
<id>urn:sha1:6423781254b9f3e52c6102fb2cbcd9f99f2445a3</id>
<content type='text'>
On my "test" router (5 wans, 2 tracking ips per wan), before any rework,
prometheus-node-exporter-lua mwan3 average scraping time was 1230ms
(scraping only the interfaces), after optimizing the shell version,
average time was down to 485ms, with ucode we are now at 41ms.

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: remove call to network_is_up</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=bfdbacca5688a2704341f572a9677236c8ebffec'/>
<id>urn:sha1:bfdbacca5688a2704341f572a9677236c8ebffec</id>
<content type='text'>
It calls jsonfilter but can be avoided as we know
network is up if uptime is present.

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: return via variable</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a6a7f0b21b0d5e954119dfa19cde1967dd07a617'/>
<id>urn:sha1:a6a7f0b21b0d5e954119dfa19cde1967dd07a617</id>
<content type='text'>
Using $(...) to call an internal function causes a fork().
Pass the name of the return variable as first parameter,
and write to it using 'export -n'.

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: replace $(cat ..) with readfile</title>
<updated>2025-08-01T11:03:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2025-06-27T23:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ecd2470ddb0c3e2b3cf6acf2ef5ceb78e3fdfe14'/>
<id>urn:sha1:ecd2470ddb0c3e2b3cf6acf2ef5ceb78e3fdfe14</id>
<content type='text'>
Remove a fork+exec

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: use config_get_bool instead of config_get enabled</title>
<updated>2024-05-25T19:00:50Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-05-11T07:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4c4a7bd31da51e3040a5da55c504c5e97ac150e4'/>
<id>urn:sha1:4c4a7bd31da51e3040a5da55c504c5e97ac150e4</id>
<content type='text'>
The config_get_bool function parses not just the 1 but on/yes, true/false or enabled/disabled.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>mwan3: also show tracker state via ubus</title>
<updated>2023-09-20T14:10:06Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2023-09-15T09:44:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=002439594c6c207c34337ad3c8868d4ec9a46fa4'/>
<id>urn:sha1:002439594c6c207c34337ad3c8868d4ec9a46fa4</id>
<content type='text'>
The tracker state is not shown via ubus. Only if the tracker was in
active state, then the boolean running was set or not. By adding the
tracking state to the ubus information we could also evaluate the state
of the tracker. To remain compatible, the runnig flag of the tracker is
not removed, which in fact displays the same information, but only if
the tracker is in state 'active' or not.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>mwan3: remove notracking in mwan3track ubus status</title>
<updated>2023-09-20T14:05:08Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2023-09-13T14:14:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4f59c248e03af19bca6246b78a4031928b2fa97a'/>
<id>urn:sha1:4f59c248e03af19bca6246b78a4031928b2fa97a</id>
<content type='text'>
The function 'get_mwan3_status' is reading the internal state from the
tracker via the status file. Do not use the state 'notracking' status
anymore. If the mwan3track is not running always return 'unknown'
and not 'notracking'. There is already an other function that evaluates
the external state of the tracker.

We have now the following states of the tracker:
internal (mwan3track):
- offline
- online
- diconnecting
- connecting
- disabled
- unknown

external (via pgrep and config):
- paused
- active
- down
- not enabled

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>mwan3: fix mwan3_connected ubus output</title>
<updated>2023-09-12T14:03:18Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2023-09-12T14:03:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a56e111c499f6d5896ffe9b1bdab0fb0072ee735'/>
<id>urn:sha1:a56e111c499f6d5896ffe9b1bdab0fb0072ee735</id>
<content type='text'>
During the renameing of mwan3_connected_v4 to mwan3_connected_ipv4 and
mwan3_connected_v6 to mwan3_connected_ipv6 the adjustment in the ubus
call was forgotten. This commit fixes this.

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>mwan3: move command definitions to common.sh</title>
<updated>2022-03-14T08:34:49Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2022-03-08T09:15:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a49d0953dc13c1258fbb55630d22d56d5e1c1f70'/>
<id>urn:sha1:a49d0953dc13c1258fbb55630d22d56d5e1c1f70</id>
<content type='text'>
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>mwan3: update ubus status for not tracked interfaces</title>
<updated>2021-05-03T08:52:26Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2021-05-03T08:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f1da872cd47b1602dc3014d6b4ee40cd5f9fe855'/>
<id>urn:sha1:f1da872cd47b1602dc3014d6b4ee40cd5f9fe855</id>
<content type='text'>
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
</feed>
