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

NAME

6       tcpri - Shorewall6 file
7

SYNOPSIS

9       /etc/shorewall6/tcpri
10

DESCRIPTION

12       This file is used to specify the priority band of traffic for simple
13       traffic shaping (TC_ENABLED=Simple in shorewall6.conf[1](5)). The
14       priority band of each packet is determined by the last entry that the
15       packet matches. If a packet doesn't match any entry in this file, then
16       its priority will be determined by its TOS field. The default mapping
17       is as follows but can be changed by setting the TC_PRIOMAP option in
18       shorewall6.conf[1](5).
19
20           TOS     Bits  Means                    Linux Priority    BAND
21           ------------------------------------------------------------
22           0x0     0     Normal Service           0 Best Effort     2
23           0x2     1     Minimize Monetary Cost   1 Filler          3
24           0x4     2     Maximize Reliability     0 Best Effort     2
25           0x6     3     mmc+mr                   0 Best Effort     2
26           0x8     4     Maximize Throughput      2 Bulk            3
27           0xa     5     mmc+mt                   2 Bulk            3
28           0xc     6     mr+mt                    2 Bulk            3
29           0xe     7     mmc+mr+mt                2 Bulk            3
30           0x10    8     Minimize Delay           6 Interactive     1
31           0x12    9     mmc+md                   6 Interactive     1
32           0x14    10    mr+md                    6 Interactive     1
33           0x16    11    mmc+mr+md                6 Interactive     1
34           0x18    12    mt+md                    4 Int. Bulk       2
35           0x1a    13    mmc+mt+md                4 Int. Bulk       2
36           0x1c    14    mr+mt+md                 4 Int. Bulk       2
37           0x1e    15    mmc+mr+mt+md             4 Int. Bulk       2
38
39       The columns in the file are as follows.
40
41       BAND - {1|2|3}
42           Classifies matching traffic as High Priority (1), Medium Priority
43           (2) or Low Priority (3). For those interfaces listed in
44           shorewall6-tcinterfaces[2](5), Priority 2 traffic will be deferred
45           so long and there is Priority 1 traffic queued and Priority 3
46           traffic will be deferred so long as there is Priority 1 or Priority
47           2 traffic to send.
48
49       PROTO - protocol
50           Optional. The name or number of an IPv4 protocol.
51
52       PORT(S) - port [,...]
53           Optional. May only be given if the the PROTO is TCP (6), UDP (17),
54           DCCP (33), SCTP (132) or UDPLITE (136). A list of one or more port
55           numbers or service names from /etc/services. Port ranges of the
56           form lowport:highport may also be included.
57
58       ADDRESS - [address]
59           Optional. The IP or MAC address that the traffic originated from.
60           MAC addresses must be given in Shorewall format. If this column
61           contains an address, then the PROTO, PORT(S) and INTERFACE column
62           must be empty ("-").
63
64       INTERFACE - [interface]
65           Optional. The logical name of an interface that traffic arrives
66           from. If given, the PROTO, PORT(S) and ADDRESS columns must be
67           empty ("-").
68
69               Note
70               INTERFACE classification of packets occurs before
71               classification by PROTO/PORT(S)/ADDRESS. So it is highly
72               recommended to place entries that specify INTERFACE at the top
73               of the file so that the rule about last entry matches is
74               preserved.
75
76       HELPER - [helper]
77           Optional. Names a Netfiler protocol helper module such as ftp, sip,
78           amanda, etc. A packet will match if it was accepted by the named
79           helper module. You can also append "-" and a port number to the
80           helper module name (e.g., ftp-21) to specify the port number that
81           the original connection was made on.
82

FILES

84       /etc/shorewall6/tcpri
85

SEE ALSO

87       PRIO(8), shorewall6(8), shorewall6-accounting(5),
88       shorewall6-actions(5), shorewall6-blacklist(5), shorewall6-hosts(5),
89       shorewall6-maclist(5), shorewall6-params(5), shorewall6-policy(5),
90       shorewall6-providers(5), shorewall6-route_rules(5),
91       shorewall6-routestopped(5), shorewall6-rules(5), shorewall6.conf(5),
92       shorewall6-secmarks(5), shorewall6-tcinterfaces(5), shorewall6-tos(5),
93       shorewall6-tunnels(5), shorewall6-zones(5)
94

NOTES

96        1. shorewall6.conf
97           http://www.shorewall.net/manpages6/shorewall6.conf.html
98
99        2. shorewall6-tcinterfaces
100           http://www.shorewall.net/manpages6/shorewall6-tcinterfaces.html
101
102
103
104[FIXME: source]                   09/16/2011               SHOREWALL6-TCPRI(5)
Impressum