1SHOREWALL6-TCFILTER(5)          [FIXME: manual]         SHOREWALL6-TCFILTER(5)
2
3
4

NAME

6       tcfilters - shorewall6 u32 classifier rules file
7

SYNOPSIS

9       /etc/shorewall6/tcfilters
10

DESCRIPTION

12       Entries in this file cause packets to be classified for traffic
13       shaping.
14
15       Beginning with Shorewall 4.4.15, the file may contain entries for both
16       IPv4 and IPv6. By default, all rules apply to IPv6 but that can be
17       changed by inserting a line as follows:
18
19       IPV4
20           Following entriess apply to IPv4.
21
22       IPV6
23           Following entries apply to IPv6
24
25       ALL
26           Following entries apply to both IPv4 and IPv6. Each entry is
27           processed twice; once for IPv4 and once for IPv6.
28
29       The columns in the file are as follows.
30
31       CLASS - interface:class
32           The name or number of an interface defined in
33           shorewall6-tcdevices[1](5) followed by a class number defined for
34           that interface in shorewall6-tcclasses[2](5).
35
36       SOURCE - {-|address}
37           Source of the packet. May be a host or network address. DNS names
38           are not allowed.
39
40       DEST - {-|address}}
41           Destination of the packet. May be a host or network address. DNS
42           names are not allowed.
43
44       PROTO - {-|protocol-number|protocol-name|all}
45           Protocol.
46
47       DEST PORT (Optional) - [-|port-name-or-number]
48           Destination Ports. A Port name (from services(5)) or a port number;
49           if the protocol is icmp, this column is interpreted as the
50           destination icmp-type(s).
51
52       SOURCE PORT (Optional) - [-|port-name-or-number]
53           Source port.
54
55       TOS (Optional) - [-|tos]
56           Specifies the value of the TOS field. The tos value can be any of
57           the following:
58
59           ·   tos-minimize-delay
60
61           ·   tos-maximuze-throughput
62
63           ·   tos-maximize-reliability
64
65           ·   tos-minimize-cost
66
67           ·   tos-normal-service
68
69           ·   hex-number
70
71           ·   hex-number/hex-number
72
73           The hex-numbers must be exactly two digits (e.g., 0x04)x.
74
75       LENGTH (Optional) - [-|number]
76           Must be a power of 2 between 32 and 8192 inclusive. Packets with a
77           total length that is strictly less than the specified number will
78           match the rule.
79

EXAMPLE

81       Example 1:
82           Place all 'ping' traffic on interface 1 in class 10. Note that ALL
83           cannot be used because IPv4 ICMP and IPv6 ICMP are two different
84           protocols.
85
86                       #CLASS    SOURCE    DEST         PROTO   DEST
87                      #                                        PORT
88
89                      IPV4
90
91                      1:10      0.0.0.0/0 0.0.0.0/0    icmp    echo-request
92                      1:10      0.0.0.0/0 0.0.0.0/0    icmp    echo-reply
93
94                      IPV6
95
96                      1:10      ::/0      ::/0         icmp6   echo-request
97                      1:10      ::/0      ::/0         icmp6   echo-reply
98

FILES

100       /etc/shorewall6/tcfilters
101

SEE ALSO

103       http://shorewall.net/traffic_shaping.htm
104
105       http://shorewall.net/MultiISP.html
106
107       http://shorewall.net/PacketMarking.html
108

NOTES

110        1. shorewall6-tcdevices
111           http://www.shorewall.net/manpages6/shorewall6-tcdevices.html
112
113        2. shorewall6-tcclasses
114           http://www.shorewall.net/manpages6/shorewall6-tcclasses.html
115
116
117
118[FIXME: source]                   09/16/2011            SHOREWALL6-TCFILTER(5)
Impressum