<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/interface-definitions/include/dhcp, 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-10-15T13:05:57+00:00</updated>
<entry>
<title>dhcp-server: T9267: make client-class substring matching contains-anywhere</title>
<updated>2026-10-15T13:05:57+00:00</updated>
<author>
<name>Ruben Herold</name>
<email>ruben@puettmann.net</email>
</author>
<published>2026-09-04T09:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=46e06d8fd1f1dd378c128fe87549bdba165f640a'/>
<id>urn:sha1:46e06d8fd1f1dd378c128fe87549bdba165f640a</id>
<content type='text'>
The Mikrotik configuration referenced by T9267 uses
matching-type=substring, documented to match the value anywhere within
the option string. This PR's "substring" match instead compared a
fixed-length slice at a fixed byte offset (default 0) for exact
equality - effectively an anchored prefix match, not a substring
search - which does not reliably reproduce the ticket's own use case
of picking a device model string (e.g. "T42S") out of a longer,
variably-formatted hostname.

Rebuild "hostname substring"/"vendor-class-id substring" on Kea's
match()+lcase() instead of substring()==, so a configured value now
matches anywhere in the option content and case-insensitively (options
like vendor-class-id are not guaranteed to arrive in a fixed case).
Drop the "offset" leaf together with it, since it has no remaining
purpose once matching is no longer anchored to a fixed position, and
there is no released behavior to preserve.

Raw hex input and values containing a literal single quote are
rejected for substring matching in verify(), since neither can be
safely embedded into the generated Kea regular expression; exact
"value" matching is unaffected and still accepts both.

Reported by alexk37 in review of PR #5436.
</content>
</entry>
<entry>
<title>dhcp-server: T9267: drop standalone substring "length" option</title>
<updated>2026-10-15T13:05:57+00:00</updated>
<author>
<name>Ruben Herold</name>
<email>ruben@puettmann.net</email>
</author>
<published>2026-09-04T09:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=da0bea0d10020bfd76d2f763965947db905cab9b'/>
<id>urn:sha1:da0bea0d10020bfd76d2f763965947db905cab9b</id>
<content type='text'>
The byte length compared by a hostname/vendor-class-id "substring"
match is always derived from "value" for a meaningful equality test:
a shorter length never matches (comparing fewer option bytes against
the full value literal), and a longer one is silently clamped by Kea
to the available bytes, turning what looks like a prefix match into
an exact match of the whole remainder. There is no legitimate use for
setting it independently of "value", so drop the leaf rather than add
another verify() constraint around it.

Reported by alexk37 in review of PR #5436.
</content>
</entry>
<entry>
<title>dhcp-server: T9267: add client-class matching on hostname/vendor-class-id</title>
<updated>2026-10-15T13:05:57+00:00</updated>
<author>
<name>Ruben Herold</name>
<email>ruben@puettmann.net</email>
</author>
<published>2026-08-31T10:49:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2e5ea7a8304ed6ce504b3928e3b2f52574a61397'/>
<id>urn:sha1:2e5ea7a8304ed6ce504b3928e3b2f52574a61397</id>
<content type='text'>
Client classes could previously only match on relay agent information
(Option 82). Add matching on the client-sent hostname (Option 12) and
vendor class identifier (Option 60), each with an exact-value or
substring form, so clients sharing a subnet can be told apart by e.g.
device model without splitting the subnet into per-model pools.

Also let a client-class deliver its own options (reusing the existing
subnet/range option syntax), so a match can directly hand out a
model-specific value such as a provisioning URL, independent of which
pool the client's lease is drawn from.
</content>
</entry>
<entry>
<title>dhcp: T9166: add IPv6 support for HA peer links</title>
<updated>2026-08-25T18:09:47+00:00</updated>
<author>
<name>chariri</name>
<email>w@chariri.moe</email>
</author>
<published>2026-08-22T19:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b85a7d6216d1062efd65edd0b25c44431c04f280'/>
<id>urn:sha1:b85a7d6216d1062efd65edd0b25c44431c04f280</id>
<content type='text'>
Accept IPv6 source and remote addresses for Kea high availability and
bracket IPv6 endpoints in generated peer URLs.
</content>
</entry>
<entry>
<title>dhcp-server: T9093: allow option interface-mtu up to 16000</title>
<updated>2026-07-23T16:03:05+00:00</updated>
<author>
<name>Brad Kollmyer</name>
<email>bradk@vitalsoft.com</email>
</author>
<published>2026-07-15T19:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5'/>
<id>urn:sha1:9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5</id>
<content type='text'>
DHCP option 26 (Interface MTU, RFC 2132) is a 16-bit unsigned value and Kea
accepts the full range, but the CLI validator capped it at 9000 - below the
9216 used on common jumbo fabrics and below VyOS's own interface MTU maximum
of 16000.

