?
Solved

Squid Blocking by mac address

Posted on 2007-11-16
4
Medium Priority
?
4,205 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
3 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

809 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