Proxy Detection And Blocking.

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #14) by iGuest on Oct 17 2007, 04:45 PM. (Line Breaks Removed)
It doesn't matter whether any people here, right now, are living in China. Blocking proxies is a form of censorship. If you do, you take people's rights away. You can, you may, for "your server, your rules", just like the Chinese government can, for they set the rules in China. But no matter what the reasoning is, you're still taking away possibilities. Any assumption, be it "they a... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Programming > Scripting

Proxy Detection And Blocking.

Chesso
Hello, I have tried a few simple methods in PHP to detect and block proxies but it always fails (I tested on an easy to find online list, and not a single one was blocked, they all got the ok message).

It was only a simple X_FORWARD thingy, but even fromy my extensive searches, I find more information about how to get around detection, and not enough of how to detect lol.

Is there reasonable solution, aside from storing a massive list stamping the bandwidth into the ground (and not to mention page speed).

I don't know if the CPanel has anything included, but I am looking for a general solution (a mate of mine runs a site and needs this pretty bad).

Thanks smile.gif.

Reply

SilverFox
Chesso I have a python script that blocks tor...but I know you hate python wink.gif

This is something I also am interested in due to NH.

Reply

Chesso
Tor alone won't do much lol.

Reply

SilverFox
QUOTE
Tor alone won't do much lol.

If you need it for Comhack it'd do the job, but I'd recommend manual activation for that.

Privox (cantbustme, hidemyass, 250.eu, etc) proxies almost never change so you can block them like normal IPs.

As for other proxies, maybe have a script that is needed to view the site? Because most proxies block scripts.

Reply

jumbo
sounds cool. But some website can still detect it. Like microsoft.com or yahoo.com

Reply

ethergeek
I know some of the DNSBLs have known proxies in them for spam blocking...maybe you could do that? Another solution would be to try a port 80 connect() (this will also block people who have open web servers on their machines or something else listening there) to the client ip and if it gets back data, make them jump through a few hoops to get to the site. Or make them unable to post anonymously, etc.

Think of why you want to do this...if it's an abuse issue, great, but keep in mind you'll block people who have network nazis at work and school.

Reply

Chesso
I wish to block anonymous proxies only.

Why would someone in a legitimate circumstance require an anonymous one lol.

Reply

SilverFox
@ethergeek: If yo at school you have no bussniess logging onto most websites, epically those blocked. If your at work you need to be working.

As a developer of a game where multiple accounts is a big no-no I find that blocking proxies would be great and important and that there is no need for anonymous proxies unless your doing something naughty.

Reply

Chesso
Well I'm sure there is a legitimate use but I can't think of one, and haven't heard of anyone using it for one so yeah lol.

Reply

Quatrux
I don't see any point of blocking a proxy connection, due to I myself sometimes use a proxy and it is usually not bad and there are reasons, of course, some anonymous proxies might be used to hack your site and that you wouldn't be able to find them, but usually if you will want to be hacked by some good guru/hardcore hacker, a php script which won't let a connection with a proxy won't help you a lot, in fact I doubt it will help.. anyway, here is my script I wrote some years ago to determine the right ip address of the user:

CODE
function getStats() {

    global $s; // $s &= $_SERVER;

    /* Get Info about User */
    $stats['proxy']     = '';
    $stats['info']     = $s['HTTP_USER_AGENT'];
    $stats['page']     = $s['REQUEST_URI'];
    $stats['method']     = $s['REQUEST_METHOD'];

    /* Check Server Name */
    if (!isset($s['SERVER_NAME'])) {
        if (isset($s['HOSTNAME'])) {
            $stats['server'] = $s['HOSTNAME'];
        } elseif (isset($s['HTTP_HOST'])) {
            $stats['server'] = $s['HTTP_HOST'];
        } elseif (isset($s['SERVER_ADDR'])) {
            $stats = $s['SERVER_ADDR'];
        } else {
            $stats['server'] = 'localhost';
        }
    } else {
        $stats['server'] = $s['SERVER_NAME'];
    }

    /* Check http Proxy and IP Address */
    if (isset($s['HTTP_X_FORWARDED_FOR'])) {
        if (isset($s['HTTP_CLIENT_IP'])) {
            $stats['proxy'] = $s['HTTP_CLIENT_IP'];
        } else {
            $stats['proxy'] = $s['REMOTE_ADDR'];
        }
        $stats['ip'] = $s['HTTP_X_FORWARDED_FOR'];
    } elseif (isset($s['HTTP_CLIENT_IP'])) {
        $stats['ip'] = $s['HTTP_CLIENT_IP'];
    } else {
        $stats['ip'] = $s['REMOTE_ADDR'];
    }
    # Return the Array
    return $stats;
}


