<div dir="ltr">
Hi,<br><br>I'm running Kea on OPNsense and I've found that option 125 
(VIVSO) does not behave as expected when configured with csv-format: 
false and raw hex data.<br><br>When I send the full VIVSO payload as raw hex:<br><br>"option-data": [<br>  { "code": 125, "csv-format": false, "always-send": true, "data": "00000DE924..." }<br>]<br><br>Kea only sends 5 bytes on the wire (confirmed via tcpdump):<br><br>  Unknown (125), length 5: 0.0.13.233.0<br><br>Only the enterprise number (3561) + an empty byte. The sub-option TLV payload is dropped.<br><br>However, when using the option-def + vivso-suboptions + vendor space framework with the exact same data:<br><br>"option-def": [<br>  { "name": "vc-opt4", "code": 4, "type": "binary", "space": "vendor-3561" },<br>  { "name": "vc-opt5", "code": 5, "type": "binary", "space": "vendor-3561" },<br>  { "name": "vc-opt6", "code": 6, "type": "binary", "space": "vendor-3561" }<br>],<br>"option-data": [<br>  { "name": "vivso-suboptions", "always-send": true, "data": "3561" },<br>  { "name": "vc-opt4", "space": "vendor-3561", "always-send": true, "csv-format": false, "data": "..." },<br>  { "name": "vc-opt5", "space": "vendor-3561", "always-send": true, "csv-format": false, "data": "..." },<br>  { "name": "vc-opt6", "space": "vendor-3561", "always-send": true, "csv-format": false, "data": "..." }<br>]<br><br>The full 41-byte option 125 is correctly sent on the wire with all sub-options.<br><br>It
 appears that Kea treats option 125 specially because it is internally 
defined as vivso-suboptions (type uint32). Even with csv-format: false, 
Kea parses the enterprise number and discards the remaining data instead
 of treating it as an opaque binary blob.<br><br>My expectation would be that csv-format: false sends raw bytes unchanged, regardless of the option code.<br><br>Is this the intended behavior or a bug?<br><br>Use case: French ISP (Orange) FTTH requires VIVSO with enterprise 3561 and vendor sub-options for TV decoder authentication.<br><br>Related OPNsense issue: <a href="https://github.com/opnsense/core/issues/10060">https://github.com/opnsense/core/issues/10060</a><br><br>Kea version: as shipped with OPNsense 26.1 (FreeBSD)<br><br>Thanks

<br></div>