<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts, branch fix/T8859-dh-keysize-validation</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%2FT8859-dh-keysize-validation</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=fix%2FT8859-dh-keysize-validation'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-09-13T19:06:12+00:00</updated>
<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>
<entry>
<title>serial: T9269: test migration system 31 -&gt; 32 for the console_type key</title>
<updated>2026-09-09T19:29:03+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-09-09T19:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=abf7613f8d34d7ed7bc59e7883d584625a4dd65c'/>
<id>urn:sha1:abf7613f8d34d7ed7bc59e7883d584625a4dd65c</id>
<content type='text'>
Commit bc0b4178b already covers a missing GRUB configuration, where
vars_read() returns an empty dict.

A non-empty dict without console_type still raises KeyError: vars_read()
drops variables written with an empty value, which
grub.set_serial_console() produces for a flavor carrying no console data.
</content>
</entry>
<entry>
<title>smoketest: T9014: make configtest serial console image flavor agnostic</title>
<updated>2026-09-07T16:35:55+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-09-07T14:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a4ca1e5979fe9c795e1ca210dd881f611d7fef21'/>
<id>urn:sha1:a4ca1e5979fe9c795e1ca210dd881f611d7fef21</id>
<content type='text'>
The configuration tests hardcoded "system console device ttyS0 speed 115200",
which only holds for amd64, whereas arm64 images expose the UART as ttyAMA0, so
loading these configs produced a diff against the assert data and the tests
failed.

Replace the hardcoded values in all config test inputs and their assert
counterparts with the @SERIAL_DEVICE@ and @SERIAL_SPEED@ placeholders. The
vyos-1x-smoketest postinst queries the image flavor and implants the real
values once at install time, so the test runner needs no runtime patching.

Migration script 31-to-32 now derives the serial device from the flavor, too,
instead of assuming ttyS0.

This can be observed during vyos-1x package installation while building the
ISO image

Setting up vyos-1x-smoketest (999.0-14834-g16f1cf457-dirty) ...
...
I: Implanted serial console ttyS0,115200 into /usr/libexec/vyos/tests/configs
</content>
</entry>
<entry>
<title>Merge pull request #5123 from indrajitr/ddclient-v4</title>
<updated>2026-08-14T13:00:14+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2026-08-14T13:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0775edcd1eaa668d789f0ee9d00da14f11e7c1dd'/>
<id>urn:sha1:0775edcd1eaa668d789f0ee9d00da14f11e7c1dd</id>
<content type='text'>
ddclient: T6981: Upgrade ddclient to v4.0.0</content>
</entry>
<entry>
<title>T8598: Accel-PPP: Add upgrade-safe migration support for calling-sid peer IID secret enforcement across PPPoE, L2TP, PPTP, and SSTP (BP 2188)</title>
<updated>2026-08-12T21:50:20+00:00</updated>
<author>
<name>Ritika Chopra</name>
<email>r.chopra@vyos.io</email>
</author>
<published>2026-06-16T05:31:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f55f1ed843894a7eb63bec6de1bbcead9417b67a'/>
<id>urn:sha1:f55f1ed843894a7eb63bec6de1bbcead9417b67a</id>
<content type='text'>
(cherry picked from commit c9314daa78418751edaab9b4da8c2e33fb1a64ed)
</content>
</entry>
<entry>
<title>ddclient: T6981: Remove defunct woima</title>
<updated>2026-07-24T17:15:25+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2025-01-07T17:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e0c4655c6c06f6fd24adddea7371c6d68615c54c'/>
<id>urn:sha1:e0c4655c6c06f6fd24adddea7371c6d68615c54c</id>
<content type='text'>
Since woima (woima.fi) has been shut down, we need
to remove any configuration path that refers to woima.

Apply migration to remove woima from dynamic DNS
service configurations.
</content>
</entry>
<entry>
<title>ddclient: T6981: Remove defunct googledomains</title>
<updated>2026-07-24T17:12:18+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2024-12-26T04:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7cf47a389edecc6c05590468a10b6aa916881cc5'/>
<id>urn:sha1:7cf47a389edecc6c05590468a10b6aa916881cc5</id>
<content type='text'>
Since googledomains (domains.google.com) has been
shut down, we need to remove any configuration path
that refers to googledomains.

1. Remove 'googledomains' as the default web resolver
in ddclient.conf.j2

2. Apply migration to remove googledomains from
dynamic DNS service configurations. The migration
is also necessary to undo a previous migration
where we added 'googledomains' as default web
resolver to work around lack of tls (ssl) support
with default web resolver 'dyndns' (checkip.dyndns.org)
in ddclient v3.x.
</content>
</entry>
<entry>
<title>utils: T9008: migrate remaining cmd() callers to cmdl() and remove cmd()</title>
<updated>2026-07-17T16:10:08+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-07-09T20:21:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e0684c0c343835c7674a94424d847592511915b0'/>
<id>urn:sha1:e0684c0c343835c7674a94424d847592511915b0</id>
<content type='text'>
Complete the safer-subprocess migration started by the cmdl()/ifconfig
refactoring and convert every remaining vyos.utils.process.cmd() call site to
the list-based cmdl().

Drop the vyos.utils.process.cmd() implementation as it is no longer in use.
</content>
</entry>
</feed>
