<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers, branch rolling</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=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-11-12T16:32:36+00:00</updated>
<entry>
<title>boot-config-loader: T9615: assign config file name outside the else branch</title>
<updated>2026-11-12T16:32:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-12T16:32:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=305fcdc8614196d9c2a97491e1862cd00bbd7d12'/>
<id>urn:sha1:305fcdc8614196d9c2a97491e1862cd00bbd7d12</id>
<content type='text'>
No functional change, pylint reported a used-before-assignment as it
does not know the other branch exits.
</content>
</entry>
<entry>
<title>T9615: remove helpers calling dropped config tree test functions</title>
<updated>2026-11-12T16:32:33+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-12T16:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=57405334563a72522ed1d17b788f990484befef3'/>
<id>urn:sha1:57405334563a72522ed1d17b788f990484befef3</id>
<content type='text'>
The show_commit_data and test_commit wrappers were removed by commit
09cb7801d790 ("T7272: drop test functions"), but the helper scripts using
them were left behind and failed on import.
</content>
</entry>
<entry>
<title>http-api: T9588: Keep config strings out of world-readable /tmp</title>
<updated>2026-11-06T16:08:47+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-11-06T15:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5068f3f95cf1117cfe8b2d8df377f9a8b045cb61'/>
<id>urn:sha1:5068f3f95cf1117cfe8b2d8df377f9a8b045cb61</id>
<content type='text'>
The /config-file endpoint wrote config strings to /tmp/config.file,
readable by any local user and never removed. A file pre-created at
that path by another user made every later request fail.

The string now goes to a private temp file that is always removed.
The load and merge helpers, and the vyconf session, also remove their
own /tmp copy when loading raises, e.g. on a syntax error.
</content>
</entry>
<entry>
<title>wireless: T3871: give a radio a configuration node again</title>
<updated>2026-10-31T09:58:29+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-07T17:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e834afbf12261279466ac731a7e614917e5cae3d'/>
<id>urn:sha1:e834afbf12261279466ac731a7e614917e5cae3d</id>
<content type='text'>
Radios were taken out of the mapping file, as every interface on a phy
carries that phy's address and there is nothing there to anchor a name to.
The rescan still took its whole list from that file, so no radio was left in
it and none ever got a node - a fresh boot with a card present no longer
wrote its physical-device, and the branch which does that became unreachable.

Take radios from the system instead. A configured radio was unaffected,
keeping the node it already had.
</content>
</entry>
<entry>
<title>interfaces: T3871: name interfaces from a slot-anchored mapping store</title>
<updated>2026-10-31T09:58:29+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-07T17:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c73faac7f95ec837da6f964d15cc05ff9ffd2de6'/>
<id>urn:sha1:c73faac7f95ec837da6f964d15cc05ff9ffd2de6</id>
<content type='text'>
Names used to be derived from 'hw-id' in config.boot. A node carrying an
address but no hw-id had to be matched to some NIC, and nothing available at
boot could say which one - every heuristic could bind a configured address to
the wrong physical wire.

Naming authority moves to a mapping store binding a name to the slot the
hardware occupies. The slot is the identity, so a replacement card in that
slot is that interface again. The store renders systemd .link files, leaving
udev to apply names as devices appear.
</content>
</entry>
<entry>
<title>Revert: T3871: make boot-time interface naming deterministic and hw-id aware</title>
<updated>2026-10-31T09:58:26+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-07T17:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=552ade702fc033f68cda998055bd5b74f195c7ac'/>
<id>urn:sha1:552ade702fc033f68cda998055bd5b74f195c7ac</id>
<content type='text'>
This reverts commit 22cfee116c9935f4a33da4923eff189f2f646371.
</content>
</entry>
<entry>
<title>T9529: check and exit on ConfigTreeError</title>
<updated>2026-10-28T18:50:05+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2026-10-28T18:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4b10523d5cf7610a020b497ca2c037e6a4160b4a'/>
<id>urn:sha1:4b10523d5cf7610a020b497ca2c037e6a4160b4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #5573 from c-po/firewall-fixes</title>
<updated>2026-10-19T19:02:41+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-19T19:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=040fab5100ac07a00246ee6cbe5440a8e52a19e7'/>
<id>urn:sha1:040fab5100ac07a00246ee6cbe5440a8e52a19e7</id>
<content type='text'>
firewall: T9474: multiple issues in rule processing (time based rules, fragment matching and failing commits)</content>
</entry>
<entry>
<title>firewall: T9474: keep time windows correct across UTC offset changes</title>
<updated>2026-10-17T19:43:27+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c10229f44ed96b07a41014a7c8552c285d44a379'/>
<id>urn:sha1:c10229f44ed96b07a41014a7c8552c285d44a379</id>
<content type='text'>
nft converts hour matches to UTC when the ruleset is loaded, using the
offset of that moment. After a daylight saving change, or a change of the
system time-zone, every hour window was off until the next firewall commit.

- A new helper loads only the rules with an hour match again, in place, so
  sets such as dynamic, domain and GeoIP groups and all counters are kept.
  It is scheduled as a systemd timer for the next UTC offset change and
  re-arms itself; firewall and policy route commits arm or remove it.
- Changing the time-zone re-runs firewall and policy route.

The smoketest moves the clock to just before a change in Europe/Berlin and
checks that the window is refreshed and a dynamic group entry survives. It
only runs in the smoketest harness, as it changes the system clock.
</content>
</entry>
<entry>
<title>wan-load-balance: T9474: rebuild table when rule file and table drift apart</title>
<updated>2026-10-17T19:42:46+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T19:42:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=68efa577039058f375ffdcae0656268c43b518ec'/>
<id>urn:sha1:68efa577039058f375ffdcae0656268c43b518ec</id>
<content type='text'>
The WAN load-balancing ruleset only deleted the existing table when its
rule file in /run was present. A table removed while the file stayed made
the delete, and with it the ruleset reload, fail.

The table is now declared right before it is deleted, so each reload
rebuilds it regardless of what is currently loaded.
</content>
</entry>
</feed>
