Block IP-Adresses

General project discussion. NOT for help questions.
Post Reply
musicscore
Power Poster
Power Poster
Posts: 496
Joined: Wed Jan 25, 2006 11:53 am

Block IP-Adresses

Post by musicscore »

I'm using the Frontend-user module and someone (from Japan with ip-adres 210.150.10.116) is trying to login, again and again.
Is it possible to blok an IP-Adres  (or hostname) totaly from the site build with cmsms.

Musicscore
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Block IP-Adresses

Post by calguy1000 »

No, FEU doesn't have that functionality in it.  but you can block that with apache and .htaccess rules.
also, the newer version of FEU has captcha support if you have the captcha module.  Which will thwart any automated brute force attempts.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
musicscore
Power Poster
Power Poster
Posts: 496
Joined: Wed Jan 25, 2006 11:53 am

Re: Block IP-Adresses

Post by musicscore »

Is it possible to block an ipadres from accessing the website completely (maybe with ipblocker ?)
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Block IP-Adresses

Post by M@rtijn »

Add to your .htaccess:

Code: Select all

order allow,deny
deny from 11.22.33.44
deny from 22.33.44.55
allow from all
And put the right IP in there.
If you want to block an entire range, that's possible too, just drop the last part (11.22.33.44 becomes 11.22.33)

This will serve the culprit a 403 Forbidden status code.
Make your community a better place!
musicscore
Power Poster
Power Poster
Posts: 496
Joined: Wed Jan 25, 2006 11:53 am

Re: Block IP-Adresses

Post by musicscore »

Many thanks for the very quick response ! ;D

Musicscore
replytomk3

Re: Block IP-Adresses

Post by replytomk3 »

Rename your admin directory while you are at it, and make sure htaccess and config.php are with limited permissions.
Post Reply

Return to “General Discussion”