-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queries are sometimes sent from all-zeroes source MAC address #4
Comments
Indeed, with no SA mcd should go back to sleep and wake up on the next startup-query-interval, see #5. |
I looked a bit at the source. Making some notes here. It seems like we only get one shot, one opportunity, to capture the interface SA - and we unfortunately let it slip: Lines 133 to 134 in 23cba46
This is the only caller of Unless we want to do some fancy netlink parsing, I think we need to call While we're there I think we need to consider the condition for starting the interface. At the moment, we settle for Lines 249 to 252 in 23cba46
Should we maybe also require that the link is oper up, i.e. If so, that might require us to handle Lines 48 to 58 in 23cba46
|
When starting
mcd
on a newly created interface, the MAC address can not always be determined. When that happens,mcd
soldiers on and uses an SA of all zeroes.Preferably, we would not allow any queries to be sent on an interface until a proper SA has been selected.
The text was updated successfully, but these errors were encountered: