[squid-users] restricting access by MAC

From: Viorel Serbu <sviorel@dont-contact.us>
Date: Mon, 8 Dec 2003 15:22:29 +0200

Hi All
I tryed to restrict internet access using acl arp in the squid.conf, but it
doesnt work.
I put in the squid.conf the following lines

acl lanaccess arp 00:20:E0:6F:FF:8D 00:50:FC:B4:22:68 00:06:4F:05:28:AD
http_access allow lanaccess

just before the existing - http_access deny all

I restarted the squid but nothing happens. Everybody can access the internet
(through proxy) like before, no matter its MAC.
The server is a suse 8.2 linux and below is the ouput of the squid -v
command

Squid Cache: Version 2.5.STABLE1
configure options: '--prefix=/usr' '--sysconfdir=/etc/squid'
'--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--localstatedir=/var'
'--libexecdir=/usr/sbin' '--datadir=/usr/share/squid' '--with-dl'
'--enable-snmp' '--enable-carp' '--enable-useragent-log'
'--enable-auth=basic digest ntlm' '--enable-basic-auth-helpers=LDAP MSNT
NCSA PAM SMB YP getpwnam multi-domain-NTLM winbind'
'--enable-ntlm-auth-helpers=SMB no_check winbind'
'--enable-digest-auth-helpers=password' '--enable-ntlm-fail-open'
'--enable-referer-log' '--enable-arp-acl' '--enable-htcp'
'--enable-underscores' '--enable-stacktraces' '--enable-delay-pools'
'--enable-ssl' '--enable-cache-digests'
'--with-samba-sources=/usr/include/samba' '--enable-x-accelerator-vary'

I downloaded the source files I rebuilt the binaries with the explicit
option in configure --enable-arp-acl
The result is the same: no access restriction.

Thx
Viorel Serbu
Received on Mon Dec 08 2003 - 06:21:49 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:06 MST