Linuxathome.net

Linux news and help for home broadband internet users
It is currently Sun Oct 13, 2024 3:05 pm

All times are UTC + 10 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Aug 08, 2002 9:07 pm 
Offline
Newbie

Joined: Tue Jul 02, 2002 1:41 pm
Posts: 6
Location: Its Me! Its Me!bourne
Due to my households use of 3 BG in only 6 days ( According to the Evil Empire that is ) and currently having to pay for the extra usage over this limit, I am in the need of a program that will allow me to monitor which URL/'s have been connected to and from which internal address.

Currently I am using IP chains on a Linux Kernel, and am in need of a program that will allow me to monitor this traffic and log it to a file. If anyone knows of how to log connections to the appache server ( All connections not just failed attempts ) it would be of greate help.

Later,
WebmasterMattD
http://www.webmastermattd.net
http://www.christexplained.net


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 30, 2002 2:34 pm 
Offline
Newbie

Joined: Fri Aug 30, 2002 2:19 pm
Posts: 8
Location: Perth
If you use a transparent proxy combined with squid all the webpages viewed will be logged to /var/log/squid/access.log including which IP requested the page.

You could then use a squid analyser such as http://www.squid-graph.dhs.org/ to graph and record how much a particular IP uses. It also records the amount of mb's the squid missed and therefore had to fetch from the Internet.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Sep 09, 2002 5:15 pm 
Offline
Newbie

Joined: Thu Jul 18, 2002 12:48 pm
Posts: 8
man ipchains

append -l to log anything matching a www rule and read the syslog or kern.log (varies with distro). Might want some kind of log processor if you're going to try and digest 3 Gb worth.

or

Are you asking where the logfiles for apache are?
This will only help identify traffic served by you...
See
/etc/apache/httpd.conf
and
httpd.apache.org/docs/
or
/var/log/apache

Turn IP resolution on so you get something more than just the originating IP.
Apologies if I've just insulted you.

Use squid.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Oct 18, 2002 2:42 pm 
Offline
Newbie

Joined: Wed Jul 31, 2002 4:10 pm
Posts: 5
iptables also has the ability to monitor traffic through designated interfaces. You will need to enable the counter on the internal interface to capture and masqueraded traffic though.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 10 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group