linux sofware for Web content filtering during certain times


I am looking for software available on linux that will act as a content filter proxy during certain times of the day?

i only want to allow two sites to be viewed at the times i want to block every other site?

Is that possible?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I use dansguardian for my content filtering. There's no scheduler built-in, so I use cronjobs to replace config files, and reload the service, to imitate the scheduled allowed/disallowed times.
Daniel HelgenbergerCommented:
Do you want this to run at localhost or your firewall?

A combination of squid/transparent proxy and and squid guard will do this. Use later builds (v3.3 on) for https middle filtering.

If you want to run this on localhost, let squit listen on loopback and set loopback as your system proxy.
With squid guard you can setup powerful rules for content filtering as well as schedules.
Kerem ERSOYPresidentCommented:

You can use ipCop Firewall (the old version 1.4.20 and you can use urlfilter add-on which can do filtering based on squidGuard and allows time based controls. IpCop Firewall  Urlfilter Time Based Filtering..

This is free (but limited in capacity).

This is somewhat restrictive Free version:
Sophos UTM (formley Astaro) -

These are some other priced alternatives:
1. Untangle -
2. Vyatta -
3. Zentyal -
4. Smoothwall -

Based on Linux/BSD

The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

squid can do this out-of-the-box

cron jobs can setup your firewall to do the same
use a rule to allow your 2 sites
and a cron that runs every morning and adds a rule to block everything else
and a cron that deletes the above rule every evening
Daniel HelgenbergerCommented:
Please keep in mind, dnsguardian can easily be bypassed by setting a proxy server in your browser. Using a proxy server yourself is much more secure, since you can enforce this proxy on your network.
madunix (Fadi SODAH)Commented:
Look up DANS Guardian. ,this is an open source application to interface with Squid. Also you could use
The blacklists are the heart of every URL Filter! You can choose between several free and commercial distributions of blacklists on the net or create and use your own (or any combination of them).

Also before you swap to squid check the following list
using an actual proxy requires that you either setup (semi-)transparent proxying or setup all your clients to use an explicit proxy. though this is not that hard to do using wpad for example, this is still both easy to bypass and definitely overkill given the needs you express. if you already have a firewall that handles all the traffic, use it.
Daniel HelgenbergerCommented:
Still, missing some info from the author here.
agreed : many technologies we can help with integrating, but author's feedback on which way he would like to go and/or network details that would help with suggesting which would be most suitable. the technical level of the corresponding population would be quite helpful as well.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.