Re: Dynamic firewall based on bandwidth usage ?
"Vladimir Mitiouchev" <[email protected]> Tue, 10 Oct 2006 18:22:39 +0000
| Newsgroups | gmane.comp.security.linux |
|---|---|
| Message-ID | <[email protected]> |
On 10/10/06, Vladimir Mitiouchev <[email protected]> wrote: > iptables -A INPUT -p tcp --dport 80 -m quota --quota 1073741824 -j ACCEPT > iptables -A INPUT -p tcp --dport 80 -j DROP Of course, find APPROPRIATE rule for Your firewall. nat/PREROUTING, or sth. THINK. And DO NOT ask how to RESET counter of quota match. RTFM, once again. It took me 1min of googling. -- Sincerely Yours, Vladimir Mitiouchev