LinuxQuestions.org
Visit Jeremy's Blog.
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 09-25-2009, 07:50 AM   #1
codenjanod
Member
 
Registered: Oct 2006
Posts: 38

Rep: Reputation: 15
Squid and Dansguardian in use, but users to bypass proxy on certain times of the day


Hi all,

I am running a transparent squid proxy, Version 2.6.STABLE17 and Dansguardian, Version 2.8.0.6 on Redwall firewall and both work very well.
Maybe a bit too strict for most users liking.

Management has requested that all sites, except pornography, be accessible between 08:30 - 16:30

My configs are as follows:
squid.conf:
http_port 192.168.1.1:3128 transparent
acl business_hours time M T W H F 8:30-16:30
http_access allow lan business_hours

dansguardian.conf:
filterport = 8080
proxyip = 192.168.1.1
proxyport = 3128

How would I go about configuring Squid and Dansguardian to still block pornography between those hours but allow all other sites?


Thanks
 
Old 09-25-2009, 12:47 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,102

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
Quote:
Originally Posted by codenjanod View Post
Hi all,

I am running a transparent squid proxy, Version 2.6.STABLE17 and Dansguardian, Version 2.8.0.6 on Redwall firewall and both work very well.
Maybe a bit too strict for most users liking.

Management has requested that all sites, except pornography, be accessible between 08:30 - 16:30

My configs are as follows:
squid.conf:
http_port 192.168.1.1:3128 transparent
acl business_hours time M T W H F 8:30-16:30
http_access allow lan business_hours

dansguardian.conf:
filterport = 8080
proxyip = 192.168.1.1
proxyport = 3128

How would I go about configuring Squid and Dansguardian to still block pornography between those hours but allow all other sites?


Thanks
This should help get you going.
http://www.ivankristianto.com/2009/0...ur-with-squid/

However, I'd tell your management they're being idiots. Folks are at work, and unless you're blocking work-related websites, the users can quit complaining. Disabling proxy rules to suit users is just plain dumb.
 
  


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
restrict users to bypass the squid proxy server rashid_47010 Linux - Server 2 08-05-2009 11:35 AM
DansGuardian integration with Squid proxy..... linuxlover.chaitanya Linux - Server 19 12-19-2008 12:59 AM
How to bypass proxy auth using squid sixth_sense Linux - Networking 7 09-20-2007 07:43 PM
Using iptables to bypass squid proxy for a specific domain jcopley Linux - Security 3 07-18-2007 01:50 PM
squid + bandwidth cutoff at specific times of day avirup dasgupta Linux - Networking 2 09-01-2005 03:42 AM


All times are GMT -5. The time now is 05:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration