[squid-dev] [PATCH] External ACL %>eui

Steve Hill steve at opendium.com
Tue May 17 14:19:08 UTC 2016

Squid supports %>eui as a logformat specifier, which produces an EUI-48 
for IPv4 clients and an EUI-64 for IPv6 clients.  However, This is not 
allowed as a format specifier for the external ACLs, and you have to use 
%SRCEUI48 and %SRCEUI64 instead.  %SRCEUI48 is only useful for IPv4 
clients and %SRCEUI64 is only useful for IPv6 clients, so supporting 
both v4 and v6 is a bit messy.

The attached patch adds the %>eui specifier for external ACLs and 
behaves in the same way as the logformat specifier.

  - Steve Hill
    Technical Director
    Opendium Limited     http://www.opendium.com

Direct contacts:
    Instant messager: xmpp:steve at opendium.com
    Email:            steve at opendium.com
    Phone:            sip:steve at opendium.com

Sales / enquiries contacts:
    Email:            sales at opendium.com
    Phone:            +44-1792-824568 / sip:sales at opendium.com

Support contacts:
    Email:            support at opendium.com
    Phone:            +44-1792-825748 / sip:support at opendium.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: squid-eui.patch
Type: text/x-patch
Size: 1655 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160517/99bc02e8/attachment.bin>

More information about the squid-dev mailing list