[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Killing connections
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Killing connections
- From: Juraj Lacko <lacko_(_at_)_dorm_(_dot_)_utc_(_dot_)_sk>
- Date: Wed, 11 Dec 2002 01:22:00 +0100
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