Post Reply 
Force proxy for select sites
Apr. 10, 2011, 04:56 PM
Post: #1
Force proxy for select sites
Hi all. Having difficulties figuring out somethings re filters below.
Code:
[HTTP headers]
In = TRUE
Out = TRUE
Key = "!-|||||||||||||| Proxy: Force proxy select sites from autolist (Out) {sh8an}"
URL = "(^$TST(keyword=*.i_proxy:2.*))"
Match = "$URL(*$LST(ForceProxy)*)"
Replace = "$SET(keyword=i_proxy:2.)$JUMP(\u)"

In = TRUE
Out = FALSE
Key = "Location: 5 Route redirects through proxy (In) {sh8an}"
URL = "(^$TST(keyword=(*.|)i_proxy:2.(|*)))"
Match = "*redirected.com/"
Replace = "$JUMP(\u?prx-keyword=.i_proxy:2.)$ADDLST(ForceProxy,\h/\t\t\t\t##something)$LOG(RADD: \h to list)"

1. Force proxy
having problems with keyword. when i do just $SET(keyword=i_proxy:2.) proxy is not activated, with a jump i end up in a loop.
2. Autofill redirect list filter
What is the easy way of getting the TLD from \h? the way it is right now http://www.somesite.com/ gets inserted. i would like to have it ([^/]++.|)somesite.com/

The overall logic is as follows. there is a transparent proxy down the line which redirects with 302 on some specific sites. when this happens i want proxo to spot the redirect, add the TLD of the denied site to ForceProxy list (in order to use external proxy straight away in the future), and jump to URL using proxy.
would appreciate any suggestions.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Force proxy for select sites - sh8an - Apr. 10, 2011 04:56 PM
RE: Force proxy for select sites - JJoe - Apr. 10, 2011, 06:05 PM
RE: Force proxy for select sites - sh8an - Apr. 11, 2011, 06:12 AM
RE: Force proxy for select sites - JJoe - Apr. 12, 2011, 02:56 AM
RE: Force proxy for select sites - sh8an - Apr. 12, 2011, 05:52 AM

Forum Jump: