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
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
sorry - not paying enough attention.
I forgot this is running on a Drupal 5 site
#3
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