diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2022-12-09 05:51:30 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2022-12-09 05:53:24 +0100 |
commit | 3859e4efc1597368df647323c5a3cc1771cb64ca (patch) | |
tree | 404a4d3f12ebc7fc584941b82c69c92ef09b09df /lib/settle.h | |
parent | e80156d9363a594ff23524f56d59f0eee160859d (diff) |
BGP: Improve handling of hold and keepalive timers
The effective keepalive time now scales relative to the negotiated
hold time, to maintain proportion between the keepalive time and the
hold time. This avoids issues when both keepalive and hold times
were configured, the hold time was negotiated to a smaller value,
but the keepalive time stayed the same.
Add new options 'min hold time' and 'min keepalive time', which reject
session attempts with too small hold time.
Improve validation of config options an their documentation.
Thanks to Alexander Zubkov and Sergei Goriunov for suggestions.
Diffstat (limited to 'lib/settle.h')
0 files changed, 0 insertions, 0 deletions