NAME
NET::IPFilterSimple - Perl extension accessing ipfilter.dat files the very simple way Warning: Please Update your Sources. Current Version fixed a very critical bug that prevents Program from working correctly.
SYNOPSIS
use NET::IPFilterSimple;
my $obj = NET::IPFilterSimple->new( ipfilter => '/home/thecerial/firewall/ipfilter.dat' );
my $IP = "199.196.016.200";
my $isValid = $obj->isValid($IP); # 1 not to be blocked | 0 to be blocked
DEPENDENCIE
use strict;
Because it uses no more modules ( in contrast to NET::IPFiler ) it is easily portable to Windows, MAC, Solaris. You only need to give a valid path as ipfilter parameter to the new constructor.
DESCRIPTION
Perl Module for accessing ipfilter.dat files the easy way. IPs from the ranges of ipfilter.dat there are the dots removed and these ranges are then saved in an array. later a given ip is checked against the ranges in the array
EXPORT
isValid() - Checks given ip against ipfilter.dat range
SEE ALSO
eMule | BitTorrent | Torrent Sites using ipfilter.dat perl modules
http://www.zoozle.net
http://www.zoozle.org
http://www.zoozle.biz
http://search.cpan.org/author/SENGER/
NET::IPFilterSimple NET::IPFilter
AUTHOR
Sebastian Enger, bigfish82 |ät! gmail?com
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Sebastian Enger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 158:
Non-ASCII character seen before =encoding in '|ät!'. Assuming UTF-8