Block PC using Mac address in squid

dbcooper dclinuxlist at gmail.com
Wed Jan 30 23:51:34 UTC 2008


You do know that you can't block a MAC address once it crosses a router, as
MAC is layer 2 only.
Unless your just doing this on your local LAN etc.

Hope that helps.

On Jan 30, 2008 6:31 PM, Cameron Simpson <cs at zip.com.au> wrote:

> On 30Jan2008 22:12, Mad Unix <madunix at gmail.com> wrote:
> | > | 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.
> |
> | question: i did the install of squid through yum , how can i add the MAC
> | support in this case...
>
> Fetch the squid source. Build with correct option and also
> --prefix=/usr/local. Install. Run the new one and not the yum one.
>
> And don't top post - it makes you look silly. English text reads down
> the page, so replies belong on the BOTTOM of the post, under _trimmed_
> quoted material.
> --
> Cameron Simpson <cs at zip.com.au> DoD#743
> http://www.cskk.ezoshosting.com/cs/
>
> "But of course my dear," I'd meant to say, "allow me to whisk you off
> on my gleaming steed for a day of unparalleled wonders and delights."
> But we both know it came out grudgingly along the lines of "Yeah
> awright, who's gonna babysit?"  - John Rooth, _Two Wheels_ Nov96
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list