LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-19-2008, 09:56 PM   #1
kramer2718
Member
 
Registered: Jul 2006
Posts: 46

Rep: Reputation: 15
Police Network from Bandwidth Hogs?


Hi. A user (it's probably my roommate) on my home network is sucking down a ridiculous amount of bandwidth (or so I judge based on my crappy bandwidth). I admin the router that we both use, but it isn't a Linux box, it's just a cheap (although good) Belkin wireless/wired router. It lets my see all of the IPs it hands out (via DHCP), but not how much traffic goes to each. Is there a way using my box to see how many and what size packets he's sending receiving to estimate how much bandwidth he's using?
 
Old 05-20-2008, 02:29 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 474

Rep: Reputation: 38
If the users are connected wireless, you could set your wireless card to promiscuous mode and grab the traffic, even if it is encrypted, using ethereal/wireshark and filter the traffic by destination IP number (or MAC?) therefore seeing how much it is flowing to that particular IP. See as well airodump and others.
 
Old 05-30-2008, 04:46 AM   #3
lazareth1
LQ Newbie
 
Registered: May 2008
Posts: 14

Rep: Reputation: 0
Setup a proxy and f&*k him/her up lol. Or you could just say to your roomy that your gonna charge them on a per packet basis! That would show them!
 
Old 05-30-2008, 05:18 AM   #4
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: CentOS
Posts: 125

Rep: Reputation: 16
Quote:
Shaping by user can be interesting for small home networks. It allows you to give every user a fair share of available bandwidth which they can then use for whatever they like, removing the case where one user takes all bandwidth away from other users altogether.

The various approaches can also be combined using a classful scheduler like HTB. It allows you to first shape by user and then prioritize by traffic type for every user.
From: http://gentoo-wiki.com/HOWTO_Packet_Shaping

Sounds good, we need some of that in my network!
 
Old 06-19-2008, 06:00 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
If you want (them) to have some fun instead and you are a little ambitious:
http://ex-parrot.com/~pete/upside-down-ternet.html
 
Old 06-19-2008, 01:32 PM   #6
kenoshi
Member
 
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 31
I'd recommend you install ntop, gives you easy to digest information, instantly tells you what your roommate is doing without having to make sense out of captures.
 
  


Reply

Tags
networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network bandwidth limiting - how to limit the whole network sKAApGIF Linux - Networking 2 01-07-2010 05:12 PM
How to distribute Network bandwidth between Network clients dynamically ? p_s_shah Linux - Server 1 02-27-2008 10:31 AM
Bandwidth logging hogs 50% CPU and fills root fs PsychosisNode Linux - Software 1 12-16-2005 09:47 AM
HELP: capping the bandwidth hogs... woes :S kevingpo Linux - Networking 1 09-07-2005 06:11 PM
Network bandwidth 1/2 what it should be geniarse Linux - Networking 4 09-21-2004 10:02 AM


All times are GMT -5. The time now is 11:37 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration