Search squid archive

Add MAC-addresses to log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux