1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to block a user on a wordpress webistes that uses proxies?

Discussion in 'Proxies' started by tjapado, May 16, 2013.

  1. tjapado

    tjapado Junior Member

    Joined:
    Feb 10, 2013
    Messages:
    142
    Likes Received:
    61
    Location:
    netherlands
    Home Page:
    Hi,

    I have a user on my wordpress websites that deserves a ban only i know he is using proxies because i have collected about 20 ip's.

    Is there a way i can ban this user?

    Thanks
     
  2. SPPChristian

    SPPChristian Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 20, 2012
    Messages:
    1,221
    Likes Received:
    239
    Location:
    United States
    Home Page:
    install wordpress askimet ...
     
  3. tjapado

    tjapado Junior Member

    Joined:
    Feb 10, 2013
    Messages:
    142
    Likes Received:
    61
    Location:
    netherlands
    Home Page:
    Its not about spam just want to block a user who uses proxies
     
  4. SPPChristian

    SPPChristian Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 20, 2012
    Messages:
    1,221
    Likes Received:
    239
    Location:
    United States
    Home Page:
    I do not think you can ...:( just take a look at the proxies on arin who is and contact the IP provider and make an abuse report there !
    If its using public proxies :( then just spam them and thats it ...
     
  5. JustUs

    JustUs Power Member

    Joined:
    May 6, 2012
    Messages:
    609
    Likes Received:
    451
    .htaccess

    Code:
    <ifModule mod_rewrite.c>
     RewriteEngine on
     RewriteCond %{HTTP:VIA}                 !^$ [OR]
     RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
     RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
     RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
     RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
     RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
     RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
     RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
     RewriteRule .* - [F]
    </ifModule>
     
    • Thanks Thanks x 1
  6. SPPChristian

    SPPChristian Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 20, 2012
    Messages:
    1,221
    Likes Received:
    239
    Location:
    United States
    Home Page:
    this is for anonymous proxies, but for high anonymous proxies there is no solution ! :((
     
    • Thanks Thanks x 1
  7. tjapado

    tjapado Junior Member

    Joined:
    Feb 10, 2013
    Messages:
    142
    Likes Received:
    61
    Location:
    netherlands
    Home Page:
    Ah oke well thanks for the code but im not gonna ad it because i dont want to block all users that use proxies only 1
     
  8. JustUs

    JustUs Power Member

    Joined:
    May 6, 2012
    Messages:
    609
    Likes Received:
    451
    High Anon/Elite proxies do not pass on the UA. Block anything that does not have a UA, or a properly formatted UA.
     
  9. JustUs

    JustUs Power Member

    Joined:
    May 6, 2012
    Messages:
    609
    Likes Received:
    451
    Then in htaccess:
    Deny from xxx.xxx.xxx.xxx

    If all the collected IP's are in the same D block, i.e. 111.0.0.0 - 111.0.0.255, then use a Cider notation of
    Deny from 111.0.0.0/24

    But if it a a single user using numerous proxies....

    As to Akismet and whatnot, do not believe others that they alone will stop spam. While they may block some public IP's, they do not rely on IP address alone.
     
    Last edited: May 21, 2013
  10. SPPChristian

    SPPChristian Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 20, 2012
    Messages:
    1,221
    Likes Received:
    239
    Location:
    United States
    Home Page:
    and what about the real costumers, visitors that comes from those apache blocked subnets?