Post Reply 
Great filters...
Mar. 02, 2009, 06:19 AM
Post: #20
RE: Great filters...
The filter I really appreciate from the time when this forum was hosted by Lycos were the cookie filters that filtered by content of cookie.
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Cookie: Filter Cookies (out)"
Match = "?&(\#([^;]++$LST(CookieValues)[^;]+)\2$SET(cookie=[ \2 ] $GET(cookie))(;|))+\#"
Replace = "\@"

In = TRUE
Out = FALSE
Key = "Set-Cookie: Filter Cookies (in)"
Match = "?&(\#([^;]++$LST(CookieValues)[^;]+)\2$SET(cookie=[ \2 ] $GET(cookie))$LOG(!WCookie Filtered: $GET(cookie) - \u )(;|))+\#"
Replace = "\@"

The blocklist was called Cookie-Values.txt. Here it is:
# Proxomitron4 URL killfile: $LST(CookieValues) | Cookie Values.txt
# NoAddURL
#
# "Set-Cookie: Filter Cookies" uses a recursive match to remove the
# following entries. This is so multiple entries can be removed at
# once. This filter does not block the cookie if the below values are
# found. It only removes the value from the cookie.
# Basically, the match is pretty simple..
#
# *$LST(CookieValues)*
#
# So, if you add "ID" to this list,
# ID, DID and IDIOT would match.
# It is very important to be precise with the entries you add. ;)
#
# Below are some examples of what kind of values you can filter
#
# Example sites:
# www.ddimagazine.com/
# ecommercetimes.com/
# ign.com/
# www.indexstock.com/
# www.news24.com/
# www.salon.com/
# www.securityfocus.com/
# techtv.com/
#
# Also note, existing cookies are not filtered for Set-Cookie.
#
# IP Cookies
# Find your IP at:
# http://inet-police.com/cgi-bin/env.cgi
# -----------------------------------------------
# [#0:255].[#0:255].[#0:255].[#0:255]
#
# Host Name Cookies
# Find your host name at:
# http://www.gemal.dk/browserspy/whois.cgi
# -----------------------------------------------
cs[^.]+.satx.rr.com
ool[^.]+.dyn.optonline.net
# ID Cookies
# Not all ID's are bad.
# Don't go overboard...
# -----------------------------------------------
SWID=
GUID=
GuidID=
SaneID=
#
# Nosy Cookies - Disabled by Default
# -----------------------------------------------
#Opera([^a-z.]|(^?))
#Windows([^a-z.]|(^?))
#Netscape([^a-z.]|(^?))
#Mozilla([^a-z.]|(^?))
#Explorer([^a-z.]|(^?))
#Track([^a-z.]|(^?))
#
# SiteSpecific
# -----------------------------------------------
# USA Today
BrowserSniffer=
#
# BBC
BBC-UID=
#
#Proxomitron Forum
AdFrame(PHP|)=
adFrameForce(PHP|)=
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - AntiTrust - Apr. 10, 2004, 10:27 AM
RE: Great filters... - JakBeNymble - Feb. 28, 2009, 08:20 AM
RE: Great filters... - lnminente - Feb. 28, 2009, 03:24 PM
RE: Great filters... - turtle - Feb. 28, 2009, 05:58 PM
RE: Great filters... - JakBeNymble - Feb. 28, 2009, 09:09 PM
RE: Great filters... - Toppy - Feb. 28, 2009, 10:23 PM
RE: Great filters... - JakBeNymble - Mar. 01, 2009, 02:15 AM
RE: Great filters... - Siamesecat - Mar. 02, 2009 06:19 AM
RE: Great filters... - lnminente - Mar. 02, 2009, 10:52 AM
[] - Shea - Apr. 10, 2004, 03:19 PM
[] - AntiTrust - Apr. 10, 2004, 03:53 PM
[] - Shea - Apr. 10, 2004, 04:31 PM
[] - AntiTrust - Apr. 10, 2004, 05:57 PM
[] - Kye-U - Apr. 10, 2004, 07:02 PM
[] - Shea - Apr. 10, 2004, 11:08 PM
[] - Kye-U - Apr. 10, 2004, 11:31 PM
[] - Shea - Apr. 11, 2004, 12:47 AM
[] - JakBeNymble - Feb. 07, 2005, 07:03 AM
[] - Oddysey - Feb. 08, 2005, 03:45 AM
[] - Siamesecat - Feb. 08, 2005, 06:56 AM
[] - gorgan - Feb. 08, 2005, 06:36 PM

Forum Jump: