Re: Block PC using Mac address in squid



You can get the source from

ftp://ftp.redhat.com/pub/redhat/linux/enterprise/

Install the SOURCE RPM. Edit the spec file, add --eanble-arp-acl

and then

rpmbuid -bb squid.spec

--
========================================
Marcos Aurelio Rodrigues (DEiGrAtiA-33)
<deigratia33@xxxxxxxxx>
CCNA, MCSO
Mirabilia laudo semprer, Dei
========================================


On Jan 31, 2008 1:56 AM, Vivek Mangal <vivek.mangal9685@xxxxxxxxx> wrote:

How can i rebuild my squid ?
i tried to find some latest source or rpms but nothing happen.
can u give me some idea ?

| 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.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages