Debian Codegraph @

doc/contrib/mod_qos.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>ProFTPD module mod_qos</title>
5 </head>
6
7 <body bgcolor=white>
8
9 <hr>
10 <center>
11 <h2><b>ProFTPD module <code>mod_qos</code></b></h2>
12 </center>
13 <hr><br>
14
15 <p>
16 The <code>mod_qos</code> module can be used to set the Differentiated
17 Services field (<a href="http://www.faqs.org/rfcs/rfc2474.html">RFC2474</a>)
18 of IP packet headers. This can dramatically aid in the handling of these
19 packets in the network, depending on the network QoS configuration.
20
21 <p>
22 This module is contained in the <code>mod_qos</code> file for
23 ProFTPD 1.3.<i>x</i>, and is not compiled by default. Installation
24 instructions are discussed <a href="#Installation">here</a>.
25
26 <p>
27 The most current version of <code>mod_qos</code> is distributed with
28 the ProFTPD source code.
29
30 <h2>Directives</h2>
31 <ul>
32 <li><a href="#QoSOptions">QoSOptions</a>
33 </ul>
34
35 <hr>
36 <h3><a name="QoSOptions">QoSOptions</a></h3>
37 <strong>Syntax:</strong> QoSOptions <em>&quot;ctrlqos&quot; value|&quot;dataqos&quot; value</em><br>
38 <strong>Default:</strong> <em>None</em><br>
39 <strong>Context:</strong> server config, <code>&lt;VirtualHost&gt;</code><br>
40 <strong>Module:</strong> mod_qos<br>
41 <strong>Compatibility:</strong> 1.3.4rc1 and later
42
43 <p>
44 The <code>QoSOptions</code> directive configures the QoS bits to use for
45 the control and/or data connections.
46
47 <p>
48 The possible values to use are:
49 <ul>
50 <li>cs0
51 <li>cs1
52 <li>cs2
53 <li>cs3
54 <li>cs4
55 <li>cs5
56 <li>cs6
57 <li>cs7
58 <li>af11
59 <li>af12
60 <li>af13
61 <li>af21
62 <li>af22
63 <li>af23
64 <li>af31
65 <li>af32
66 <li>af33
67 <li>af41
68 <li>af42
69 <li>af43
70 </ul>
71 See <a href="http://www.faqs.org/rfcs/rfc2474.html">RFC2474</a> for a better
72 discussion of these values.
73
74 <p>
75 <b>Note</b> that while the following values are also supported, their use is
76 deprecated, and can have adverse effects on TCP congestion control:
77 <ul>
78 <li>lowcost
79 <li>lowdelay
80 <li>mincost
81 <li>reliability
82 <li>throughput
83 </ul>
84
85 <p>
86 <hr>
87 <h2><a name="Installation">Installation</a></h2>
88 For including <code>mod_qos</code> as a statically linked module in your
89 <code>proftpd</code>, use:
90 <pre>
91 $ ./configure --with-modules=mod_qos
92 </pre>
93 Alternatively, <code>mod_qos</code> could be built as a DSO module:
94 <pre>
95 $ ./configure --enable-dso --with-shared=mod_qos
96 </pre>
97 Then follow the usual steps:
98 <pre>
99 $ make
100 $ make install
101 </pre>
102
103 <p>
104 Alternatively, if your <code>proftpd</code> was compiled with DSO support, you
105 can use the <code>prxs</code> tool to build <code>mod_qos</code> as a shared
106 module:
107 <pre>
108 $ prxs -c -i -d mod_qos.c
109 </pre>
110
111 <p>
112 <hr>
113 <font size=2><b><i>
114 &copy; Copyright 2010-2013 TJ Saunders<br>
115 All Rights Reserved<br>
116 </i></b></font>
117 <hr>
118
119 </body>
120 </html>