Authen-Tcpdmatch
view release on metacpan or search on metacpan
embedded environments. Although it is not a full-feature re-implementation
of tcpdmatch(1), I hope it will still do most of what you want. In particular,
it supports the following capabilities:
A. ALL and LOCAL wildcards.
B. Recursive EXCEPT modifier
C. Leading and trailing dot patterns
D. Net masks
E. Skipping of lines with faulty syntax, comments, or blanks
It does not support shell commands, client lookups, endpoint patterns, spoofing attacks,
and expansions. If these features are important to you,
perhaps you should consider using libwarp.so and Authen::Libwrap .
There are two parsers that do the same thing. One first parser is based on
RecDescent, and the other is based on Yapp . THe Yapp parses is several times
faster and is used by default. None of these parsers are re-entrant; although,
with a tiny effort (15 minutes) the Yapp-based parser could easily become
re-entrant -- I chose not to implement this on purpose: I would rather have less
words in the code since I don't care about being re-entrant.
lib/Authen/Tcpdmatch/Tcpdmatch.pm view on Meta::CPAN
=item tcpdmatch()
The first and second arguments
are the requested service and the name of remote host, respectively. The third
(optional) argument indicates the directory of the hosts.* files. (Default is /etc .)
=back
=head2 LIMITATIONS
It does not support shell commands, client lookups, endpoint patterns, spoofing attacks,
and expansions. If these features are important to you,
perhaps you should be using libwarp.so with Authen::Libwrap .
=head2 EXPORT
tcpdmatch
=head1 AUTHOR
Ioannis Tambouras, E<lt>ioannis@earthlink.netE<gt>
lib/Authen/Tcpdmatch/TcpdmatchRD.pm view on Meta::CPAN
=item tcpdmatch()
The first and second arguments
are the requested service and the name of remote host, respectively. The third
(optional) argument indicates the directory of the hosts.* files. (Default is /etc .)
=back
=head2 LIMITATIONS
It does not support shell commands, client lookups, endpoint patterns, spoofing attacks,
and expansions. If these features are important to you,
perhaps you should be using libwarp.so with Authen::Libwrap .
It is not re-entrant.
=head2 EXPORT
tcpdmatch
=head1 AUTHOR
lib/Authen/Tcpdmatch/TcpdmatchYapp.pm- view on Meta::CPAN
=item tcpdmatch()
The first and second arguments
are the requested service and the name of remote host, respectively. The third
(optional) argument indicates the directory of the hosts.* files. (Default is /etc .)
=back
=head2 LIMITATIONS
It does not support shell commands, client lookups, endpoint patterns, spoofing attacks,
and expansions. If these features are important to you,
perhaps you should be using libwarp.so with Authen::Libwrap .
It is not re-entrant.
=head2 EXPORT
tcpdmatch
=head1 AUTHOR
( run in 0.681 second using v1.01-cache-2.11-cpan-49f99fa48dc )