.\" Automatically generated by Pandoc 2.17.1.1 .nh .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "firehol-classify" "5" "Built 15 Oct 2022" "FireHOL Reference" "3.1.7" .hy .SH NAME .PP firehol-classify - classify traffic for traffic shaping tools .SH SYNOPSIS .PP { classify | classify46 } \f[I]class\f[R] [\f[I]rule-params\f[R]] .PP classify4 \f[I]class\f[R] [\f[I]rule-params\f[R]] .PP classify6 \f[I]class\f[R] [\f[I]rule-params\f[R]] .SH DESCRIPTION .PP The \f[V]classify\f[R] helper command puts matching traffic into the specified traffic shaping class. .PP The \f[I]class\f[R] is a class as used by iptables(8) and tc(8) (e.g.\ MAJOR:MINOR). .PP The \f[I]rule-params\f[R] define a set of rule parameters to match the traffic that is to be classified. See firehol-params(5) for more details. .PP Any classify commands will affect all traffic matched. They must be declared before the first router or interface. .SH EXAMPLES .IP .nf \f[C] # Put all smtp traffic leaving via eth1 in class 1:1 classify 1:1 outface eth1 proto tcp dport 25 \f[R] .fi .SH SEE ALSO .IP \[bu] 2 firehol-params(5) - optional rule parameters .IP \[bu] 2 iptables(8) (http://ipset.netfilter.org/iptables.man.html) - administration tool for IPv4 firewalls .IP \[bu] 2 ip6tables(8) (http://ipset.netfilter.org/ip6tables.man.html) - administration tool for IPv6 firewalls .IP \[bu] 2 tc(8) - show / manipulate traffic control settings .IP \[bu] 2 FireHOL Website (http://firehol.org/) .IP \[bu] 2 FireHOL Online PDF Manual (http://firehol.org/firehol-manual.pdf) .IP \[bu] 2 FireHOL Online Documentation (http://firehol.org/documentation/) .IP \[bu] 2 Linux Advanced Routing & Traffic Control HOWTO (http://lartc.org/howto/) .SH AUTHORS FireHOL Team.