LinuxQuestions.org
Help answer threads with 0 replies.
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, 10:57 AM   #1
Winanjaya
Member
 
Registered: Sep 2003
Posts: 239

Rep: Reputation: 32
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, 12:03 PM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
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 12:05 PM.
 
  


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 07:49 PM
Squid acl help cgelectek Linux - Networking 3 11-11-2005 12:04 AM
Squid ACL Question kemplej Linux - Security 5 08-03-2004 11:56 AM
acl software for squid aqoliveira Linux - Software 1 04-26-2003 05:23 PM
Squid ACL zeroability Linux - Networking 2 01-13-2003 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration