Jump to content

Block certain countries and domain tld ?


Recommended Posts

I am getting 4-5 fraud orders a day from Indonesia, is there any way I can block ALL orders from this country ?

 

Also I do not want to support orders with free domains like .tk is there any way I can block all orders with this domain extension ?

 

I am using MaxMind paid services, but I am just wasting money each order that comes in as it still calls them with the telephone verification, and checks the order. I have tried adding a deny from in my htaccess file, but I am still getting orders from Indonesia, any one have any ideas how I can prevent this from happening ?

Link to comment
Share on other sites

I am getting 4-5 fraud orders a day from Indonesia, is there any way I can block ALL orders from this country ?

one option might be to remove Indonesia from your dropdown list of countries - then when someone tries to register from Indonesia, they'll be unable to select their country and should fail the Maxmind checks as their IP and selected country won't match.

 

includes -> countries.php

 

Also I do not want to support orders with free domains like .tk is there any way I can block all orders with this domain extension ?

I doubt you can out of the box... unless Banned Emails list can except wildcards... have you tried adding ".tk" to that list to see if it works? I doubt it, but might be worth a try.

 

you might have to go down the road of using a hook to intercept orders using this domain... but that's not my area of expertise!

 

Is there a way I can prevent all ip address starting with 202 and 39 to be blocked from my site using a htaccess file ? It appears that the majority of my fraud orders are coming from ip address starting with 202 and 39

HTaccess Tools is a useful site if you want to use a wizard to generate your htaccess code - whether its blocking ip ranges or entire countries.... http://incredibill.me/htaccess-block-country-ips

Link to comment
Share on other sites

one option might be to remove Indonesia from your dropdown list of countries - then when someone tries to register from Indonesia, they'll be unable to select their country and should fail the Maxmind checks as their IP and selected country won't match.

 

includes -> countries.php

 

I did this, we will see how this works!

 

I doubt you can out of the box... unless Banned Emails list can except wildcards... have you tried adding ".tk" to that list to see if it works? I doubt it, but might be worth a try

 

They sign up using hotmail or gmail accounts, and I really dont want to ban free email accounts, as the majority of my customers do use these type of email services, they just register with a free domain, and attempt to sign up for a free month of trial hosting, but I have seen an increase in fraud accounts, and they seem to be using these .tk domains, and I cannot check to see if the name servers are pointed at our servers or not, so I just want to block them all together!

 

HTaccess Tools is a useful site if you want to use a wizard to generate your htaccess code - whether its blocking ip ranges or entire countries.... http://incredibill.me/htaccess-block-country-ips

 

I have already compiled a list of ip address from all countries in Asia, and 'high risk' counties, I will give that site a shot and see if the list is different from the one I already have. I used http://www.ip2location.com/free/visitor-blocker to compile my list, but will try the incredbill.me site!

 

Thank you for the assistance, I hope this will cut down on the fraud orders I receive.

 

May be I will have to revisit the whole idea of offering a free trial, my hopes was that customers would try the free trial and would love the services and would sign up to a paid account, but my turn over rate is about 10%

Link to comment
Share on other sites

Read the help section about cpanel in cloudflare. It will mess up as the cookie does not match the IP address. Either turn off IP address matching or use a sub domain to enter cpanel Like cpanel.yourdomain rather than yourdomain.cpanel

 

Or use another domain name on the same server to access cpanel

 

Works perfect for me

Link to comment
Share on other sites

  • 2 weeks later...
i'm glad it worked! :)

 

out of interest, are you still using your ip2location list, the incredibill.me list or a combination of the two ?

 

Combination of the two, I spent a good hour going over the list and taking out the duplicate ip address, and just kinda created my own list out of the two. I found tho after using the http://incredibill.me/htaccess-block-country-ips list, it reduced the number of fraud orders substantially.

 

Thanks for all the help!

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated