Page MenuHomeVyOS Platform

WireGuard: fwmark CLI definition is inconsistent
Closed, ResolvedPublicFEATURE REQUEST

Description

<leafNode name="fwmark">
  <properties>
    <help>A 32-bit fwmark value set on all outgoing packets</help>
    <valueHelp>
      <format>number</format>
      <description>value which marks the packet for QoS/shaper</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-255"/>
    </constraint>
  </properties>
</leafNode>

So the CLI helper tells us it's a 32 bit value, but the range check only allows 8 bits.

iproute2 code revels its a 32bit unsigned integer

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Related Objects

StatusSubtypeAssignedTask
In progressFEATURE REQUESTNone
ResolvedFEATURE REQUESTNone
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTc-po

Event Timeline

c-po changed the task status from Open to Backport candidate.Jul 26 2020, 11:17 AM
c-po claimed this task.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.