optionally reject posts from blaclisted IP's (instead of moderating)

seanburlington - May 28, 2009 - 07:44
Project:http:BL
Version:5.x-2.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hi,
I've got httpbl set to check status on comment forms

and sure enough it's checking.

But it doesn't seem to stop blacklisted IP's posting.

Log excerpt

content 05/28/2009 - 07:29 Comment: added SMUbIzjYSwH. Anonymous view
warning httpbl 05/28/2009 - 07:29 133.23.196.48 was blacklisted ... Anonymous IP data

--

Sean Burlington
www.practicalweb.co.uk

#1

seanburlington - May 28, 2009 - 07:52
Title:Blaclisted IPS can still post» optionally reject posts from blaclisted IP's (instead of moderating)
Category:bug report» feature request

Hi,
OK I see what's happening now.

httpl puts comments from blacklisted IP's in the moderation queue - it would be good to document this.

As I moderate all posts anyway this has no effect for me.

What I'd like is the option for httpl to reject posts entirely.

I just want a smaller moderation queue.

Maybe I'll find time to add this myself....

--

Sean Burlington
www.practicalweb.co.uk

#2

seanburlington - May 28, 2009 - 09:08
Version:6.x-1.x-dev» 5.x-2.1

sorry - not paying enough attention.

I forgot this is running on a Drupal 5 site

#3

seanburlington - May 28, 2009 - 09:26
Status:active» needs review

Hi,
here's a patch that does what I want.

I moved the config check into the menu - so that I could re-use the _httpbl_check() function in hook_comment on validation.

Then just the extra config settings to make rejection optional.

Sean Burlington
www.practicalweb.co.uk

AttachmentSize
httpbl_reject_comments_option.patch 1.73 KB
 
 

Drupal is a registered trademark of Dries Buytaert.