LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-05-2004, 06:50 AM   #1
Bobbychat
LQ Newbie
 
Registered: Oct 2003
Location: India
Distribution: Redhat 8
Posts: 8

Rep: Reputation: 0
Day Specific Access control for Squid


Hi,
I have Redhat 8 with Squid 2.4.I have been asked to block internet access on Sundays,which I have done through:

acl bannedtime time [day-S][00:00-24:00]
http_access deny bannedtime
http_access allow all

It is banning all internet traffic on Sundays.

The situation is, I want to ban normal users on sundays and give access to Admins on Sundays.Is there any way to do it through host name of the client?

Thanks


Bobbychat
 
Old 04-04-2011, 05:28 AM   #2
newFreeBSD
Member
 
Registered: Mar 2006
Location: Malaysia, Putrajaya
Distribution: CentOS, Ubuntu, Fedora
Posts: 54

Rep: Reputation: 0
If you use different subnet/vlan for normal user and admin, possible it can be done. I use different subnet for user in my office. Easy for me to manage.I use squid with squidGuard.

Regards,
Banie.
 
Old 04-04-2011, 11:58 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,491

Rep: Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123Reputation: 8123
Quote:
Originally Posted by newFreeBSD View Post
If you use different subnet/vlan for normal user and admin, possible it can be done. I use different subnet for user in my office. Easy for me to manage.I use squid with squidGuard.
That's one very difficult way. The easier way is to base the ACL on the user ID's, not subnets/vlans.

And you do realize that you're answering a thread that is SEVEN YEARS OLD, right?
 
  


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
Squid Access Control Lists Basics Palula Linux - Software 1 11-22-2005 06:29 PM
block specific users in squid alan.belizario Linux - Security 4 09-10-2005 12:43 AM
squid + bandwidth cutoff at specific times of day avirup dasgupta Linux - Networking 2 09-01-2005 03:42 AM
Squid Access Control acompw Linux - Software 2 09-02-2004 08:42 PM
Squid Access Control aaronsols Linux - Networking 1 09-30-2002 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:59 PM.

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