Net::TacacsPlus::Packet::AuthenReplyBody - Tacacs+ authentication replay body
7. The authentication REPLY packet body
The TACACS+ daemon sends only one type of authentication packet (a REPLY packet) to the client. The REPLY packet body looks as follows:
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 +----------------+----------------+----------------+----------------+ | status | flags | server_msg len | +----------------+----------------+----------------+----------------+ | data len | server_msg ... +----------------+----------------+----------------+----------------+ | data ... +----------------+----------------+
Construct tacacs+ authentication packet body object
Parameters:
'raw_body': raw body
Extract $server_msg and data from raw packet.
Return binary data of packet body.
To install Net::TacacsPlus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::TacacsPlus
CPAN shell
perl -MCPAN -e shell install Net::TacacsPlus
For more information on module installation, please visit the detailed CPAN module installation guide.