Net::Radius::Server::Dump - Produce a dump of the RADIUS packets
use Net::Radius::Base qw/:set/; use Net::Radius::Server::Dump; my $set = Net::Radius::Server::Dump->new ({ basepath => '/var/log/radius-packets/', basename => 'packet-dump-', result => NRS_SET_DISCARD, }); my $set_sub = $set->mk;
Net::Radius::Server::Dump implements a simple debugging aid that dumps RADIUS packets into the basepath directory, using a file whose name is formed by the contatenation of the basename property and the current number of seconds and microseconds since the epoch.
Net::Radius::Server::Dump
basename defaults to 'packet-'. This method returns whatever is specified by the result property.
basepath is mandatory. This module will only be activated if this property is specified.
Please see Net::Radius::Server::Set(3) for more information.
None by default.
$Log$ Revision 1.3 2006/12/14 15:52:25 lem Fix CVS tags
Perl(1), Net::Radius::Server(3), Net::Radius::Server::Set(3).
Luis E. Muñoz, <luismunoz@cpan.org>
Copyright (C) 2006 by Luis E. Muñoz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl 5.8.6 itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Muñoz,'. Assuming UTF-8
To install Net::Radius::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Radius::Server
CPAN shell
perl -MCPAN -e shell install Net::Radius::Server
For more information on module installation, please visit the detailed CPAN module installation guide.