Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::Abuse::Utils::SpaUsersContributed Perl DocuNet::Abuse::Utils::Spamhaus(3)

NAME
       Net::Abuse::Utils::Spamhaus - Perl extension for	checking data against
       the spamhaus blacklists

SYNOPSIS
	 use Net::Abuse::Utils::Spamhaus qw(check_fqdn check_ip);
	 my $addr = '222.186.44.110';
	 my $ret = check_ip($addr);

	 $addr = 'test';
	 $ret =	check_fqdn($addr);

	 foreach (@$ret){
	   warn	$_->{'assessment'}.': '.$_->{'description'}.' -- '.$_->{'id'};
	 }

DESCRIPTION
   EXPORT
       check_ip, check_fqdn

   FUNCTIONS
       check_fqdn(<FQDN>)
	     accepts: a	fully qualified	domain name (ex: example.com)
	     returns: an ARRAYREF of HASHREF's based on	the spamhaus dbl

       check_ip(<ipv4-addr>)
	     accepts: a	properly formatted ipv4	address	(ex: 1.1.1.1)
	     returns: an ARRAY REF of HASHREF's	based on feedback from the spamhaus zen	list

SEE ALSO
	 http://www.spamhaus.org/zen/
	 http://www.spamhaus.org/dbl/

AUTHOR
       Wes Young, <wes@barely3am.com>

COPYRIGHT AND LICENSE
	 Copyright (C) 2012 by Wes Young (wesyoung.me)

	 This library is free software;	you can	redistribute it	and/or modify
	 it under the same terms as Perl itself, either	Perl version 5.10.1 or,
	 at your option, any later version of Perl 5 you may have available.

perl v5.32.1			  2016-06-07	Net::Abuse::Utils::Spamhaus(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::Abuse::Utils::Spamhaus&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help