STUN actor: try to avoid ip address flapping #21

Merged
lx merged 4 commits from stun-keep-values into main 2024-01-16 15:05:01 +00:00
Owner

If STUN discovery of public IPv4/IPv6 address returns no address, but an address was found <15m ago, we keep that one. This should protect against temporary failures of the stun discovery mechanism that caused excessive flapping and service restarting in prod and staging clusters.

TODO: test on staging

If STUN discovery of public IPv4/IPv6 address returns no address, but an address was found <15m ago, we keep that one. This should protect against temporary failures of the stun discovery mechanism that caused excessive flapping and service restarting in prod and staging clusters. TODO: test on staging
lx added 3 commits 2024-01-16 14:41:27 +00:00
stun actor: if no address is found but an address existed <15m ago, keep it
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
6613ea347d
lx added 1 commit 2024-01-16 14:51:51 +00:00
stun actor: add back log message to inform of autodiscovery result
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
continuous-integration/drone/tag Build is passing
843104dad7
lx merged commit 58ac0e3758 into main 2024-01-16 15:05:01 +00:00
lx deleted branch stun-keep-values 2024-01-16 15:05:01 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/diplonat#21
No description provided.