24 Oct 2008 09:06:59 UTC
- Distribution: WebService-Livedoor-SpamChampuru-DNSBL
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (375 / 202 / 0)
- KwaliteeBus factor: 0
- 85.92% Coverage
- License: unknown
- Activity24 month
- Download (3.97KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This versionKYANNY Kensuke Kanekoand 1 contributors
- Kensuke Kaneko
WebService::Livedoor::SpamChampuru::DNSBL - Perl interface of SpamChampuru DNSBL WebService
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.
use WebService::Livedoor::SpamChampuru::DNSBL; my $dnsbl = WebService::Livedoor::SpamChampuru::DNSBL->new(timeout => 1); my $res = $dnsbl->lookup($ip_addr);
Creates an WebService::Livedoor::SpamChampuru::DNSBL instance.
$dnsbl = WebService::Livedoor::SpamChampuru::DNSBL->new(timeout => $timeout, [nameservers => \@nameservers]);
Sends a DNS query to SpamChampuru DNSBL server and checks if $ip_addr is classified as a source of spam.
lookupreturns 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.
<k-kaneko at livedoor.jp>
http://spam-champuru.livedoor.com/dnsbl/ (Japanese text only)
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.
perl -MCPAN -e shell install WebService::Livedoor::SpamChampuru::DNSBL
For more information on module installation, please visit the detailed CPAN module installation guide.