LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 08-18-2009, 12:06 AM   #1
rhce_naresh
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Rep: Reputation: 0
Question Access control with IP and MAC addresses (Squid)


hi to all
I was working on squid and i successfully installed the package and configured and running the squid on my system. And i am able to restrict the sites of what ever i want and what i want is how to restrict for a particular ip or mac address and where i have to mention that line how to right that can any body clearly say with example so that it will be very helpful.

thankful

Last edited by rhce_naresh; 08-18-2009 at 12:07 AM. Reason: security
 
Old 08-18-2009, 12:46 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,034

Rep: Reputation: 97
Naresh there are enough discussion at this forum about this ip or url block, as i know to block a particular site (say example google) the better way is block the url instead of ip's because they may use more than one ip's for a url, however you can block ip and mac address in iptable
 
Old 08-18-2009, 01:50 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,560

Rep: Reputation: Disabled
Ip addresses can be blocked using squid acls. You can restrict use of certain sites to certain ips as well.
Just use search function here at LQ that should give you a lot of answers.
 
Old 08-18-2009, 02:13 AM   #4
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
You can use MAC addresses to control access by using the arp ACL type.

BTW, I'm editing your thread title to something more descriptive, since "squid_ip" doesn't really say much about your question. Please don't make a habit of using these excessively short titles.

Last edited by win32sux; 08-18-2009 at 02:17 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Day Specific Access control for Squid Bobbychat Linux - Networking 2 04-04-2011 10:58 AM
How control bandwidth access width squid mburu Linux - Networking 1 05-27-2009 04:23 PM
Squid Access Control Lists Basics Palula Linux - Software 1 11-22-2005 05:29 PM
Squid Access Control acompw Linux - Software 2 09-02-2004 07:42 PM
Squid Access Control aaronsols Linux - Networking 1 09-30-2002 05:36 PM


All times are GMT -5. The time now is 05:13 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
Open Source Consulting | Domain Registration