banlist doc (Re: Mega-patch for 2.2.Stable3 + fastest redirector in town)

From: Stephen R. van den Berg <srb@dont-contact.us>
Date: Wed, 23 Jun 1999 20:48:00 +0200

Reuben Farrelly wrote:
>I like your stuff, particularly your redirector. I've just compiled it on
>my RH6 Linux box and it seems to work great.

Note, you need to patch squid to terminate with double newlines.

>How can I do this with cuciwhirl? Unfortunately my current redirector
>patterns don't seem to go well with Cuciwhirl - replacing "banlist" with my
>list causes Cuciwhirl to segfault when compiling :(

You need to modify the regexps slightly to make them transban compatible.

>I've attached my current redir file...can it be modified to be Cuciwhirl
>compatible?

Old format: Cuciwhirl format:
//xb.xoom.com/.* xb.xoom.com
//ads.clickagents.com/.* ads.clickagents.com
//ads.*.focalink.com/.* ads.*\.focalink.com

   Or even better, catch them all both with: ads.*

//www.linkbuddies.com/.* www.linkbuddies.com
//209.24.233.172/banner_request/.* 209.24.233.172/banner_request/
//members.easyspace.com/banner/.* members.easyspace.com/banner/
//data.webads.co.nz/webad.* data.webads.co.nz/webad
//.*adclub.net/.* .*adclub.net
//.*/.*ads.pl.* /.*ads.pl
//.*/adbans/.* /adbans/
//ad.*/.* ad.*

Anyway, you get the idea, I presume.

   In order to handle the CLOSEME action,
   a second condition and action would need
   to be defined in cuciwhirl.
   (Possible, but not done yet).
//members.tripod.com/adm/popup/.* CLOSEME

In case you didn't notice, the transban converter does some semi-clever
operation with domainnames and dots.
It tries to handle strings without / as just a domainname/hostname,
it tries to handle dots preceded by and followed by alphanumeric characters
by escaping them automatically (to get a real dot).

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).
"<Clarions sounding> *No one* expects the Spanish inquisition!"
Received on Wed Jun 23 1999 - 12:35:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:58 MST