Block PC using Mac address in squid

Cameron Simpson cs at zip.com.au
Wed Jan 30 12:17:40 UTC 2008


On 30Jan2008 17:32, Vivek Mangal <vivek.mangal9685 at gmail.com> wrote:
| Any one have any idea how to block PC in Squid using Mac Address.
| I tried as in /etc/squid/squid.conf
| 
| acl block arp 00:13:45:d3:24:e4
| https_access deny block
| 
| but it give me error as like: - (This is the output of # squid -k parse)
| aclParseAclLine: Invalid ACL type 'arp'
| FATAL: Bungled squid.conf line 1234: acl block arp 00:13:45:d3:24:e4
| squid Cache (Version 2.5.STABLE6): Terminated abnormally.

The normal squid.conf describes the "arp" acl type and says:

  The arp ACL requires the special configure option --enable-arp-acl.

So you will need to rebuild squid from source with this option.
Then you should be fine.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Ed Campbell's <ed at Tekelex.Com> pointers for long trips:
3. Stop and take a break before you really need it.




More information about the redhat-list mailing list