Page MenuHomeVyOS Platform

Traffic-policy (shaper), returns: 'lowdelay unknown DSCP value'
Confirmed, NormalPublicBUG

Description

eg: applying.....

class 70 {

    bandwidth 4%
    burst 15k
    ceiling 98%
    match lowdelay {
        ip {
            dscp lowdelay
            protocol tcp
        }
    }
    priority 6
    queue-type fair-queue
}

we get: "lowdelay" unknown DSCP value

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.2.0-rolling+201806020337
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

syncer triaged this task as Normal priority.Jun 10 2018, 2:27 AM
syncer changed the task status from Open to Needs testing.Feb 8 2019, 12:01 AM
syncer reassigned this task from dmbaturin to zsdc.
syncer added a subscriber: dmbaturin.
zsdc changed the task status from Needs testing to Confirmed.Feb 26 2019, 1:57 PM
zsdc reassigned this task from zsdc to dmbaturin.
zsdc added a subscriber: zsdc.

Hello!
Bug confirmed in 1.2.0-rolling+201902250337. Current way of checking values accept only that names, which is returned by cat /etc/iproute2/rt_dsfield (source). Currently with kernel 4.19.20-amd64-vyos this is:

# Differentiated field values
# These include the DSCP and unused bits
0x0	default
# Newer RFC2597 values
0x28	AF11
0x30	AF12
0x38	AF13
0x48	AF21
0x50	AF22
0x58	AF23
0x68	AF31
0x70	AF32
0x78	AF33
0x88	AF41
0x90	AF42
0x98	AF43
# Older values RFC2474
0x20	CS1
0x40	CS2
0x60	CS3
0x80	CS4
0xA0	CS5
0xC0	CS6
0xE0	CS7
# RFC 2598
0xB8	EF

Need to change way of checking or remove unavailable values.

Unknown Object (User) added a subscriber: Unknown Object (User).Jun 10 2020, 8:28 PM

So these values don't work. VyOS 1.3-rolling-202007270117

set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp reliability
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp throughput 
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp lowdelay
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp priority
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp immediate
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp flash
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp flash-override
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp critical
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp internet
set traffic-policy shaper SHAPE class 79 match lowdelay ip dscp network

Let's get rid of them?

Well, does it not work, or was it removed upstream? Can we probably migrate it?

dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).Jan 27 2021, 7:18 PM
dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).