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.
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_qosas a staticly linked module in your
$ ./configure --with-modules=mod_qosAlternatively,
mod_qoscould 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
$ prxs -c -i -d mod_qos.c