-
-
24 Oct 2008 09:06:59 UTC
- Distribution: WebService-Livedoor-SpamChampuru-DNSBL
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (375 / 202 / 0)
- Kwalitee
Bus factor: 0- 85.92% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (3.97KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
and 1 contributors-
Kensuke Kaneko
- Dependencies
- IO::Select
- Net::DNS
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
WebService::Livedoor::SpamChampuru::DNSBL - Perl interface of SpamChampuru DNSBL WebService
DESCRIPTION
Checks if an IP has recently been used for sending spams, via spam-champuru (spam-champloo) DNSBL service (beta).
Spam-champuru DNSBL holds list of IPs which have been reported as sources of spams by various services running at livedoor.com.
The result may not be suitable for filtering mails, as this service is mainly intended for checking blog comments/trackbacks or bbs posts.
* livedoor.com is not responsible for appropriateness of the result, nor for any harms caused by the use of the result.
* The service is in a beta status, and may at any time become unavailable.
VERSION
Version 0.02
SYNOPSIS
use WebService::Livedoor::SpamChampuru::DNSBL; my $dnsbl = WebService::Livedoor::SpamChampuru::DNSBL->new(timeout => 1); my $res = $dnsbl->lookup($ip_addr);
METHODS
new
Creates an WebService::Livedoor::SpamChampuru::DNSBL instance.
$dnsbl = WebService::Livedoor::SpamChampuru::DNSBL->new(timeout => $timeout, [nameservers => \@nameservers]);
lookup
Sends a DNS query to SpamChampuru DNSBL server and checks if $ip_addr is classified as a source of spam.
lookup
returns 1 for SPAM, 0 for HAM.my $res = $dnsbl->lookup($ip_addr);
lookup('192.0.2.1') should always return 1 (spam), as SpamChampuru DNSBL uses this IP as a test IP.
AUTHOR
Kensuke Kaneko,
<k-kaneko at livedoor.jp>
SEE ALSO
http://spam-champuru.livedoor.com/dnsbl/ (Japanese text only)
COPYRIGHT & LICENSE
Copyright 2008 livedoor Co., Ltd., all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install WebService::Livedoor::SpamChampuru::DNSBL, copy and paste the appropriate command in to your terminal.
cpanm WebService::Livedoor::SpamChampuru::DNSBL
perl -MCPAN -e shell install WebService::Livedoor::SpamChampuru::DNSBL
For more information on module installation, please visit the detailed CPAN module installation guide.