Relax the constraint to 576-16000 and exercise a jumbo value (9216) in the
smoketest.

Co-authored-by: Christian Breunig &lt;christian@breunig.cc&gt;
</content>
</entry>
<entry>
<title>dhcpv6: T8862: Allow multiple addresses and prefixes for reservations</title>
<updated>2026-05-16T21:27:30+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2026-05-14T08:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=28898e4477727c5d4406c227b0d056e6dfc1ce39'/>
<id>urn:sha1:28898e4477727c5d4406c227b0d056e6dfc1ce39</id>
<content type='text'>
Add support for allowing DHCPv6 to assign reservations for multiple
addresses and prefixes to a single client simultaneously.
</content>
</entry>
<entry>
<title>dhcpv6: T8849: Add time-zone support for Kea DHCPv6 (#5190)</title>
<updated>2026-05-14T11:39:39+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2026-05-14T11:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a4cf50f68bdcfd14cfcb51b2ff3f4058c1a0f5c6'/>
<id>urn:sha1:a4cf50f68bdcfd14cfcb51b2ff3f4058c1a0f5c6</id>
<content type='text'>
* dhcpv6: T8849: Add time-zone support for Kea DHCPv6

Add DHCPv6 option support for time zone (RFC4833 options
41 and 42). This includes both the POSIX-style TZ string
(`new-posix-timezone`) and the IANA time zone name
(`new-tzdb-timezone`).

* dhcpv6: T8849: Refactor per code-review suggestion

* dhcpv6: T8849: Reformat for compliance</content>
</entry>
<entry>
<title>T8600: Add option to change logging verbosity in Kea (#5178)</title>
<updated>2026-05-13T11:50:43+00:00</updated>
<author>
<name>Nataliia S.</name>
<email>81954790+natali-rs1985@users.noreply.github.com</email>
</author>
<published>2026-05-13T11:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=db23d7201c9df78c91aeeeade6963f2cc12b50b1'/>
<id>urn:sha1:db23d7201c9df78c91aeeeade6963f2cc12b50b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp-server: T3936: Added support for DHCP Option 82 (#4665)</title>
<updated>2025-10-28T15:38:43+00:00</updated>
<author>
<name>cblackburn-igl</name>
<email>chris.blackburn@infinitivegroup.co.uk</email>
</author>
<published>2025-10-28T15:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1737b16dd87778358266222e2ef061eb15d63019'/>
<id>urn:sha1:1737b16dd87778358266222e2ef061eb15d63019</id>
<content type='text'>
* dhcp-server: T3936: Added support for DHCP Option 82

This commit adds support in both the CLI and the underlying code for
DHCP Option 82 to be used to filter/route DHCP address assignments.

The primary use case for this is to support enterprise switches which
can "tag" DHCP requests with physical real world informaiton such as
which switch first saw the request and which port it originated from
(known in this context as remote-id and circuit-id). Once
client-classes have been defined they can be assigned to subnets or
ranges so that only certain addresses get assigned to specific
requests.

There is also a corresponding documentation update which pairs with
this code change.

(cherry picked from commit 326b5e713cb363a2b9f69e2204c4ee2ccd9939bb)

* Update src/conf_mode/service_dhcp-server.py

Co-authored-by: Nataliia S. &lt;81954790+natali-rs1985@users.noreply.github.com&gt;

* Update src/conf_mode/service_dhcp-server.py

Co-authored-by: Nataliia S. &lt;81954790+natali-rs1985@users.noreply.github.com&gt;

* Update interface-definitions/include/dhcp/dhcp-server-common-config.xml.i

Co-authored-by: Nataliia S. &lt;81954790+natali-rs1985@users.noreply.github.com&gt;

---------

Co-authored-by: Daniil Baturin &lt;daniil@baturin.org&gt;
Co-authored-by: Nataliia S. &lt;81954790+natali-rs1985@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>kea: T7821: Use include for dhcp/dhcpv6 subnet-id</title>
<updated>2025-10-19T11:54:05+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2025-10-19T11:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=97787d2487d5d316ead27ad484b5f4a7b0d374f5'/>
<id>urn:sha1:97787d2487d5d316ead27ad484b5f4a7b0d374f5</id>
<content type='text'>
</content>
</entry>
</feed>
