On Oct 14, 2009, at 2:02 PM, Chris Wilson wrote:

Hi Roy,

On Wed, 14 Oct 2009, roy mukasa wrote:

hey guys i have ntop on a windows based network being run by a linux
firewall and i was just wondering that while using ntop you can see
how much bandwidth each computer on your network is using. now i case
i realise that someone is using high bandwidth and i want to stop his
download say, is there a way i can do it remotely without me actually
going to him and stopping the download myself supposing am at a remote
location?

ssh <ntop-host>
iptables -I FORWARD -s <offender> -j DROP
iptables -I FORWARD -d <offender> -j DROP


There's also "route add -host <offender> reject" which is closer to what Mark suggested but a firewall rule will be less astonishing to anyone else who looks at that box.

--
patrick
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to