Page MenuHomeVyOS Platform

QoS Policy Limiter - classes for marked traffic do not work
Needs testing, LowPublicBUG

Description

How to reproduce the problem:

set qos policy limiter 1G-in class 100 bandwidth '20gbit'
set qos policy limiter 1G-in class 100 burst '3760k'
set qos policy limiter 1G-in class 100 match INTERNAL mark '100'
set qos policy limiter 1G-in class 100 priority '20'
set qos policy limiter 1G-in default bandwidth '1gbit'
set qos policy limiter 1G-in default burst '125000000b'
set qos interface eth0 ingress 1G-in
vyos@vyos# tc filter show dev eth0 ingress
filter parent ffff: protocol all pref 255 basic chain 0 
filter parent ffff: protocol all pref 255 basic chain 0 handle 0x1 flowid ffff:65 
        action order 1:  police 0x1 rate 1Gbit burst 125000000b mtu 2Kb action drop overhead 0b 
        ref 1 bind 1

Original task: https://vyos.dev/T4989
Was broken after the task: https://vyos.dev/T4248

Details

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202405080016
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)