Post Reply 
Problem with "\h"
Jul. 30, 2004, 08:23 AM
Post: #11
 
I may have discovered a stopgap solution to the problem of matching referers of URLs with a country code. It is working so far, anyway.

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Referer: Fake if country code (out)"
Match = "(*|)(http(s|)://*.??(/|(^?)))"
Replace = "www.dkdfufj.com/blah/"

In = FALSE
Out = TRUE
Key = "Referer: Hide previous host (out)"
Match = "?&(^(*|)(http(s|)|ftp)://\h)"
Replace = "\h/"
The first filter forces a nonsense referer if the suffix on the hostname has only two characters. The second one sees a difference between this referer hostname and the current host and changes the referer to the current hostname. The only potential problem is that some servers do not take kindly to altered referers when a client is navigating within their domain.

Perhaps a similar matching technique could be used for other header filters as well. Getting something like this to work does seem to require more than one filter.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - z12 - Jul. 29, 2004, 12:58 AM
[] - ProxRocks - Jul. 29, 2004, 02:33 AM
[] - z12 - Jul. 29, 2004, 03:32 AM
[] - Siamesecat - Jul. 29, 2004, 07:31 AM
[] - ProxRocks - Jul. 29, 2004, 11:27 AM
[] - z12 - Jul. 29, 2004, 01:54 PM
[] - sidki3003 - Jul. 29, 2004, 02:32 PM
[] - ProxRocks - Jul. 29, 2004, 03:59 PM
[] - Siamesecat - Jul. 29, 2004, 08:18 PM
[] - z12 - Jul. 30, 2004, 02:26 AM
[] - Siamesecat - Jul. 30, 2004 08:23 AM
[] - sidki3003 - Jul. 30, 2004, 10:57 AM
[] - z12 - Jul. 30, 2004, 11:16 AM
[] - z12 - Jul. 30, 2004, 11:39 AM
[] - z12 - Jul. 30, 2004, 01:36 PM
[] - ProxRocks - Jul. 30, 2004, 03:43 PM
[] - Oddysey - Jul. 30, 2004, 04:49 PM
[] - z12 - Jul. 30, 2004, 06:45 PM
[] - z12 - Jul. 30, 2004, 06:48 PM
[] - sidki3003 - Jul. 30, 2004, 07:41 PM
[] - sidki3003 - Jul. 30, 2004, 07:49 PM
[] - sidki3003 - Jul. 30, 2004, 08:22 PM
[] - ProxRocks - Jul. 30, 2004, 08:23 PM
[] - Oddysey - Jul. 30, 2004, 10:33 PM
[] - z12 - Jul. 30, 2004, 11:33 PM
[] - Siamesecat - Jul. 30, 2004, 11:56 PM
[] - sidki3003 - Jul. 31, 2004, 05:14 PM

Forum Jump: