Solved

Squid Blocking by mac address

Posted on 2007-11-16
4
4,184 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

732 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