FTP Server with advanced features
Posted
by Nikolas Sakic
on Server Fault
See other posts from Server Fault
or by Nikolas Sakic
Published on 2010-06-15T07:20:51Z
Indexed on
2010/06/15
7:33 UTC
Read the original article
Hit count: 306
Hi, We supply zone-files to our customers. Some zone files are big about 300MB and some are quite small, maybe like 1MB. We had this issue that someone setup a script to continually download the file. Imagine downloading 300MB file a few hundred times a day. Since, we don't have packet-shaper to throttle the traffic, we need to upgrade ftp server and use add-on modules to limit the download somehow. We currently use proftpd server. Also note that there are different users for different domains - say, if you want to download zone file for .INFO domain, then you use a particular user. That user can't download any other zone's file. This is what we are looking for:
Have maximum of 400MB download per user per day. Or even have different download limit for different users per day.
Have one connection per user at any time.
Max # of connection (non-simultaneous) per user per day is 5. Anyone trying to exceed that gets banned for 24 hours.
Has anyone used FTP server with similar restrictions above? Does anyone have any ideas where I can start? Any help would be appreciated. Thanks.
-N
© Server Fault or respective owner