From 3aaea02899505a9f897cfcf45361a8f4dbf2ccf5 Mon Sep 17 00:00:00 2001 From: Davide Marini Date: Fri, 28 Aug 2026 12:53:56 +0200 Subject: [PATCH 1/3] fix wrong formatting The list of the field for custom rules has wrong formatting, --- docs/administrator-manual/network/qos.md | 42 ++++-------------------- 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/docs/administrator-manual/network/qos.md b/docs/administrator-manual/network/qos.md index 7cc88f8b..2288d8ff 100644 --- a/docs/administrator-manual/network/qos.md +++ b/docs/administrator-manual/network/qos.md @@ -47,47 +47,19 @@ To override DSCP classification, create a file `/etc/qosify/10-custom.conf` with Match is one of: -- +- `tcp:[-]`: TCP single port, or range from \ to \ - `tcp:[-]` +- `udp:[-]`: UDP single port, or range from \ to \ - : TCP single port, or range from \ to \ +- ``: IPv4 address, e.g. 1.1.1.1 -- +- ``: IPv6 address, e.g. ff01::1 - `udp:[-]` +- `dns:`: fnmatch() pattern supporting \* and ? as wildcard characters - : UDP single port, or range from \ to \ +- `dns:/`: POSIX.2 extended regular expression for matching hostnames Only works, if dns lookups are passed to qosify via the add_dns_host ubus call. -- - - `` - - : IPv4 address, e.g. 1.1.1.1 - -- - - `` - - : IPv6 address, e.g. ff01::1 - -- - - `dns:` - - : fnmatch() pattern supporting \* and ? as wildcard characters - -- - - `dns:/` - - : POSIX.2 extended regular expression for matching hostnames Only works, if dns lookups are passed to qosify via the add_dns_host ubus call. - -- - - `dns_c:...` - - : Like dns, but only matches cname entries +- `dns_c:...`: Like dns, but only matches cname entries The 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 zero. From b0e0df6c725b7d058843ff23d9a1fc5d1c0df9f1 Mon Sep 17 00:00:00 2001 From: Davide Marini Date: Fri, 28 Aug 2026 12:55:42 +0200 Subject: [PATCH 2/3] Refactor QoS match patterns documentation Removed redundant descriptions for match patterns in QoS configuration. --- .../administrator-manual/network/qos.md | 42 ++++--------------- 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/network/qos.md b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/network/qos.md index 7ae90d99..272be60e 100644 --- a/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/network/qos.md +++ b/i18n/it/docusaurus-plugin-content-docs/current/administrator-manual/network/qos.md @@ -47,47 +47,19 @@ Per eseguire l'override della classificazione DSCP, creare un file `/etc/qosify/ Match è uno dei seguenti: -- +- `tcp:[-]`: Singola porta TCP o intervallo da \ a \ - `tcp:[-]` +- `udp:[-]`: Singola porta UDP o intervallo da \ a \ - : Singola porta TCP o intervallo da \ a \ +- ``: Indirizzo IPv4, ad esempio 1.1.1.1 -- +- ``: Indirizzo IPv6, ad esempio ff01::1 - `udp:[-]` +- `dns:`: Pattern fnmatch() che supporta \* e ? come caratteri jolly - : Singola porta UDP o intervallo da \ a \ +- `dns:/`: Espressione regolare estesa POSIX.2 per l'abbinamento dei nomi host Funziona solo se le ricerche DNS vengono passate a qosify tramite la chiamata ubus add_dns_host. -- - - `` - - : Indirizzo IPv4, ad esempio 1.1.1.1 - -- - - `` - - : Indirizzo IPv6, ad esempio ff01::1 - -- - - `dns:` - - : Pattern fnmatch() che supporta \* e ? come caratteri jolly - -- - - `dns:/` - - : Espressione regolare estesa POSIX.2 per l'abbinamento dei nomi host Funziona solo se le ricerche DNS vengono passate a qosify tramite la chiamata ubus add_dns_host. - -- - - `dns_c:...` - - : Come dns, ma corrisponde solo alle voci cname +- `dns_c:...`: Come dns, ma corrisponde solo alle voci cname Il dscp può essere un valore grezzo o un codepoint come CS0. Aggiungere un `+` davanti al valore indica a qosify di eseguire l'override del valore DSCP solo se è zero. From e65b46bd23759c48154995be48d0ac85460eb58b Mon Sep 17 00:00:00 2001 From: Davide Marini Date: Fri, 28 Aug 2026 12:57:39 +0200 Subject: [PATCH 3/3] Fix formatting of TCP match syntax in QoS documentation --- docs/administrator-manual/network/qos.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administrator-manual/network/qos.md b/docs/administrator-manual/network/qos.md index 2288d8ff..987d211c 100644 --- a/docs/administrator-manual/network/qos.md +++ b/docs/administrator-manual/network/qos.md @@ -47,7 +47,7 @@ To override DSCP classification, create a file `/etc/qosify/10-custom.conf` with Match is one of: -- `tcp:[-]`: TCP single port, or range from \ to \ +- `tcp:[-]`: TCP single port, or range from \ to \ - `udp:[-]`: UDP single port, or range from \ to \