If you control the DHCP server then you already have a mapping of MAC/IP
from it.
Now you just need to get on writing some script to map the IP from the Squid
logfiles to the IP/MAC from DHCP and then map it to your user DB.
From: Serassio Guido <guido.serassio@xxxxxxxxxxxxxxxxx>
To: "Wennie V. Lagmay"
<wlagmay@xxxxxxxxxxxxx>,<squid-users@xxxxxxxxxxxxxxx>
Subject: Re: Mac Address logging Date: Mon, 20 Jun 2005
20:19:52 +0200
Hi,
At 08.19 19/06/2005, Wennie V. Lagmay wrote:
Hi all,
We are offering cable internet services, we are required to log every
users which sites they visited on what specific time. I can enable NCSA
authentication so that every one will required to log there user name and
password, but for some reason we cannot require users to do so. Now is
there a way to log a client cable modems mac address so that we will just
create a simple program to match the cable modem mac address to the user
name. In this manner there is no hassle to clients and at the same time we
can log ther activity and identify them.
Not sure if this could be done:
Squid can use only MAC address of machine connected on the same physical
lan (or IP broadcast domain). This is an ARP protocol limitation.
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement