[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Killing connections



Hello,

We are doing accounting with ipf and are dynamically changing
the rules accordnig to recieved data.. Let's say the limit for download
is 500MB .. if i start to download 100MB file and my quota shows that i
already downloaded 495MB... after that the script starts and will check my
quota and it will shows that i am over quota - is there a way how to
stop or cancel the current download?? I mean not after I will recieve
the whole file but in the middle of connection... everything is running
on a router with 3 interfaces...
I am changing the rules like this:
ipf -I -Fa
ipf -I -f $tmpfile
ipf -s

thx for any answers...



Visit your host, monkey.org