LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 06: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, 11:47 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
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



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

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

All times are GMT -5. The time now is 12:21 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