.\" Automatically generated by Pandoc 2.2.1 .nh .\" .TH "firehol\-classify" "5" "Built 12 Apr 2019" "FireHOL Reference" "3.1.6" .hy .SH NAME .PP firehol\-classify \- classify traffic for traffic shaping tools .SH SYNOPSIS .PP { classify | classify46 } \f[I]class\f[] [\f[I]rule\-params\f[]] .PP classify4 \f[I]class\f[] [\f[I]rule\-params\f[]] .PP classify6 \f[I]class\f[] [\f[I]rule\-params\f[]] .SH DESCRIPTION .PP The \f[C]classify\f[] helper command puts matching traffic into the specified traffic shaping class. .PP The \f[I]class\f[] is a class as used by iptables(8) and tc(8) (e.g.\ MAJOR:MINOR). .PP The \f[I]rule\-params\f[] 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[] .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.