Solved

Squid Blocking by mac address

Posted on 2007-11-16
4
4,183 Views
Last Modified: 2013-12-06
Hi Experts,

I have to configure my squid to allowed and disallow user by mac address. Three files are involved "mac_full_access.acl",  "mac_limited_access.acl" to where all mac addresses listed and "url_blocked.acl"  for URLs. I want to restrict "mac_limited_access.acl" to access "url_blocked.acl". See my config below:

acl mac_full_access arp "/etc/squid/mac_full_access.acl"
acl mac_limi_access arp "/etc/squid/mac_limited_access.acl"
acl blocked_url url_regex "/etc/squid/url_blocked.acl"

http_access deny blocked_url !mac_full_access mac_limi_access

This config is not working... Still mac_limited_access.acl can access site listed in url_blocked.acl.

Please help.


Thanks.

0
Comment
Question by:marvelsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:yhetti
ID: 20414599
Would it perhaps work if you changed the order up a bit?

http_access allow blocked_url mac_full_access
http_access deny blocked_url mac_limi_access
0
 
LVL 6

Accepted Solution

by:
ixti earned 50 total points
ID: 20681086
Change
http_access deny blocked_url !mac_full_access mac_limi_access
to
http_access deny blocked_url !mac_full_access
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21197892
Forced accept.

Computer101
EE Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question