views:

547

answers:

7
+3  Q: 

Home proxy server

My end goal is to have a report showing all the top level domains that were visited the previous day from all the computers at my home. The report would also be able to show which pages were visited, which local IP address went there. I'd also like to track incoming and outgoing bandwidth used.

I don't want to install an application on each computer: ideally I would have a proxy server or something that all the connections would go through. I can't have this slow down the network - it can't affect my XBox Live ping time! ;-) I also frequently VPN from home and it shouldn't interfere with this capability.

The existing computers are Windows (XP & Vista), but I have no problem installing a *nix box as a router/proxy whatever. I have spare hardware to commit to this. Recommendations? Squid? ISA Server? Something else?

+3  A: 

Linux box with ntop to generate the report, attached to your modem using a hub - not a switch - so it can sniff traffic that other things attached to the hub use is a very unintrusive method of gathering stats.

moonshadow
+3  A: 

I would use OpenDNS.com. Not only did it solve my DNS issues with my ISP's DNS Servers always going down, it also does all of the things you mentioned, without installing any software.

www.OpenDNS.com

DNS 1: 208.67.222.222

DNS 2: 208.67.220.220

I simply set my router to use the static DNS IP Addresses from OpenDNS and now all of my home's PCs pickup those DNS settings.

If you register on their site you get additional features such as choosing to block porn, adware, etc. without needing to install software.

Good Luck!

Jason Stevenson
I'm signing up now to test it out. It's not clear from the home page - will I actually be able to see reports for my network? Can I create more than one account that can view the same network stats? Thanks!
Nathan DeWitt
I'm not certain about the multiple accounts. It appears as though a portion of their stats are offline for maintenance, so you may need to check back tonight.Some of their stats are still available.
Jason Stevenson
OpenDNS Findings:- It does work with my GSM connection on my cell phone. w00t!- you cannot connect two accounts to the same network. Each network can only have one administrator. fail!- reports can be printed, not automated. - This doesn't report total bandwidth usage. (of course)It's looking to meet less and less of my needs...
Nathan DeWitt
A: 

Some wireless routers will show you the list of domains visited during a period of time.

Owen
+1  A: 

I have used Squid + Squint before. It worked fairly well for web usage monitoring.

StuffMaster
would I need to install that on a computer and then plug that into a hub on my router? Or would it sit between my cable modem and my router? I'm a bit of a klutz when it comes to networking...
Nathan DeWitt
+1  A: 

I second Jason's suggestion to use OpenDNS, with an additional suggestion. You should program your home router to only allow (or redirect) DNS out to OpenDNS, to prevent enterprising teenagers from changing DNS to get around the restrictions.

tomjedrz
what about enterprising teenagers that ask their buddies to do nslookup and use the IP-address to surf porn. Is that still possible?
StephaneT
A: 

One possible solution: a bridging firewall between the router and the switch (So it sees all traffic between LAN and internet). It doesn't have to firewall/block anything, but Shorewall and MRTG can count traffic and generate nice graphics of bandwidth utilisation.

This box also would act as a transparent proxy via squid and iptables, which collects all urls and calamari can do the statistics from the proxy logs.

Start: www.shorewall.net

BTW: Do your users know that you're spying on them? Do they like that?

My wife and I are fine with being spied upon. People hacking my wireless and using my network don't get a vote.
Nathan DeWitt
A: 

One question regarding the OpenDNS thing: how do you think can a DNS server track all the particular URLs fetched? It can track every top-level domain fetched but not how often and not which particular URLs have been fetched from the server.

That's neither possible for a DNS server nor is it part of its job.

I'm just looking for a list of top-level domains. Interestingly enough, this is the one report that OpenDNS has turned off because of performance reasons. I may have to find another solution.
Nathan DeWitt