mwan3: interface cannot detect link problems after mwan ifdown/up
@feckert is already working on this.
Since Mar 18, 2022.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @feckert
Environment: openwrt 21.02.1 mwan3 2.10.13-1
Description:
I have two interfaces, both with IPv4 and IPv6 configurations (wan4a, wan4b, wan6a, wan6b). Sometimes the tracker stucks at the "connecting" or "online" state, even if all trackers are down. I could trigger that behavior with:
# mwan3 ifdown wan6b
# mwan3 ifup wan6b
<externally block internet traffic through wan6b>
After that, wan4b was detected as down but not wan6b. What I see is that /var/run/mwan3track/wan6b/STATUS is always "connecting" even with all /var/run/mwan3track/wan6b/TRACK_* marked as "down". LOST, ONLINE, TIME and TURN are still increasing. SCORE is zero.
It does not matter if it is an IPv4 or IPv6 interface. Restarting mwan3 reverts the issue.
I have reproduced it in a virtual env (gns3). It is easy to test or debug if needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.