rhodopsin
11-10-2004, 02:58 PM
I wish to put a javascript on my site that will redirect users if they are using a proxy.
Information, transmitted by a client to a server is available (accessible) for a server as environment variables. How do I get hold of these environmental variables in javascript??
I want to redirect surfers for when their environmental variable
HTTP_VIA = not empty
What is the above line in javascript?
I think this strategy will be good for redirecting users using a proxy as HTTP_VIA not being empty indicates the surfer using a proxy. Although of course it will not work for elite proxies - proxues that can hide that a proxy is even being used - where HTTP_VIA IS empty. Below, I have put a bit of info about the different proxy types for your interest.
P.S does anyone know what percentage of web surfers use a proxy? What percentage of these use a transparent proxy and what percentage an anonymous proxy?
1) Transparent Proxies They do not hide information about your IP address:
REMOTE_ADDR = proxy IP
HTTP_VIA = proxy IP
HTTP_X_FORWARDED_FOR = your IP
2) Anonymous Proxies
a) simple anonymous proxies - these do not hide that a proxy is being used. They replace your IP with their own
REMOTE_ADDR = proxy IP
HTTP_VIA = proxy IP
HTTP_X_FORWARDED_FOR = proxy IP
b) distorting proxies - these do not hide that a proxy is being used. They replace your IP with another (arbitary, random) IP
REMOTE_ADDR = proxy IP
HTTP_VIA = proxy IP
HTTP_X_FORWARDED_FOR = random IP address
c) High Anonymity Proxies (Elite proxies)
REMOTE_ADDR = proxy IP
HTTP_VIA = not determined
HTTP_X_FORWARDED_FOR = not determined
Information, transmitted by a client to a server is available (accessible) for a server as environment variables. How do I get hold of these environmental variables in javascript??
I want to redirect surfers for when their environmental variable
HTTP_VIA = not empty
What is the above line in javascript?
I think this strategy will be good for redirecting users using a proxy as HTTP_VIA not being empty indicates the surfer using a proxy. Although of course it will not work for elite proxies - proxues that can hide that a proxy is even being used - where HTTP_VIA IS empty. Below, I have put a bit of info about the different proxy types for your interest.
P.S does anyone know what percentage of web surfers use a proxy? What percentage of these use a transparent proxy and what percentage an anonymous proxy?
1) Transparent Proxies They do not hide information about your IP address:
REMOTE_ADDR = proxy IP
HTTP_VIA = proxy IP
HTTP_X_FORWARDED_FOR = your IP
2) Anonymous Proxies
a) simple anonymous proxies - these do not hide that a proxy is being used. They replace your IP with their own
REMOTE_ADDR = proxy IP
HTTP_VIA = proxy IP
HTTP_X_FORWARDED_FOR = proxy IP
b) distorting proxies - these do not hide that a proxy is being used. They replace your IP with another (arbitary, random) IP
REMOTE_ADDR = proxy IP
HTTP_VIA = proxy IP
HTTP_X_FORWARDED_FOR = random IP address
c) High Anonymity Proxies (Elite proxies)
REMOTE_ADDR = proxy IP
HTTP_VIA = not determined
HTTP_X_FORWARDED_FOR = not determined