babeld
babeld copied to clipboard
interface marked as down while it is up
After some run-time I saw interfaces bing marked as down in babeld via dump command. removing the interface and re-adding it again did not make this interface usable again. ifconfig showed the interface as UP. running ip link set device up did not affect the status displayed by dump on the babel socket.
I am not sure yet what is wrong, but the behavior is odd, so I am capturing it and the investigation here.
Hallo, Ifconfig is bogus and may malicious people to escalate rights. I raised this to CentOS developer last year.
thank you for your input. this issue is not about ifconfig. ip link shows the interface as "up" as well. This is about babeld displaying unexpected behavior.
This is not unlikely — I'm not happy with the code that keeps track of interface status, it feels fragile to me. Rewriting if_up in interface.c might be a good idea.
Note further that this is not going to be changed in the 1.8 branch (which only takes critical bug fixes), so if you intend to work on this issue, please use the current master (1.9 branch).