[squid-users] Squid MAC address ACL is not worked, and how to get the MAC address Squid see?

Billy.Zheng (zw963) zw963 at 163.com
Fri Jan 1 13:21:38 UTC 2016


I don't know,  I just use CentOS 7 yum packages.

I try to get the version, show me following message:

$ squid -v
Squid Cache: Version 3.3.8
configure options:  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-strict-error-checking' '--exec_prefix=/usr' '--libexecdir=/usr/lib64/squid' '--localstatedir=/var' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid' '--with-logdir=$(localstatedir)/log/squid' '--with-pidfile=$(localstatedir)/run/squid.pid' '--disable-dependency-tracking' '--enable-eui' '--enable-follow-x-forwarded-for' '--enable-auth' '--enable-auth-basic=DB,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB,getpwnam' '--enable-auth-ntlm=smb_lm,fake' '--enable-auth-digest=file,LDAP,eDirectory' '--enable-auth-negotiate=kerberos' '--enable-external-acl-helpers=file_userip,LDAP_group,time_quota,session,unix_group,wbinfo_group' '--enable-cache-digests' '--enable-cachemgr-hostname=localhost' '--enable-delay-pools' '--enable-epoll' '--enable-icap-client' '--enable-ident-lookups' '--enable-linux-netfilter' '--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-ssl' '--enable-ssl-crtd' '--enable-storeio=aufs,diskd,ufs' '--enable-wccpv2' '--enable-esi' '--enable-ecap' '--with-aio' '--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl' '--with-openssl' '--with-pthreads' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -fpie' 'LDFLAGS=-Wl,-z,relro  -pie -Wl,-z,relro -Wl,-z,now' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -fpie' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

I am not see any --enable-arp-acl in this output.

Thanks.

Yuri Voinov writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>  
> Did you built your squid with MAC acl support?
>
> I.e., --enable-arp-acl ?
>
> 01.01.16 18:50, Billy.Zheng (zw963) пишет:
>> Hi, all, I deploy a new Squid Server in my VPS server.
>> And i set a squid MAC address ACL, like following:
>>
>> it seem like:
>>>> acl advance_users arp ??:??:??:??:??:??
>>>> http_access allow advance_users
>>
>> But it not work. allow seem like never matched.
>>
>> So, I want to get the MAC address squid can see, What should i to do?
>>
>> Thanks.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>  
> iQEcBAEBCAAGBQJWhnevAAoJENNXIZxhPexGzr0IAJVyLua6Up/C1kYapoukEtmC
> jxrfn/+/Xq1OsBvZDtzagUyYdZhvX8tBLAfgeE64mPGj3DNESwbKHRzqtR5wd+XL
> usJ7o2tXQG0ytcGj3D3ZtT7/WautA6Tcf+3Ius8TlAjEccpnKQ52mfets16TqaZ8
> JYo/R7rD3Y5OULHogFltnPeHngH17zVynshyqiL64X1kIASBhdvENCfXmB7+Xbgf
> HWDBmVLlh8JWepTAe0JQaywiNeYXEMFZxIWQA5QfaUHA7ZO088NyjL+fn3gHPhJC
> AjVoOXiV25m0+trW5L6BdK2LyCwNPvdmL/sbzeA+mctRFBBwwSNg7fBVRzXdsBk=
> =hJGG
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
Geek, Rubyist, Emacser
Homepage: http://zw963.github.io



More information about the squid-users mailing list