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

Amos Jeffries squid3 at treenet.co.nz
Tue May 17 15:00:09 UTC 2016


On 18/05/2016 2:19 a.m., Steve Hill wrote:
> 
> 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.
> 

Hmm. I should not really be accepting UI changes to stable. But this is
not affecting existing installations and improves forwad-compatility.

Applied to 3.5 as rev.14051.

Amos



More information about the squid-dev mailing list