keel vip check: without etcd, the proof that a node holds the VIP is weak #113
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found in the security review of #111 (keel#104).
Without etcd, the VIP on
wg0has no lifetime (keel/mesh/vipnet.py,carrywith novalid_lft). The address stays until keel removes it or the node boots.keel database followtakes the address onwg0as the proof that this node holds the VIP.keel vip check(keel/mesh/vippromote.py,checked) adds the VIP again after a restart when any peer answered and no peer that answered knows a newer claim. A third node that did not learn the newer epoch can answer, while the other member of the pair, which holds the newer claim, does not.Wanted:
keel vip checkadds the VIP again only when the other member of the pair itself answered and knows no newer claim.keel vip checkwhile the pair peer answers, so that the proof expires.docs/replication.md (in #111) says the cloud simple proof is weaker and names this issue.