Solved

Squid Blocking by mac address

Posted on 2007-11-16
4
4,172 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
4 Comments
 
LVL 3

Expert Comment

by:yhetti
Comment Utility
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
Comment Utility
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
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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. …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now