-
Notifications
You must be signed in to change notification settings - Fork 27
LLT-6859 configurable UAPI error handler #1618
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
base: main
Are you sure you want to change the base?
LLT-6859 configurable UAPI error handler #1618
Conversation
f9e65d3 to
4b9c0f6
Compare
4b9c0f6 to
1c17d77
Compare
1c17d77 to
2395810
Compare
2395810 to
8cbe327
Compare
8cbe327 to
f581981
Compare
f581981 to
fa7b39c
Compare
fa7b39c to
5bc731b
Compare
5bc731b to
825b681
Compare
825b681 to
1049dc7
Compare
1049dc7 to
5e76d91
Compare
5e76d91 to
6c9662a
Compare
6c9662a to
45fe6a4
Compare
45fe6a4 to
068af66
Compare
068af66 to
a778efd
Compare
a778efd to
3073f5e
Compare
3073f5e to
cde43e3
Compare
mathiaspeters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
cde43e3 to
853eb12
Compare
stalowyjez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks rather ok, +1
6906a0e to
9d4063f
Compare
|
@stalowyjez I've addressed your comments |
Replace the fixed count-based error handler with a duration-based mechanism which is configurable with FeatureInterfaceHealth. Signed-off-by: Lukas Pukenis <lukas.pukenis@nordsec.com>
Signed-off-by: Lukas Pukenis <lukas.pukenis@nordsec.com>
9d4063f to
3a76c6b
Compare
stalowyjez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, +1
Problem
Libtelio uses counter based mechanism when handling interface errors. The counter is used to ignore transient WireguardNT errors that happen around power-transitions and usually go away.
Current limitations:
These limitations allow libtelio to produce unnecessary critical failures that require libtelio restart.
Solution
Replace with configurable, time-based mechanism for critical errors handling instead.
☑️ Definition of Done checklist