[squid-users] Add MAC-addresses to log

From: Alibek Bolatov <alibek.bolatov_at_gmail.com>
Date: Mon, 27 Dec 2010 22:44:20 +0300

Hello.
Do I have a problem for which you need write MAC-addresses to log-files.
I do not know very well the C-language itself to make such changes in
the source code could not.
I understand that I need to make changes to the file access_log.c, the
function accessLogCustom or accessLogCommon, using an object
AccessLogEntry * al.
I can get client address with al->cache.caddr, but how to get the
MAC-address, I do not know.
Tell me what changes must be made in the source code to a log-files to
be stored MAC-addresses of clients?

Sincerely, Alibek.
Received on Mon Dec 27 2010 - 19:44:26 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 28 2010 - 12:00:03 MST