Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-12-2007, 11:18 PM   #1
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Tracking internet useage on network

I have several computers attached to a single router that is then attached to the internet. Some of the computers are mac some pc some connected though wires some through wireless connections. I would like to be able to keep track of where the users are going on the internet. Can I set up a linux based router using a spare computer such that it will keep track of web pages/url visited including the day and time accessed. The set up would look something like this

internet->linux router->normal wired/wireless router->all users

I know I would need two network cards for my linux box. I have seen programs like squidGuard that will filter content from the internet but I am more intrested in knowing what urls are being accessed. Any help or pointers would be appretiated. I am not very comfortable with linux so don't try to be simple in any explanation. Thanks
Old 07-12-2007, 11:30 PM   #2
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
If you can dedicate a pc for this why don't you try smoothwall firewall.

It is easy to install and it has a nice web interface and provides information by ip address.

Last edited by sunethj; 07-12-2007 at 11:31 PM.
Old 07-13-2007, 04:07 AM   #3
LQ Newbie
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
Hello rgo,

You can setup a Linux based proxy server with SafeSquid or Squid. Both generate access logs that can be processed by log analyzers like Sarg to generate detailed daily / weekly / monthly usage reports like this - sample log report.

Old 07-13-2007, 04:24 AM   #4
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Originally Posted by rgo
internet->linux router->normal wired/wireless router->all users
1. if you just want to track websites visited by your users, setup a transparent proxy. if your router can handle port redirection, you can install squid in the linux machine (only 1 NIC needed) and redirect all web requests to this machine.

try and search "squid transparent proxy"

and to get a usage report, use SARG:

2. if you decide to make your linux box your gateway, try bandwidthd to report usage per IP:

it's easy to setup.

and for this, you need to have two NICs in your GNU/Linux box.

try to set them up. if you have problems, post it here @ LQ.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Tracking Software vikasumit Linux - General 6 08-18-2006 09:02 AM
GPS tracking over GPRS network tzouse Linux - General 0 01-29-2006 10:32 AM
Tracking network activity d3viant SUSE / openSUSE 4 11-17-2005 09:16 AM
tormo gives no CPU useage/temp or network activity? halo14 Slackware 1 05-06-2005 02:42 PM
Tracking internet usage with iptables mdkelly069 Linux - Networking 7 09-13-2004 11:13 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:04 PM.

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