mod_qos
The mod_qos
module can be used to set the Differentiated
Services field (RFC2474)
of IP packet headers. This can dramatically aid in the handling of these
packets in the network, depending on the network QoS configuration.
This module is contained in the mod_qos
file for
ProFTPD 1.3.x, and is not compiled by default. Installation
instructions are discussed here.
The most current version of mod_qos
is distributed with
the ProFTPD source code.
<VirtualHost>
The QoSOptions
directive configures the QoS bits to use for
the control and/or data connections.
The possible values to use are:
Note that while the following values are also supported, their use is deprecated, and can have adverse effects on TCP congestion control:
mod_qos
as a statically linked module in your
proftpd
, use:
$ ./configure --with-modules=mod_qosAlternatively,
mod_qos
could be built as a DSO module:
$ ./configure --enable-dso --with-shared=mod_qosThen follow the usual steps:
$ make $ make install
Alternatively, if your proftpd
was compiled with DSO support, you
can use the prxs
tool to build mod_qos
as a shared
module:
$ prxs -c -i -d mod_qos.c