Linux - Monitoring system and killing suspect connections
Posted: Mon Nov 08, 2010 2:37 pm
Internet connection checking - all guides are through a putty SSH connection known as command line access - GUI's are available if you can run something like Tight VNC (free program which works native in Linux but also has free viewers for windows to connect to linux and vice-versa) and remote desktop, but most hosted linux solutions dont have that function.
I use linux (opensuse11 64 bit edition) for my routing and firewall along with it being useful for running processes (bots, scheduled tasks and servers). Its free, runs with no reboot for years, you can get flavours some of which will run on a 486 from floppy disc and is much more secure than windows. So when all the lights on my cable modem are flashing like im downloading huge amounts, but im in bed, then something is up.
I do have processes that up and download as a scheduled task (crontab in linux talk) but none of them should be running.
How do i check whats eating my bandwidth?
Easiest tool i have found is iftop
to install iftop (if not already installed) either as root or with root permissions (like "sudo su")
monitoring bandwidth use per adaptor:
or eth1 etc
This shows you exactly what your connection is being used for.
You can now see who is connected and how much bandwidth they are using, and if something seems suspect then you can proceed to blocking the IP.
I use linux (opensuse11 64 bit edition) for my routing and firewall along with it being useful for running processes (bots, scheduled tasks and servers). Its free, runs with no reboot for years, you can get flavours some of which will run on a 486 from floppy disc and is much more secure than windows. So when all the lights on my cable modem are flashing like im downloading huge amounts, but im in bed, then something is up.
I do have processes that up and download as a scheduled task (crontab in linux talk) but none of them should be running.
How do i check whats eating my bandwidth?
Easiest tool i have found is iftop
to install iftop (if not already installed) either as root or with root permissions (like "sudo su")
Code: Select all
zypper install iftop
Code: Select all
/usr/sbin/iftop -i eth0
This shows you exactly what your connection is being used for.
You can now see who is connected and how much bandwidth they are using, and if something seems suspect then you can proceed to blocking the IP.