From reading lots and lots of web pages I've come to the conclusion that:
to filter adult content (not block it completely) from https sites like Twitter I would need to setup something like dansguardian/squid etc. on my Ubuntu proxy box to perform a Man In The Middle interception of SSL.
Does anybody know if it's possible to do something like the following on my Ubuntu proxy:
use a language such as bash/php to grab the 'contents' of specific https sites like Twitter that the user has requested (i.e. not breaking SSL). This would be like pressing ctrl-a / ctl-c in a browser.
write the contents to a file that is passed on to dansguardian.
dansguardian then either allows or blocks the page depending upon its keyword filtering.
I'm already using OpenDNS / hosts file redirection which does a good job but not for sites like Twitter.
I've looked into technologies such as Untangle/K9 Web Protection but I am ideally searching for a free solution that can sit on a proxy. If I can leave SSL alone it seems like it would be easier/more secure/less support calls.
Thanks!