View Single Post
Old 10-24-2003, 03:35 AM  
EwarWoo
Senior Member
 
Join Date: Oct 2002
Posts: 462
Default 5.2.2 - 5.2.3

1. Open ioFTPD.ini: Change your default device (for sake of demonstration will use [FTP-Data] as d1 did). Change Inbound_bandwidth and Outbound_bandwidth to Global_Inbound_bandwidth and Global_Outbound_bandwidth.

Steps 2,3 are optional and only useful if you want to cap control channel speeds and protect from DoS attacks.

2. Add a new device called [FTP-Listen] (or whatever) with the following settings:
[FTP-Listen]
Host = (same host as FTP-Data)
Global_Inbound_bandwidth = 10 #limit overall speeds
Global_Outbound_bandwidth = 10 #limit overall speeds
Client_Inbound_bandwidth = 2 #limit per user speeds
Client_Outbound_bandwidth = 5 #limit per user speeds

3. [FTP-Service] (or whatever is your ftp service name)
...
Device_Name = FTP-Listen
Data_Devices = FTP-Data

4. Change the exe.

Now thats not the only config, not by a long way from looks of it, but thats prolly what I'll be using and looks like most straight forward.
Must admit though, dont wanna say this does work till I've tried it and too busy to update my sites atm, so if anyone sees something wrong drop a reply.

/edit: just updated my sites and seems to work anyways
EwarWoo is offline   Reply With Quote