summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2005-06-04 19:04:31 +0000
committergreen <green@FreeBSD.org>2005-06-04 19:04:31 +0000
commit497a5998afc4581a2a4909ccdd39c877d8672fb8 (patch)
tree27646b7d5b22022ccd7be153b64a1046b4103f13 /sbin
parent565f66adf31d243191a10da5c40231448d7a6d4d (diff)
downloadFreeBSD-src-497a5998afc4581a2a4909ccdd39c877d8672fb8.zip
FreeBSD-src-497a5998afc4581a2a4909ccdd39c877d8672fb8.tar.gz
Better explain, then actually implement the IPFW ALTQ-rule first-match
policy. It may be used to provide more detailed classification of traffic without actually having to decide its fate at the time of classification. MFC after: 1 week
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw.815
1 files changed, 13 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 55f8b77..86d89d3 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -565,7 +565,18 @@ processed, it will not be tagged, so it is wise to make your ALTQ
"default" queue policy account for this.
If multiple
.Cm altq
-rules match a single packet, subsequent tags are ignored by ALTQ.
+rules match a single packet, only the first one adds the ALTQ classification
+tag.
+In doing so, traffic may be shaped by using
+.Cm count Cm altq Ar queue
+rules for classification early in the ruleset, then later applying
+the filtering decision.
+For example,
+.Cm check-state
+and
+.Cm keep-state
+rules may come later and provide the actual filtering decisions in
+addition to the fallback ALTQ tag.
.Pp
You must run
.Xr pfctl 8
@@ -573,7 +584,7 @@ to set up the queues before IPFW will be able to look them up by name,
and if the ALTQ disciplines are rearranged, the rules in containing the
queue identifiers in the kernel will likely have gone stale and need
to be reloaded.
-Stale queue identifiers will probably misclassify
+Stale queue identifiers will probably result in misclassification.
.Pp
All system ALTQ processing can be turned on or off via
.Nm
OpenPOWER on IntegriCloud