Click here to get back home

Net::Blacklist::Client use?

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Net::Blacklist::Client use? Mike 03-18-2008
Posted by Mike on March 18, 2008, 2:00 pm
Please log in for more thread options
I'm working on a program to help with my site's mail filtering. I'm
using Net::Blacklist::Client and the module for the most part works.
Is there a return code passed back from $res->search($peeraddr)
that says the site is definitly on a blacklist or do I need to
search the key for 'v=spf1 -all' and 'spam'?

Mike

--
Posted via a free Usenet account from http://www.teranews.com


Posted by J. Gleixner on March 18, 2008, 3:14 pm
Please log in for more thread options
Mike wrote:
> I'm working on a program to help with my site's mail filtering. I'm
> using Net::Blacklist::Client and the module for the most part works.


> Is there a return code passed back from $res->search($peeraddr)

You need to first tell us what is '$res'.

> that says the site is definitly on a blacklist or do I need to
> search the key for 'v=spf1 -all' and 'spam'?


Posted by Mike on March 18, 2008, 2:55 pm
Please log in for more thread options
> Mike wrote:
>> I'm working on a program to help with my site's mail filtering. I'm
>> using Net::Blacklist::Client and the module for the most part works.
>
>
>> Is there a return code passed back from $res->search($peeraddr)
>
> You need to first tell us what is '$res'.
>
>> that says the site is definitly on a blacklist or do I need to
>> search the key for 'v=spf1 -all' and 'spam'?
>

$ perldoc Net::Blacklist::Client
Net::Blacklist::ClientUser Contributed Perl DocumentaNet::Blacklist::Client(3)

NAME
Net::Blacklist::Client - Queries multiple RBLs or URIBLs in parallel.

SYNOPSIS
use Net::Blacklist::Client;
my $rbl = Net::Blacklist::Client->new;
my $result = $rbl->lookup_ip('127.0.0.2');
foreach my $list (keys %$result){
printf "%s: %s (%s)\n", $list, $result->->,
$result->->;
}

DESCRIPTION
This module is used to discover what RBL's are listing a particular IP
address. It parallelizes requests for fast
response.

This module is heavily based on Net::RBLClient by Asher Blum. It adds an
updated list of RBLs and removes many dead ones,
the ability to look up domains in domain-specific RBLs, and changes the
output format. Although it is very similar and
does the same job, due to the changes in the output formats, it is not
suitable as a drop-in replacement.

An RBL, or Realtime Blackhole List, is a list of IP addresses meeting
some criteria such as involvement in Unsolicited
Bulk Email. Each RBL has its own criteria for addition and removal of
addresses. If you want to block email or other
traffic to/from your network based on one or more RBLs, you should
carefully study the behavior of those RBLs before and
during such blocking.


$res -> $result

--
Posted via a free Usenet account from http://www.teranews.com


Similar ThreadsPosted
Rlogin client? November 3, 2004, 5:31 pm
pop3 cgi client September 8, 2005, 3:55 pm
SOAP Http Client October 1, 2004, 3:50 am
how *.cgi file can get the parameters from client? November 20, 2004, 8:08 pm
Writing SMPP client December 15, 2005, 8:32 am
web browser to ftp client script March 15, 2006, 7:43 pm
Server/client over a network September 19, 2006, 1:54 pm
gluing client and server March 13, 2007, 10:30 am
A Gtk2 IRC Chat Client February 11, 2008, 3:13 pm
modules for nntp client April 14, 2008, 1:25 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap