From a2e56492df16997cab30ba35b9520c616b9ca763 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 9 Mar 2020 11:44:33 -0700 Subject: [PATCH] Correct mangle file contents in QOSExample.html Signed-off-by: Tom Eastep --- docs/QOSExample.xml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/docs/QOSExample.xml b/docs/QOSExample.xml index 034b22c60..c5099f28d 100644 --- a/docs/QOSExample.xml +++ b/docs/QOSExample.xml @@ -20,6 +20,8 @@ 2012 + 2020 + Thomas M. Eastep @@ -295,23 +297,23 @@ ip link set ifb0 up The mangle file classifies upload packets: - #MARK SOURCE DEST PROTO DPORT SPORT USER TEST + #ACTION SOURCE DEST PROTO DPORT SPORT USER TEST RESTORE:T - - - - - - !0:C CONTINUE:T - - - - - - !0 -2:T - - icmp -1:T - - udp $UDP_VOIP - - 0 -1:T $IP_VOIP - - - - - 0 -1:T - $IP_VOIP - - - - 0 -2:T - - tcp $TCP_PRIO - - 0 -2:T - - udp $UDP_PRIO - - 0 -2:T - - tcp - $TCP_PRIO - 0 -2:T - - udp - $UDP_PRIO - 0 -3:T - - tcp $TCP_NORMAL - - 0 -4:T - - ipp2p:all - - - 0 -5:T - - tcp $TCP_BULK - - 0 -5:T - - tcp - $TCP_BULK - 0 -5:T - - udp $UDP_BULK - - 0 -5:T - - udp - $UDP_BULK - 0 +MARK(2):T - - icmp +MARK(1):T - - udp $UDP_VOIP - - 0 +MARK(1):T $IP_VOIP - - - - - 0 +MARK(1):T - $IP_VOIP - - - - 0 +MARK(2):T - - tcp $TCP_PRIO - - 0 +MARK(2):T - - udp $UDP_PRIO - - 0 +MARK(2):T - - tcp - $TCP_PRIO - 0 +MARK(2):T - - udp - $UDP_PRIO - 0 +MARK(3):T - - tcp $TCP_NORMAL - - 0 +MARK(4):T - - ipp2p:all - - - 0 +MARK(5):T - - tcp $TCP_BULK - - 0 +MARK(5):T - - tcp - $TCP_BULK - 0 +MARK(5):T - - udp $UDP_BULK - - 0 +MARK(5):T - - udp - $UDP_BULK - 0 SAVE:T - - - - - - !0