<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/tests/test_openvpn_migration.py, branch fix/T8955-http-api-verify-tls</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=fix%2FT8955-http-api-verify-tls</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=fix%2FT8955-http-api-verify-tls'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-09-29T18:40:44+00:00</updated>
<entry>
<title>openvpn: T9363: multiply the site-to-site keepalive timeout</title>
<updated>2026-09-29T18:40:44+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@mandelbit.com</email>
</author>
<published>2026-09-24T14:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b6abe23ba2d2a5d5055afd203bc3e60ee20bf757'/>
<id>urn:sha1:b6abe23ba2d2a5d5055afd203bc3e60ee20bf757</id>
<content type='text'>
"failure-count" counts missed intervals, so the timeout it describes is
interval * failure-count. Server mode renders and verifies it that way;
site-to-site passed the bare count to "ping-restart", where it lands as
seconds - 60s instead of 600s with the defaults.

Render the product. That puts a timeout past the 86400 "ping-restart"
accepts within reach, so verify() rejects it and the 5-to-6 migration
clamps configurations already beyond it.

This changes behaviour on upgrade: site-to-site tunnels now tolerate a
longer silence, 600 seconds instead of 60 with the defaults.
</content>
</entry>
<entry>
<title>openvpn: T8264: reject the raw options DCO cannot serve</title>
<updated>2026-09-13T19:06:12+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@mandelbit.com</email>
</author>
<published>2026-09-02T23:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=043992126c638940d26ee075de84d8d457bd446d'/>
<id>urn:sha1:043992126c638940d26ee075de84d8d457bd446d</id>
<content type='text'>
Raw options are appended after --config and therefore override what the CLI
rendered, so they have to face the same checks. A single cipher the Kernel
module does not implement makes OpenVPN fall back to the userspace data path;
"ncp-ciphers" is the 2.4 name for the negotiation list, and outside server and
pull mode "cipher" becomes the fallback cipher. "dev-type" other than tun, an
AF_UNIX "dev-node" and, in server mode, a "topology" other than subnet drop
the offload just the same.

"DEFAULT" stands for the built-in list, which OpenVPN expands to AEAD ciphers
alone before it weighs the offload, and the migration drops the offload from
whatever stays rejected.
</content>
</entry>
<entry>
<title>openvpn: T8264: keep the keepalive within what OpenVPN accepts</title>
<updated>2026-09-13T19:06:12+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@mandelbit.com</email>
</author>
<published>2026-08-31T23:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2985a69d02e01c2642ce70dda9bf81051ee99095'/>
<id>urn:sha1:2985a69d02e01c2642ce70dda9bf81051ee99095</id>
<content type='text'>
The CLI renders "keepalive &lt;interval&gt; &lt;interval * failure-count&gt;" 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.
</content>
</entry>
<entry>
<title>openvpn: T8264: migrate away DCO the Kernel module cannot serve</title>
<updated>2026-09-13T19:06:12+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>antonio@mandelbit.com</email>
</author>
<published>2026-08-30T17:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=585c491b3ee5c02a0367bf2bd752fe4510200c6a'/>
<id>urn:sha1:585c491b3ee5c02a0367bf2bd752fe4510200c6a</id>
<content type='text'>
"offload dco" was accepted next to tap, static keys, compression, CBC
ciphers and raw options OpenVPN refuses to offload, because 2.6 ignored the
module altogether. Those combinations now fail verify(), which would break
config load on upgrade, so drop the request instead.

The migration has to mirror verify_dco() exactly: anything it keeps that
verify() turns away leaves a router unable to commit its own configuration.
</content>
</entry>
</feed>