and the usage of this is something like $stats = getStats(); and you'll get an array, to see what it has you can just do a print_r($stats); and thats all, this script was written years ago, maybe some headers appeared or something better, so a google search or a search in the manual might also help to improve it. wink.gif

 

 

 


Reply

Latest Entries

iGuest
It doesn't matter whether any people here, right now, are living in China. Blocking proxies is a form of censorship. If you do, you take people's rights away. You can, you may, for "your server, your rules", just like the Chinese government can, for they set the rules in China. But no matter what the reasoning is, you're still taking away possibilities. Any assumption, be it "they are all criminals", "no user of mine lives in China", "most people do/are/want xxx anyways", will be not true for some subset. Denying this means you are being untruthful about what you are doing. For this reason I find your points and your unverifyable percentages particularly dishonest.

I'm not saying you can't block: I already said you can. I am saying any justification will be at least partly not true; there will be collateral damage. Question is, are you willing to live with what you're doing to your userbase?

In case you haven't stopped reading: I don't care at all whether you block. I do take offense at the backhanded reasoning. Just accept that you are censoring and be up front about it.

-Hunter

Reply

SilverFox
1. Do any of us live in China? I rest my case.
2. The answer to things like china is forcible revolution not proxies.
3. Using a German proxy won't tell you how fast from Germany as you have to connect to the proxy.
4. Open proxies can do just as good. You don't need anon. proxies.
5. Most people have PCs anyways at home and don't need to use their school one for anything but BS.

Tor is not blocked by an ISP and if your ISP doesn't want you getting it then get a new damn ISP. If I was an ISP I would like people following my guidelines. Look at it from their point of view.

In 90% of all sites proxies that are anon. are not legitimate, epically in an online browser game.

Reply

Chesso
In an online web browser game? (the purpose of this blocking of anonymous proxies).

School, Work or College: Shouldn't be playing it here anyway.

ISP Blocking sites: Who's problem is that? not mine lmao.

I know of, have played and participated (as staff) in a few such games and haven't heard of a single person with a legitimate excuse for using an anonymous proxy.

English sites don't tend to attract germans, arabs or chinese (within there respective countries)...... unless of course they have a good command of the english language.

Reply

ethergeek
QUOTE(SilverFox @ May 21 2007, 07:18 PM) *
there is no need for anonymous proxies unless your doing something naughty.


That's complete bullshit. Anonymous proxies are great for all kinds of things that are perfectly legal and acceptable behavior. You're projecting the actions of the few who abuse them onto the many that don't.

Example, let's say you're in a country with a restrictive regime that blocks most web sites, including world news (like the Arab countries, and China). Known proxies are quickly found and added to the block list at the ISP edges, so the only ones that work for them are the anonymous ones that people put up.

Another example, let's say (in my case when I was in high school) I wanted to read the Starr report at school, as part of a report that already got my instructor's approval for the controversial content matter. The library computers there could not pull up any part of the report because it contained sexually charged language and the staff at the library did not know how to fix it, since the firewall operated at the district level. An anonymous proxy is what got me through that.

Final example, let's say I want to see how fast my site loads for someone in say, Germany. I use a German proxy to fetch the page and time it, then I subtract the time it takes to load the same amount of data from the proxy page itself.

In closing, there are many legitimate uses of anonymous proxies, and some people use them simply because they're paranoid. Either way, when you block them you cut off a segment of your visitors/customers. Just something to keep in mind.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. ad hoc proxy detecting explorer - 2.28 hr back. (1)
  2. ad hoc proxy detecting - 2.31 hr back. (1)
  3. my country detection script - 11.52 hr back. (1)
  4. how do you disable internet explorer web proxy detection - 21.37 hr back. (1)
  5. detect open proxies ip address - 29.58 hr back. (1)
  6. iptables block anonimous proxy - 44.55 hr back. (1)
  7. yahoo invisible detector php script - 49.84 hr back. (1)
  8. web browser proxy detection, detecting my ip - 58.92 hr back. (1)
  9. proxy detector advance - 63.43 hr back. (1)
  10. javascript detect ip proxy - 68.61 hr back. (1)
  11. transparent proxy detection - 84.15 hr back. (1)
  12. building squid to block anonymous proxies - 89.60 hr back. (1)
  13. isp block detection tool - 99.36 hr back. (1)
  14. detect proxies and block script - 104.04 hr back. (1)
