Koozali.org: home of the SME Server

Internet Usage Monitoring

Offline EScottH

  • *
  • 12
  • +0/-0
Internet Usage Monitoring
« on: December 29, 2011, 12:30:30 AM »
Hey all.  As many of you know from my past posts, I setup a gateway with SME Server 7 after getting a Copyright notice from my ISP.  I found out my daughter's boyfriend was torrenting copyrighted material.  Kicking him off the network isn't an option, as they use it for schoolwork and all their classes this semester are offline.  Additionally, may bandwidth usage has started going off the charts over the last three months.  The last straw was my going over the 250GB cap last month.  Being the type of person that likes to have proof before accusing, I am trying to make sure I have all the tools I need in place before I go making sweeping accusations.

That said, here is my network Topography:

Internet :: Motorola Surfboard SB6120 :: SME Server ETH0 GigaLAN :: SME Server Performing Gateway, Firewall and DNS Services :: SME Server ETH1 GigaLAN:: D-Link DGS1005G GigaLAN Switch

Now, from the switch, I have the following:

D-Link DGS1005G GigaLAN Switch Port 1 :: My Desktop
D-Link DGS1005G GigaLAN Switch Port 2 :: Linksys e2500 in Bridge/AP Mode
D-Link DGS1005G GigaLAN Switch Port 3 :: Seagate 3TB NAS/Print Server
D-Link DGS1005G GigaLAN Switch Port 4 :: Open

All users besides myself connect wirelessly through the AP.

Now, what I need are the proper tools installed so that I can monitor total data usage, port usage and process usage by IP address, MAC address, and/or Machine Name.

Frankly, I am too new to Linux to figure this out by myself, despite extensive searching on the forums and documentation. Any help will be greatly appreciated.

One note:  I don't want to have to resort to requiring user login to the network if at all possible.  I have 2 Wiis, a PS3, an X-Box 360, an Ethernet-enabled DirecTV DVR and an Ethernet-enabled Blu-Ray 3d/Netflix box that have issues with  network logins.

Thanks,

Scott


Offline Gary Douglas

  • *
  • 80
  • +1/-0
Re: Internet Usage Monitoring
« Reply #1 on: December 30, 2011, 06:10:47 AM »
Install SARG contrib;  http://wiki.contribs.org/Sarg

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Internet Usage Monitoring
« Reply #2 on: December 30, 2011, 10:35:41 AM »
250GB!!!!.. :shock:, I have corporate clients with 300 users that don't get to 250GB

That is enormous...Have a look at SARG as well Dansguardian to block all the sites..

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Internet Usage Monitoring
« Reply #3 on: December 30, 2011, 02:53:05 PM »
I think Sarg and Dansguardian are only going to give you usage stats on proxied web browsing activity.

If your problem is with P2P file sharing, you would need to do one of:
* Block all outbound traffic that isn't proxied by the SME
* Take a crash course in development and get Wondershaper working again.
* Install a network traffic monitor such as vnstat or ntop to identify the miscreant.
* Find out if all of your devices are SNMP enabled, and install an SNMP manager that will graph the network interface use by each device

Offline EScottH

  • *
  • 12
  • +0/-0
Re: Internet Usage Monitoring
« Reply #4 on: January 02, 2012, 04:32:10 AM »
Thanks for the advice so far!  I will try these when I get home tomorrow.

Scott

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Internet Usage Monitoring
« Reply #5 on: January 03, 2012, 01:20:26 PM »
FYI - I loaded up ntop on my SME 8b7 system, but can't get any response from the web interface

Offline compsos

  • *
  • 472
  • +0/-0
Re: Internet Usage Monitoring
« Reply #6 on: October 27, 2012, 10:32:43 AM »
vnStat works ok from an ibay. Just shows up down and total.
See http://forums.contribs.org/index.php?topic=42444
Regards

Gordon............

Offline Bozely

  • *
  • 75
  • +0/-0
Re: Internet Usage Monitoring
« Reply #7 on: November 19, 2012, 05:10:07 PM »
If your main priority is blocking certain types of internet sites try using OpenDNS or a similar service, simple to set up, websites are categorised by the community, you can choose which categories you do and don't want being used on your network and most importantly it's FREE.