i am unable to block by mac address in squid proxy server 2.6 and i also go through with these step.......
process is here to enable mac arp in squid
1. Download
ftp://ftp.redhat.com/pub/redhat/linu...n/os/SRPMS/squ...
load it with
2. rpm -ivh squid-2.6.STABLE6-5.el5_1.3.src.rpm
then
3. updatedb
4. vim /usr/src/redhat/SPECS/squid.spec
5. add two line as below at %configure section see last two lines.
%configure \
** --exec_prefix=/usr \
** --bindir=%{_sbindir} \
** --libexecdir=%{_libdir}/squid \
** --localstatedir=/var \
** --datadir=%{_datadir} \
** --sysconfdir=/etc/squid \
** --enable-epoll \
** --enable-snmp \
** --enable-removal-policies="heap,lru" \
** --enable-storeio="aufs,coss,diskd,null,ufs" \
** --enable-ssl \
** --with-openssl=/usr/kerberos \
** --enable-delay-pools \
** --enable-linux-netfilter \
** --with-pthreads \
** --enable-ntlm-auth-helpers="SMB,fakeauth" \
** --enable-external-acl-helpers="ip_user,ldap_group,unix_group,wbinfo_group" \
** --enable-auth="basic,digest,ntlm" \
** --enable-digest-auth-helpers="password" \
** --with-winbind-auth-challenge \
** --enable-useragent-log \
** --enable-referer-log \
** --disable-dependency-tracking \
** --enable-cachemgr-hostname=localhost \
** --enable-underscores \
** --enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL" \
** --enable-cache-digests \
** --enable-ident-lookups \
** %ifnarch ppc64 ia64 x86_64 s390x
** --with-large-files \
** %endif
** --enable-follow-x-forwarded-for \
** --enable-wccpv2 \
** --enable-fd-config \
** --with-maxfd=16384 \
** --enable-arp \****** <==========added line 1
** --enable-arp-acl \** <==========added line 2*********
6. rpmbuild -ba /usr/src/redhat/SPECS/squid.spec
7. Wait some time let it compile have cup of coffee
then load the rpm
rpm -ivh /usr/src/redhat/RPMS/i386/squid-2.6.STABLE6-5.3.i386.rpm
8. Then edit /etc/squid/squid.conf
*
#----the sample code-----
acl aclmac arp 00:08:A1:95:714
http_access deny aclmac