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.
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
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.
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
isValid() - Checks given ip against ipfilter.dat range
eMule | BitTorrent | Torrent Sites using ipfilter.dat perl modules
Sebastian Enger, bigfish82 |ät! gmail?com
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