LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   downland limit size for specific users (https://www.linuxquestions.org/questions/linux-newbie-8/downland-limit-size-for-specific-users-707439/)

cb777 02-25-2009 09:01 AM

downland limit size for specific users
 
Pls, how can I set file download size for specific users within specific times in Edubuntu 7.x?

Agrouf 02-26-2009 09:51 AM

Do you know how to use iptables?
If so, then use the following rules

-A INPUT -s $ip -m quota --quota $size -m time --timestart $hh:$mi --timestop $hh:$mi --days $day1,$day2,$day,$... -j ACCEPT
-A INPUT -j DROP


All times are GMT -5. The time now is 01:09 PM.