diff options
| author | Felix Fietkau | 2021-11-03 14:36:37 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2021-11-03 14:36:37 +0000 |
| commit | 3ed8c3eb1a3b52d8ed0ec8588c30b82adec85247 (patch) | |
| tree | 2e9016b607b1f851e93a167c1eb55e979ae0839c | |
| parent | 5fc91183d60a85a462715b80632c77732a348016 (diff) | |
README: document mapping file syntax
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | README | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -87,6 +87,27 @@ interface/device properties: CAKE options for ingress + egress +Mapping file syntax: + +Each line has two whitespace separated fields, match and dscp +match is one of: +- tcp:<port>[-<endport>] + TCP single port, or range from <port> to <endport> +- udp:<port>[-<endport>] + UDP single port, or range from <port> to <endport> +- <ipaddr> + IPv4 address, e.g. 1.1.1.1 +- <ipv6addr> + IPv6 address, e.g. ff01::1 +- dns:<regex> + POSIX.2 extended regular expression for matching hostnames + Only works, if dns lookups are passed to qosify via the add_dns_host ubus call. + +dscp can be a raw value, or a codepoint like CS0 +Adding a + in front of the value tells qosify to only override the DSCP value if it is non-zero + + + Planned features: - Integration with dnsmasq to support hostname pattern based DSCP marking - Support for LAN host based priority |