Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Linux
[Top] [All Lists]

Re: Dynamic firewall based on bandwidth usage ?

Subject: Re: Dynamic firewall based on bandwidth usage ?
Date: Tue, 10 Oct 2006 18:20:10 +0000
On 10/8/06, FM <dist-list@lexum.umontreal.ca> wrote:
So I have to block (or redirect) those
network abusers after a download limit (for ex : 1Gb per day)
for lets say 1day.

iptables -A INPUT -p tcp --dport 80 -m quota --quota 1073741824 -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j DROP

http://www.netfilter.org/documentation/HOWTO/netfilter-extensions-HOWTO-3.html#ss3.13

RTFM, people..

--
Sincerely Yours,
Vladimir Mitiouchev

<Prev in Thread] Current Thread [Next in Thread>