Would it be possible to either add a new plugin or extend others to include to support for the http://www.projecthoneypot.org/httpbl_api.
The project relies upon a community of people hosting spam traps, and the information gets gathered and you can use the API with a registered key for free.
I used to use this with my previous blog system, and it works very well.
As a newb, I am not sure where to start, but I might try to hack in support if pushed in the correct direction.
/Steve
Support for http:BL from Project Honeypot
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Support for http:BL from Project Honeypot
Hi!
That would be possible; i believe the best place for this is the serendipity_event_spamblock_rbl or serendipity_event_spamblock_rblsurbl plugin; I believe this even supports custom other DNSBL lists. Check those two plugins out, they're available through spartacus!
HTH,
Garvin
That would be possible; i believe the best place for this is the serendipity_event_spamblock_rbl or serendipity_event_spamblock_rblsurbl plugin; I believe this even supports custom other DNSBL lists. Check those two plugins out, they're available through spartacus!
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
Re: Support for http:BL from Project Honeypot
Thanks Garvin,garvinhicking wrote:Hi!
That would be possible; i believe the best place for this is the serendipity_event_spamblock_rbl or serendipity_event_spamblock_rblsurbl plugin; I believe this even supports custom other DNSBL lists. Check those two plugins out, they're available through spartacus!
HTH,
Garvin
the RBL one is the closest, but does not have a placeholder for a key which needs to be passed as part of the dns query e.g.
I think I could add two config entries, one for the dns address [dnsbl.httpbl.org]abcdefghijkl.2.1.9.127.dnsbl.httpbl.org
[Access Key] [Octet-Reversed IP] [List-Specific Domain]
and one for the key [abcdefghijk]
then only if the key is present perform the dns lookup ?
Day 4 of using serendipity, and already wading into code
/Steve
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Support for http:BL from Project Honeypot
Steve-I cannot wait until you are day 30, 60, 90 and beyond!! Welcome to the s9y community and I sincerely look forward to your continued contributions!!! Keep up the good work!!! Hope you and gizmola get this issue resolved in a way that benefits the entire s9y community!!sonichouse wrote:Day 4 of using serendipity, and already wading into code /Steve
=Don=
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
I just want to second Don's welcome. As a small community, it's hard for us to do everything that everyone wants, so it's especially nice when people want to fix problems and share the results!
I'm confident you'll find the community responsive and friendly. I found the project intriguing enough to hang around for... oh, what? 3 years now?... so I'm sure you'll find something interesting to look at, too. And of course, we're always happy to help you out with any questions you may have.
Welcome to s9y!
I'm confident you'll find the community responsive and friendly. I found the project intriguing enough to hang around for... oh, what? 3 years now?... so I'm sure you'll find something interesting to look at, too. And of course, we're always happy to help you out with any questions you may have.
Welcome to s9y!
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
I have written my first attempt at the plugin.
It can be downloaded from my blog.
As my language skills are non-existent I have only shipped the EN language resource file.
As I say, any feedback is appreciated, as I have more than likely missed something.
Regards,
Steve
It can be downloaded from my blog.
As my language skills are non-existent I have only shipped the EN language resource file.
As I say, any feedback is appreciated, as I have more than likely missed something.
Regards,
Steve
Steve is occasionally blogging here
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The code looks good! Any chance you could implement this into the existing DNSBL-Spamblock plugin?
It seems as if the code already share some common code with the DNSBL one, and I'd really rather have larger plugins that deal with the same aspect (DNSBL) rather than many tiny ones?
Best regards and thanks for your contribution,
Garvin
The code looks good! Any chance you could implement this into the existing DNSBL-Spamblock plugin?
It seems as if the code already share some common code with the DNSBL one, and I'd really rather have larger plugins that deal with the same aspect (DNSBL) rather than many tiny ones?
Best regards and thanks for your contribution,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
I have merged this into the Spam(RBL) plugin.garvinhicking wrote:Hi!
The code looks good! Any chance you could implement this into the existing DNSBL-Spamblock plugin?
It seems as if the code already share some common code with the DNSBL one, and I'd really rather have larger plugins that deal with the same aspect (DNSBL) rather than many tiny ones?
Best regards and thanks for your contribution,
Garvin
Having just reread your post I wonder if it is the correct one ?
The changed files are updated on my blog.
/Steve
Steve is occasionally blogging here
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Perfect! I've just committed your patch to the official CVS.
I noticed that the line indents diverge from our default of 4 spaces (no tabs), but I'm out of time to fix that right now. I'll try to update that in the next days, or if someone else wants to prettify it...have a go
Many thanks,
Garvin
Perfect! I've just committed your patch to the official CVS.
I noticed that the line indents diverge from our default of 4 spaces (no tabs), but I'm out of time to fix that right now. I'll try to update that in the next days, or if someone else wants to prettify it...have a go
Many thanks,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/