Warning, long e-mail.

Folks I have had a project baking in the back of my mind for the last
year and finally I am feeling the urgency to get this underway.  I hope
that I can convince some of you to participate in this as it is a very
consequential project, particularly for LDS people.  I know this is a
bit of an emotionally-manipulative intro, appealing to our "mormon-ness"
but bear with me.

I have used DansGuardian successfully as a web filter personally, and
set it up for friends and family. However it is lacking a good, flexible
way for families to administer it to their own needs.  There are a
number of UIs available for it, but each that I've looked at falls short
of what is really needed.  With that in mind, I propose a project to
create a DansGuardian web UI (or a normal GUI for some cases) that
addresses the specific needs that parents have related to me.
Fortunately all the software already exists to make DansGuardian
flexible.  We just need to glue the pieces together.

The pieces are:
1. iptables or ipfw on OS X
2. tinyproxy, patched to listen on multiple ports, and connect to
dansguardian on respective ports
3. dansguardian, patched to listen on multiple ports, assigning
different filter groups to different listening ports.

I want to target the following situations:
1. DansGuardian running on the router, along with tinyproxy
2. tinyproxy running on the router, DansGuardian running on another box,
such as a dedicated linux machine or a coLinux virtual machine.  UI
would have to reach the router to apply iptables changes to it.  This is
probably the current setup most of us have in the UUG (well not colinux!)
3. tinyproxy and dansguardian running on a standalone linux/OS X machine
4. Windows?

Features:
- different filtering criteria based on ip address range, or specific
mac addresses.  This can be accomplished by directing traffic with
iptables into different filter groups through tinyproxy and dansguardian
- time-based access -- shut off web access at particular times for
certain computers
- some kind of overall parental lockout (one parent suggests that this
could be done with a USB key of some sort -- pull it out of the router
or computer and web access goes off.  lmhasp anyone! ;) kidding. )
- overrides (via dansguardian blocked page thing)
        - unblock current site/url for x number of minutes
        - unblock for this computer only
        - unblock for everyone
- whitelist, greylist, bannedlist configuration
- filter groups
        - global lists
        - inherited lists
- other ideas?

How should it be done:
- cross-platform, web ui.  As in works in the different situations I
outlined above.  On a router, it would be nice to integrate with
OpenWRT's X-wrt, which is just a nasty bash/awk-based CGI. However we're
not limited to bash and awk as the hardware we're targeting is either a
full computer or a much more powerful router.  My current prototype
router has python on it.  But we need to be able to run standalone in
the colinux instance, without X-Wrt.
- A standalone Mac GUI might be nice. PyQt perhaps?  CocoaHeads do it in
 native Cocoa?
- patch dansguardian - patch already exists to listen on multiple ports
8080,8081,8082, etc, and map those ports to particular filter groups.
Critical to the functionality I've mentioned above, particularly in
regards to per-computer settings.  Otherwise DG filtergroups normally
only work with authentication, which I've found to be not necessarily
desired.
- patch tinyproxy so that we can listen transparently on ports and
connect to respective ports on dansguardian. This patch does not yet
exist but is trivial.  This would be how we could use iptables to assign
certain hosts to certain filter groups.

Basically, down the road I foresee having a complete hardware solution
that consists of a router, openwrt, and dansguardian, all in one box.  I
already have a prototype box built.  I am willing to buy more boxes if
desired. But I think the majority of development can just be done on
home linux boxes.

Another future project possibility for those who can't afford the more
powerful routers would be a install CD that would install coLinux and
the DG filter on the windows computer, and then firmware that could be
uploaded to a Linksys WRT54GL that can all tie in to this UI system.

I know some of you will immediately respond with suggestions for
existing GUIs.  I have looked at them all and none of them offer the
depth of functionality that I'm talking about here. The management of
multiple filter groups and the tight coupling with router configuration
just isn't possible in any existing GUI.

Long email.  Any thoughts?  Does this sound like a project that would
interest any of you?  Please let me know!  Who knows but perhaps there
will be several UUG presentations that could come of this!

cheers,
Michael

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to