/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


XY.Chen wrote:

> Could anyone tell me in details how to set up some IP traffic rules, scripts
> to control the IP packets downloaded from the internet?
>  for example: if 192.168.0.2 has reached the download quota limit, then he
> will be automatically banned by the rule from loggin on net. how can I carry
> this out?
> any detailed answer could be greatly appreciated!!

ipchains can't do this on its own. you'd have to set up ipchains
rules for each ip address that you want to limit, periodically
run a program of your own devising to scan through the output
of 'ipchains -Lnv' looking for ip addresses that have exceeded
their limit and insert new ipchains rules to block the offending
internal ip address and then remove the rule at some time in the
future so that they can be allowed access again.

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to