Hello,
I've just adapted an old script I use with squid to remove unwanted ads to use surbl...
This works as a redirector - this means, each time someone ask for an url matching surbl database, squid will redirect the query to a locally saved web page - e.g. a web page showing the site policy or a simple error message.
For the while, this is a very draft script, but it works fine.
I'll surely improve it and maybe write a C version which shall be much faster for huge domains.
You can get it at :
http://j-chkmail.ensmp.fr/surbl/squid-surbl-it
All feedback is welcome.
Best
Jose-Marcio
Hey,
Jose Marcio Martins da Cruz wrote:
I was running something like this a few months back and was shot out of the sky by Jeff. At the time reason given was that this is not what SURBL is meant for and this is not how it should be used. I agree. If you have SURBL running on inbound email, none of the offending URI should make it though anyway.
Situations changed ? Also, there seem to be a few more DNS hosts serving out SURBL thesedays - could these handle a mass adoption at web access level ?
- KB
Hello,
Karanbir Singh wrote:
I don't know. I adapted this script as it was simple for me to do that and as I saw some guys asking for something of the kind.
I don't use this at our domain, mainly for legal reasons. But it seems to me that it may be very interesting, mainly and at least for phishing fraud and similar things.
The filter we use here doesn't reject messages, but tag them. So final recipient is allways able to see the web site. So each site is different, and surely maybe some domains to which this kind of URL filtering may be interesting.
On the other hand, this afternoon, there will be another new version with some improvements : local cache, better URL handling, ...
In the TODO list, there is handling of numeric URIs and query answer selection based on the code returned.
Jose-Marcio