GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::TACACSPLUS::PACKET::HEADER (3)

.ds Aq ’

NAME

Net::TacacsPlus::Packet::Header - Tacacs+ packet header

CONTENTS

DESCRIPTION

3. The TACACS+ packet header

All TACACS+ packets always begin with the following 12 byte header. The header is always cleartext and describes the remainder of the packet:



         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
       
        +----------------+----------------+----------------+----------------+
        |major  | minor  |                |                |                |
        |version| version|      type      |     seq_no     |   flags        |
        +----------------+----------------+----------------+----------------+
        |                                                                   |
        |                            session_id                             |
        +----------------+----------------+----------------+----------------+
        |                                                                   |
        |                              length                               |
        +----------------+----------------+----------------+----------------+



METHODS

new( somekey => somevalue) Construct tacacs+ packet header object

1. if constructing from parameters:



        version: protocol version
        type: TAC_PLUS_(AUTHEN|AUTHOR|ACCT)
        seq_no: sequencenumber - default 1
        flags: TAC_PLUS_(UNENCRYPTED_FLAG|SINGLE_CONNECT_FLAG) - default none
        session_id: session id



2. if constructing from raw packet



        raw_header: raw packet



decode($raw_data) Decode $raw_data to version, type, seq_no, flags, session_id, length
raw() returns raw binary representation of header.

<B>NOTEB> For complete binary header, length of body must be added.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::TACACSPLUS::PACKET::HEADER (3) 2011-07-02

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.