[SURBL-Discuss] Re: Using (SU)RBL with a browser, any way to do it? (was <snip> )

Ralph Seichter mailing-list at seichter.de
Thu Jul 15 14:30:14 CEST 2004


Nicolas Riendeau wrote:

 > It would be nice if squid could use (SU)RBL though... (-;

Native SURBL support for Squid would be a GoodThing(TM) indeed. Until
then, if the SURBL team provided lists of blacklisted domains, one
could pipe the data into a script along the lines of

   #!/usr/bin/perl
   my $acl_name = 'known_spammer_domains';
   while (<>) {
     print "acl $acl_name dstdomain $_" unless /^[#\s]{0,}$/;
   }
   print "http_access deny $acl_name\n";

to generate local Squid rules...

-- 
Mit freundlichen Grüßen / Yours sincerely
Dipl. Inform. Ralph Seichter

HORUS-IT
Ahornweg 10
D-57635 Oberirsen
Tel +49 2686 987880
Fax +49 2686 987889
http://horus-it.de/




More information about the Discuss mailing list