ADMNetHandler.pm
use ADMNetHandler;
ADMLogger is an object-oriented extendable framework for log analysis tools. Many system administrators have a handful of tools that they like to run on their logs daily/weekly/at rotation, etc. ADMLogger attempts to bring them all together by providing a set of common tools for all perl scripts to to maintain a consistency across all programs. It also allows the admin to only run a single program, and for them to focus on the coding of the core of what they need to do - allowing ADMLogger to provide all I/O support, etc.
None known.
Aaron D. Marasco (Aaron@Marascos.net)
new DNSLookup ServiceName
Usage:
new();
Parameters:
none
Returns:
Reference to a ready ADMNetHandler.
Usage:
DNSLookup($IPAddr);
Parameters:
$IPAddr - Address to look up (string form)
Returns:
String - FQDN of IP or numeric IP if not found.
Usage:
ServiceName($Pair);
Parameters:
$Pair - "Port/Protocol" as a string
Returns:
String - Service name (if found in /etc/services or /etc/services.fake), else same as input.