Michael Robinton > Net-DNSBL-MultiDaemon > Net::DNSBL::Utilities

Download:
Net-DNSBL-MultiDaemon-0.39.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.10   Source  

NAME ^

Net::DNSBL::Utilities - functions for DNSBL daemons

SYNOPSIS ^

  use Net::DNSBL::Utilities qw(
        s_response 
        not_found  
        write_stats
        bystat
        statinit
        cntinit
        list2hash
        open_udpNB
        DO
        doINCLUDE
        list2NetAddr
        matchNetAddr
        list_countries
        setAUTH
        setRA
        A1271
        A1272
        A1273
        A1274
        A1275
        A1276
        A1277
  );

  s_response($mp,$resp,$id,$qdcount,$ancount,$nscount,$arcount);
  not_found($put,$name,$type,$id,$mp,$srp);
  write_stats($sfile,$cp,$sinit,$csize,$cache);
  $rv = bystat($cp);
  $timestamp = statinit($Sfile,$cp);
  cntinit($DNSBL,$cp);
  list2hash(\@list,$cp,$val);
  $sock = open_udpNB();
  $rv = DO($file,$nowarnings)
  $rv = doINCLUDE($file,$nowarnings);
  $rv=list2NetAddr(\@inlist,\@NAobject);
  $rv = matchNetAddr($ip,\@NAobject);
  ($countries,$code3s,$names) = list_countries;
  setAUTH(true/false);
  setRA(true/false);
  $netaddr = A1271;
  $netaddr = A1272;
  $netaddr = A1273;
  $netaddr = A1274;
  $netaddr = A1275;
  $netaddr = A1276;
  $netaddr = A1277;

DESCRIPTION ^

Net::DNSBL::Utilities contains functions used to build DNSBL emulator daemons.

DEPENDENCIES ^

        Net::DNS::Codes
        Net::DNS::ToolKit

EXPORT_OK ^

        s_response 
        not_found  
        write_stats
        bystat
        statinit
        cntinit
        list2hash
        open_udpNB
        DO
        list2NetAddr
        matchNetAddr
        list_countries
        setAUTH
        setRA
        A1271
        A1272
        A1273
        A1274
        A1275
        A1276
        A1277

AUTHOR ^

Michael Robinton, michael@bizsystems.com

COPYRIGHT ^

Copyright 2003 - 2007, Michael Robinton & BizSystems This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

SEE ALSO ^

Net::DNS::Codes, Net::DNS::ToolKit, Mail::SpamCannibal

syntax highlighting: