Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have my network bandwidth eaten up totally. Whenever I connect my network, without any application being opened it is always full.

I have prepared report of iftop, nethogs and network system monitor.

iftop and nethogs

enter image description here

My host IP is 192.168.1.203 and all the rest are not known though I have tried to pin 192.168.1.105, it doesn't reply.

If possible I would like to block the most disturbing IP which is 192.168.1.105 to block it. but don't know how.

share|improve this question
1  
Provide the output of nethogs or other network monitor here at paste.ubuntu.com and link them in your question. –  tijybba Aug 4 '12 at 19:15
add comment

1 Answer

Assuming your server (the machine from which samples screenshot are coming) is you network gateway, you can try with iptables with a command line like this:

sudo iptables -A FORWARD -s 192.168.1.105 -j REJECT
sudo iptables -A FORWARD -d 192.168.1.105 -j REJECT

This will block all traffic to and from 192.168.1.105. That will cause you no problem, if you don't have private networks that you need access to, meaning that you're just routing traffic to internet. You'll have the risk that the machine simply change the IP address, then you'll have to figure out the mac address, for that you can use arp command:

$ arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.101            ether   00:0f:b0:74:f1:f3   C                     eth0
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.