Similar Topics

Keywords : proxy, detection, blocking,

  1. How To Create Your Own Proxy Site (free And Easy)
    (13)
  2. Meridian Proxy Servers | New Proxy For Smart Broadband
    (2)
    Smart Broadbans Inc. is a wireless broadband internet service provider from the Philippines.
    Currently offering plan 999 of upto 512Kbps for download and 384Kbps for upload. Due to some
    feedback of some this ISP, users have created for find other way of speeding up their download speed
    upto full burst a canopy can manage. Now here are some Proxy servers under meridian telecoms, and
    smar broadband inc. 121.1.3.194 Port 8080 121.1.3.200 Port 8080 203.84.191.215 Port 8080 .. you
    may use those proxy server if you only subscribed to Smart Broadband Inc. Configuring pro....
  3. Proxy And Network Drive Script
    (2)
    At school they've decided to force us to use a proxy server (a sucky one because it's more
    offline than operational). As an Opera user, it's just a matter of pushing F12 to enable or
    disable the use of a proxy server, but IE users and FF will have to do a litlle bit more. That's
    why I've made this little "script" for the other users at school (in fact it's just a .reg
    file that windows will import). Set and enable a proxy server (copy the following code into a file
    with a .reg extention) CODE Windows Registry Editor Version 5.00 [HKEY_C....
  4. Howto - Transparent Proxy Using Squid
    (7)
    this is a quick and dirty how-to to set up a working transparent proxy for small office use. this
    one is a custom install note. it is NOT compatible with the default RPM packages provided by your
    linux vendors. use it at your own risk. also note that all the values provided here should be
    modified according to your specifications. DO NOT use the values as is! overview you have an
    internet gateway in your office: a. eth0 - external interface (ISP-provided IP) b. eth1 - internal
    interface (192.168.0.1) you want to place advantages such as web access speed-up, web a....
  5. Gaaah...my Isp Is Blocking Port 25!
    (1)
    So guys, this is my little poll about port 25 blocking. For those of you who have tried running
    local SMTP servers and failed simply because their ISP is so worried about so called
    spammers.....For those who don't know what i'm talking about: Sending mail requires an SMTP
    server. Most SMTP servers transmit data through port 25. However because of alleged spamming risks,
    many ISP block port 25 so you cannot run these sort of local SMTP servers. Personally, I believe
    that they do it so you can't run a very useful/succesful webserver. If you are not sure if po....
  6. How To Bypass Websense?
    other than using proxy... (34)
    i just wanna ask u all how can i bypass websense in my school;s computer lab.. i tried using proxy
    servers but they are blocked too....... please i really need to know it.......
  7. Z|a Blocking Home Netowrk!
    Using ICS over Wireless LAN (3)
    I've been using ZoneAlarm Pro for about an year now with my personal desktop to be
    protected with all the various Internet Connections I've opted for. Most recently, I've been
    using Broadband over my Ethernet LAN card, and Z|A protects my PC perfectly fine! But now, I
    wish to share my Internet connection with a laptop over Wireless LAN (Ad-hoc connection). I've
    successfully configured both systems for the wireless connectivity, and have enabled ICS (Internet
    Connection Sharing) for my broadband connection with the Wireless Adapter. Note that I....
  8. Proxy Non Proxy Programs
    (1)
    I'd like to use the tor network when I'm connected to insecure (wireless) networks. This
    works great for my browser (opera), but some programs don't support a proxy server (like the
    messenger I use). Is there some (free) program that allows me to run Mercury (the msn messenger I
    use) through the proxy (127.0.0.1:8118) ? Or does somebody know if this is possible with Privoxy
    (the proxy server (?) that comes with the tor bundle) ?....
  9. How To Download/upload File Through A Ftp Proxy Server With 'curl'
    (3)
    This help is for linux machines behind a FTP proxy.. (Note: Squid is not a true FTP Proxy server )
    Say the proxy server is squid configured to be running on ' 192.168.0.10' Port
    '3128' then some of the things we can do.. * List Files On FTP Server curl --proxy
    192.168.0.10:3128 ftp://xyz:mypass@sharethespace.com:21 * Download a file curl -o
    STSServerInstaller.exe --proxy 192.168.0.10:3128
    ftp://xyz:mypass@sharethespace.com:21/STSServerInstaller.exe * Upload multiple files to the
    ftp server.. curl --upload-file "{rarlinux-3.6.0.tar....
  10. Proxy Freeware Software To Share Internet
    Nice proxy software to share internet with other computer in simple st (1)
    Found a simple proxy software to share - proksi If you have more than one computer at home you can
    share Internet conected on one computer with another. With a network between your home computers and
    Proksi, you can share a single Internet access account and a phone line (or any other Internet
    connection, such as a cable modem) with all of your computers - simultaneously. Proksi is a proxy
    server software application that allows you to share a single (or multiple) Internet connection with
    an entire computer network. It is a small downloadable file with of less than 1 M....
  11. Flash Plug-ins Detection
    (0)
    Hello, Can any body please tell me how is it possible to automitacilly detect that wheather flash
    plugin is installed on the compuer of my website visitor so that it is possible to immidiately
    redirect him to HTML version of the site if the plugin is missing.Also is it possible tho detect the
    platform i.e Linux/Win of that system ? Please help.....
  12. Wanted To Suggest A OS
    Os, Proxy, TOR, (1)
    i wanted you guys to know about an OS that makes u totally invisible online.. its based on freeware,
    and TOR with Privoxy. it comes with Gaim and Firefox already configured with TOR and Privoxy its a
    livecd and u can get it from http://kaos.to/cms/ ....
  13. How To Run A Proxy On a Web-Server?
    How to make a proxy on website (20)
    Does anyone know how to set up a proxy on a website? I want to set up a proxy on my web space, that
    i can access from anywhere, well mainly school since most websites are blocked at school. I know
    there are a bunch of free ones, but i want my own so i can learn how it works and configure it. and
    i want to be able to set up a global username and/or password to be able to use it....
  14. Squid Proxy: Port 3128 - Connection Problems
    (1)
    Hi all, I also access internet in my college. The college has a proxy server with proxy address as:
    172.31.1.6 : 3128. This is the proxy we put in the web browser when accessing internet. Now, when i
    try to use download managers/accelerators. They simply don't work. I have tried using the
    proxies but to no use. I use Flashget. I have tried the proxy in Socks4, Socks5, HTTP Connect, FTP
    but to no use. I searched internet for port 3128. It says that it uses something called Siquid
    Proxy. Does anyone knows what is that? The software used for managing the bandwidth of th....
  15. Javascript: Browser Detection Script
    Detect your visitors browser (0)
    If you want to detect your visitors browser, sebd them a message and redirect them use this script:
    CODE <script language="JavaScript"> <!-- var
    browserName=navigator.appName; if (browserName=="Netscape") { alert("Hi
    Netscape user!") window.location = "netscape.html" } else { if
    (browserName=="Microsoft Internet Explorer") {   alert("Hi Microsoft
    Internet Exlorer User!");   window.location = "MIE.html" }   else   {   
    alert("What are you....
  16. Using Google As A Proxy
    (4)
    This is a quick and easy way to get a proxy, say for example if you get banned from somewhere.
    It's using googles translation services, and hardly needs an explanation of how to use. But
    here's one for the biffs. http://translate.google.com/translate?hl=e...://www.sncf.com
    Replace sncf.com with whatever you want.......
    http://translate.google.com/translate?hl=e...net-force.co.uk ....
  17. Javascript SSI- Blocking Internet Protocols
    Blocking Internet Protocals from site (2)
    Hello, i thought this would be interesting since i haven't discussed Javascript in years.
    SSI(Server Side Includes) can be used for many interesting things...many of which deal with
    connection information and such. A few years ago i was working on something for the Counter-Strike
    Blacklist when it existed. It was a project i was making for a site called CS anti-hack Community.
    This was going to be an all web-based security project to basically not allow any IP currently on
    the blacklist to preceed to any site that wanted to be a part the anti-hack community. Well....
  18. How To Set-up A Proxy In Ie And Firefox
    (4)
    Here is a little guide to setting up a proxy for both IE and FireFox. First I'd go to
    http://www.samair.ru/proxy and choose yourself a good Elite Proxy or Elite Proxy +, the first few
    ones may not work, or may work extremely slow. IE Click Tools> Internet Options (click to
    enlarge) Click on the connections tab. (click to enlarge) Click the button labled "Lan
    Settings"> Check the box labled "Use a proxy server for your LAN" (click to enlarge) Click
    "Advanced" enter the info for the proxy you choose, In the "Proxy Address" collumn enter the IP a....
  19. Question About Blocking Msn In Linux
    (9)
    I am trying to block MSN. The following is my config: iptables -A FORWARD -d
    gateway.messenger.hotmail.com -j DROP iptables -A FORWARD --protocol tcp --dport 1863 -j REJECT
    --reject-with tcp-reset for i in `cat /etc/msnserverlist`;do /sbin/iptables -A FORWARD -d $i -j
    DROP;done for i in `cat /etc/msnserverlist`;do /sbin/iptables -A FORWARD -s $i -j DROP;done
    msnserverlist: 207.46.4.55 207.46.4.161 207.46.0.74 207.46.4.40 207.46.6.101 207.46.4.93 207.46.4.38
    207.46.0.48 207.46.0.144 207.46.4.59 207.46.6.29 207.46.6.176 207.46.0.22 207.46.0.54 65.54.239.20
    207....
  20. Proxy Escapades
    The escapades we had with proxies. (0)
    Hi All, This is a post to tell of a story that has taken place over a fairly long space of time.
    Trekkie101 (a global moderator on these forums) is a network administrator on a network, and he is
    also a network user on the same WAN from a different building (LAN within WAN (I think, lol
    /laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /> )). So he got the
    administrator's password and he also found out what the proxy address was for the network he
    administrated. So, we inputted that address into the proxy settings of our web browsers (Firefox ....
  21. How Do You Telnet Through Proxy?
    (3)
    Well, I'm wondering how one uses telnet through a proxy. I would not like to get into details,
    I just want to know how /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />
    Thanks.....
  22. Truely Annonymous Internet
    None of that Proxy rubbish! (22)
    The problem with Proxy servers.... 1) they usually only work with http, getting one to work with
    MSN messenger is neer impossable ! 2) although they stop the site you are browsing from knowing
    who you are, your Internet service provider still knows exactly what you are doing. 3) i hate
    proxies. What if.... What if you first ran a local filter proxie, it doesnt do anything major, it
    just scrubbs any identifying info from your web traffic, things like browser identification,
    cookies, revelaing DNS info. then this proxie connected to anouther local service. this loca....
  23. Ms Blocking Of Wine Users.. Is It Legal !?
    (6)
    Microsofts anouncement... http://www.microsoft.com/presspass/press/2...AdvantagePR.asp Wine
    mailing list post on the topic http://winehq.com/hypermail/wine-devel/2005/02/0441.html
    Basically, whats happening, is MS is starting a new anti-piracy program. from this summer and
    onwards to download updates from microsoft you will have to validate your procuct ID key. this will
    bo done automatically by activeX or some other program. HOWEVER... the wine developers have found
    that one of the checks that the authentication does, is for the presence of wine.. it if finds it,....
  24. Spyware Detection Software
    What is the best to use? (53)
    I personnaly use webroot and ad-aware in tandem to get rid of it. Are there any better out there?
    and if so, What is their approximate cost? Spelling ....
  25. PosgreSQL and Proxy?
    (2)
    It's possibile to opne a connection to a PostegreSQl db using a proxy?Yf yes how?Thx to all in
    advance....
  26. Ip blocking on a game server?
    Xp--2003 server!! (5)
    hi i run a game server for a clan and i would like to know how to ban ips for being able to access
    the server dame cheaters. I know you could use a program like zonealarm or other firewalls but i
    realy would lie to use the internal one but i can t find out how to do it please can some one help
    me as the cheater is so anoying.. thanks for the help....

    1. Looking for proxy, detection, blocking,

Searching Video's for proxy, detection, blocking,
advertisement




Proxy Detection And Blocking.



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE