Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::TacacsPlus::PackeUsercContributedaPerlPDos::Packet::AccountRequestBody(3)

NAME
       Net::TacacsPlus::Packet::AccountRequestBody - Tacacs+ accounting
       request body

DESCRIPTION
       The account REQUEST packet body

		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

	       +----------------+----------------+----------------+----------------+
	       |      flags	|  authen_method |    priv_lvl	  |  authen_type   |
	       +----------------+----------------+----------------+----------------+
	       | authen_service	|    user len	 |    port len	  |  rem_addr len  |
	       +----------------+----------------+----------------+----------------+
	       |    arg_cnt	|   arg	1 len	 |   arg 2 len	  |	 ...	   |
	       +----------------+----------------+----------------+----------------+
	       |   arg N len	|    user ...
	       +----------------+----------------+----------------+----------------+
	       |   port	...
	       +----------------+----------------+----------------+----------------+
	       |   rem_addr ...
	       +----------------+----------------+----------------+----------------+
	       |   arg 1 ...
	       +----------------+----------------+----------------+----------------+
	       |   arg 2 ...
	       +----------------+----------------+----------------+----------------+
	       |   ...
	       +----------------+----------------+----------------+----------------+
	       |   arg N ...
	       +----------------+----------------+----------------+----------------+

METHODS
       new( somekey => somevalue)
	   Construct tacacs+ accounting	REQUEST	packet body object

	   Parameters:

		   acct_flags	 : TAC_PLUS_ACCT_FLAG_*	  - default TAC_PLUS_ACCT_FLAG_STOP
		   authen_method : TAC_PLUS_AUTHEN_METH_* - default TAC_PLUS_AUTHEN_METH_TACACSPLUS
		   priv_lvl	 : TAC_PLUS_PRIV_LVL_*	  - default TAC_PLUS_PRIV_LVL_MIN
		   authen_type	 : TAC_PLUS_AUTHEN_TYPE_* - default TAC_PLUS_AUTHEN_TYPE_ASCII
		   service	 : TAC_PLUS_AUTHEN_SVC_*  - default TAC_PLUS_AUTHEN_SVC_LOGIN
		   user		 : username
		   port		 : port			  - default 'Virtual00'
		   rem_addr	 : our ip address	  - default '127.0.0.1'
		   args		 : args	arrayref

       decode($raw_body)
	   Construct body object from raw data.

       raw()
	   Return binary data of packet	body.

perl v5.32.0			Net::TacacsPlus::Packet::AccountRequestBody(3)

NAME | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::TacacsPlus::Packet::AccountRequestBody&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help