diff options
| author | Antonio Quartulli <antonio@mandelbit.com> | 2026-09-01 01:28:51 +0200 |
|---|---|---|
| committer | Antonio Quartulli <antonio@mandelbit.com> | 2026-09-13 21:06:12 +0200 |
| commit | 2985a69d02e01c2642ce70dda9bf81051ee99095 (patch) | |
| tree | bbee7a693820be81f09db0300ed5799d9e96d441 /src/migration-scripts/interfaces | |
| parent | ab7866607795809bb76cf76c97a1277290bff540 (diff) | |
| download | vyos-1x-2985a69d02e01c2642ce70dda9bf81051ee99095.tar.gz vyos-1x-2985a69d02e01c2642ce70dda9bf81051ee99095.zip | |
openvpn: T8264: keep the keepalive within what OpenVPN accepts
The CLI renders "keepalive <interval> <interval * failure-count>" while its
two ranges are independent, so it can produce parameters the daemon refuses
to start on: a timeout below twice the interval, or one beyond the 12 hours
OpenVPN is about to cap ping and keepalive at.
A zero interval renders "keepalive 0 0", on which OpenVPN skips these checks
and simply runs without keepalive, so leave that combination alone.
Migrate what stays rejected, or an upgrade would leave a configuration the
router can no longer commit at boot.
Diffstat (limited to 'src/migration-scripts/interfaces')
0 files changed, 0 insertions, 0 deletions
