Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I need to install a module that permit me (on my site) to ban IP. I have searched on Drupal.org and Google.com, but seems that there is not a good solution. All modules seems abandoned, so I ask here if someone use one of these modules and which one use. I don't want to start a thread about which is the best, only know which one I can use.

share|improve this question
1  
why you dont use drupal default ip ban in admin/config/people/ip-blocking ???? –  zhilevan May 19 at 10:22

2 Answers 2

The built-in IP blocking (at /admin/config/people/ip-blocking) works just fine, but if you're looking for some slightly more advanced functionality, like blocking ranges of IPs, I've used IP Ranges with a great deal of success:

IP Ranges is a module that let's you completely ban both single IP-addresses as well as full ranges from your site. The ban is triggered already at the early bootstrap phase, so you can get rid of unwanted visitors as early as possible without wasting server resources.

You can also define whitelists that override blacklists, both single and ranged. The UI is similar to core ip-ban, so you will feel like home immediately.

share|improve this answer
    
great success! quickmeme.com/img/40/… Now legitimate users within the whole RANGE of the IP banned users cannot use your service. IP banning is silly in general. Ban one IP: User can get a new dynamic one. Next user that gets old IP will be banned. Ban whole range: You can take out a section of your userbase if you keep doing that regularly. –  David May 19 at 13:09
    
@David Perhaps you're unfamiliar with administering large, popular websites. This module, and others like it, are a very important tool in combatting spam. When you've got millions of users, blocking a single one by mistake whilst keeping out hundreds of thousands of spam bots is a no-brainer. –  Clive May 19 at 13:11
    
I see. In that case, fair enough. –  David May 19 at 13:12
    
@David It's definitely not ideal, I'll give you that, but if you've got a better way I'd be genuinely delighted to hear it :) –  Clive May 19 at 13:13
1  
@Clive BadBehavior is often a better long term option than this, but IP blocking is good for triage. –  MPD May 19 at 17:22

In second the recommendation of the built-in IP blocking already metioned by Clive

If you want more features, the Anonymous Publishing module let you:

  • let the administrator block abusers based on e-mail & IP address

What it does (beyond the basic module) is to let the admin block based upon observed abusive behaviour.

share|improve this answer
    
Are you sure it blocks users totally? Not only from anonymous publishing feature? –  Mołot May 19 at 10:59
    
@Molot, yes. The IP-blocking piggybacks on the built-in IP blocking. It just helps the admin spot the "most" abused IP-addresses in order to block them. –  Free Radical May 19 at 14:19
    
Thanks for clarification. –  Mołot May 19 at 14:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.