LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-23-2009, 09:57 AM   #1
Winanjaya
Member
 
Registered: Sep 2003
Posts: 208

Rep: Reputation: 31
squid acl


Dear All,

I have 2 files "lst_users" contained list of user's mac address
and "lst_freesites" contained list of allowed sites for guest users
(user with unrecognized mac address)

users with recognized mac address are allowed to visit to all of internet sites.
users with un-recognized mac address are required to enter valid user id and password if he/she want to access to all of internet sites.

I am running squid 3 on my FC 10..

any body please help me what should I do with squid?

many thanks in advance

Regards
Winanjaya
 
Old 04-23-2009, 11:03 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
Not all operating systems supports Mac address based filtering. Squid calls these "ARP ACLs" and they are supported on Linux, Solaris, and BSD variants.

rebuild your squid with mac filtering support:
# ./configure –enable-arp-acl …
# make clean
# make


Then in your squid.conf:

auth_param basic program /yo_auth/program_here
auth_param basic children 10
auth_param basic realm "Your Org Real Here"
auth_param basic credentialsttl 5 minutes

acl authed proxy_auth REQUIRED
acl known_macs arp lst_users
acl freesites dstdomain lst_freesites

http_access allow known_macs
http_access allow !known_macs authed freesites
http_access deny all

Last edited by chitambira; 04-23-2009 at 11:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACL not working in Squid Ahmad Gurchani Linux - Security 1 05-02-2006 06:49 PM
Squid acl help cgelectek Linux - Networking 3 11-10-2005 11:04 PM
Squid ACL Question kemplej Linux - Security 5 08-03-2004 10:56 AM
acl software for squid aqoliveira Linux - Software 1 04-26-2003 04:23 PM
Squid ACL dfctve_end_user Linux - Networking 2 01-13-2003 09:30 AM


All times are GMT -5. The time now is 08:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration