limit bandwidth for a process
xpetrl at beepc.ch
Tue Jun 23 07:54:30 UTC 2020
On 6/23/20 6:32 AM, Bruce Ferrell wrote:
> On 6/22/20 6:28 PM, Wesley wrote:
>> How can I limit a process's bandwidth usage in freebsd?
>> For example, I want proftpd can consume max bandwidth 50mb.
>> freebsd-questions at freebsd.org mailing list
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
> At the OS level, there is little you can do. At the the firewall, you
> can limit the bandwidth the ports used by FTP uses.
Yes, at firewall level, i.e. PF (Packet filtering) can do that.
FTP is using per default port 21 for command and random port for
transfer with clients. For this reason, isn't trivial to firewall an FTP
server and you have to use an FTP-Proxy, which makes the program useful
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions