17.3 System Access Control

 


17.3.0 What is System Access Control

17.3.1 User-Related Security View

17.3.2 Channel-Related Security View


 

17.3.0 What is System Access Control

 

System Access Control authorizes the establishment of a session (i.e., login) and its continuation until logoff.

Before granting a session, the TL1 Agent will validate and authenticate the session requester. In addition, the NE/NS also ensures that the communication path between the NE/NS and the session requester is trusted so that no intruder can enter the channel.

 

The main objective of System Access Control feature is to reduce the risk of unauthorized access to the NE/NS.

User-Related Security View and Channel-Related Security View, help in achieving system access control. Commands that are available for System Access Control are explained in User-Related Security View and Channel-Related Security View.

 

17.3.1 User-Related Security View

 

User-Related Security View is essential for identification and authentication of the users accessing the TL1 Agent. The User-Related Security View contains the security parameters and its values associated with all the users authorized to access the TL1 Agent.

 

Using the User-Related Security View system access control is possible. The user details and various other privileges associated with the user are entered in the User related Security View.

 

17.3.1.1 Enabling User-Related Security View

 

Follow the steps given below to enable User Security view in TL1 Agent

17.3.1.2 User Security Related Parameters

 

The following are the user detail parameters that are available in the User Related Security View.

 

User Name (UID): This parameter contains the User Name of the user. User Name can be a maximum of 10 Alpha Numeric characters.

Password (PID): This parameter contains the password for the corresponding user name. password will be present in encrypted format. MD5 Algorithm is used for encryption.

User Status (STATE): This parameter determines if the particular user name is functioning i.e. in service (IS) or not functioning i.e. out of service (OS).

Password Aging Time (PAGE): This is the expiry duration for the password. When an user logs in after the page period, he/she will be intimated with the details of the PCNN and PCND. The user has to change the password before the PCND or the PCNN period. The password aging time is in days. Default value is 60. Range is between 0 to 999 days.

Early warning on imminent password aging (PCND): This is the time period in number of days after the PAGE, which is allowed for the user to change his password. The unit of PCND is in days. Default value is 7. Range is between 0 to 999 days

Early warning on imminent password aging (PCNN): This is the number of times that a user can log in after PAGE limit was reached and before which the user has to change his password. Default value 3. . Range is between 0 to 999 times

Time of Last Log in (LastLoginTimeStamp): This is the last recorded Login time of a user. This time will be displayed every time a user logs in.

Password Obsolescence Interval (POINT): This is the minimum time interval that is required if the User wishes to use a password that was already used. Unit of POINT is in days. Please note that POINT has not been implemented in this release. Default value 180. Range is between 0 to 999 days

User ID Aging Interval (UOUT): This parameter specifies the aging or expiry interval of a particular User Id. At the end of this interval, the UID is disabled if during this interval it has never been used to setup a session. Default value is 90. Range is between 0 to 999 days.

Channel Identifier List (CID) : This is the list of channels (like TCP UDP etc) through which a particular user has access. Default value is TCP.

User Access Privilege (UAP): This parameter contains information about the access privileges. UAP is alphanumeric. By default the TL1 compiler takes the UAP value of "priv1".

List of Ports (LSTOI): This is the list of objects or ports (or directory numbers) that a particular user is authorized to access. The user needs to handle this parameter.

 

17.3.1.3 User Related Security View Commands for Authentication

 

1. Command for User Authentication

 

Following is the input message format for User Authentication.

ACT-USER::<UID>:<CTag>::<PID>;

The User Name (or User ID) has to be entered in the Access Identifier Block and the Password is to be entered in the Message payload block

e.g. Input Message.:- ACT-USER::root:1::public;

The above example Logs in the user with UID "root" and PID "public" from the TL1Agent

 

2. Command for logging out of the TL1 Agent

 

Following is the input message format for logging out.

CANC-USER::<UID>:<CTag>::;

CANC-USER just closes the connection of the user with the TL1 Agent, but the session will not be closed. UID is the Username of the user who wishes to log out.

e.g. Input Message:- CANC-USER::root:2::;

The above example Logs out the user with UID "root" from the TL1Agent

 

3. Command for Editing the Password

 

Using the below command any user can edit his/her password

ED-PID::<UID>:<CTag>::a,b;

where "a" is the old Password (PID) and "b" is the new Password (PID ). UID is the Username of the user who wishes to change the PID.

e.g.:- ED-PID::root:3::public,secret;

The above example changes the password of the user "root" from "public" to "secret"

 

4. Command for Retrieving the User Security Parameters.

 

This command can be used by a user to retrieve the Security Parameters associated with that said user (except password, which cannot be retrieved).

Following is the input message format for the command for retrieving the User Security Parameter details.

RTRV-USER-SECU:<TID>:<UID>:<CTag>::;

UID is the User ID of the user who is retrieving the security-related parameters related to that UID.

e.g. Input Message: RTRV-USER-SECU::root:12::;

 

The above Input command example retrieves the User Security Details of the user "root" as shown below in the Output Response

      Response Message Received From :localhost

      <CR>

      <LF><LF> Source 02-01-09 20:25:02<CR>

      <LF>M 12 RTRV<CR>

      <LF>

      <LF>;

17.3.1.4 User-Related Security View Commands for System Administration

 

The following commands are administrator commands. Only the root user can use the following commands. The default user name and password for the administrator are "root" and "public" respectively. The administrator cannot change the user name but can change the password using the ED-USER-SECU (Edit) command which is explained in the proceeding sections.

 

1. Entering New User Details into the User Security View.

 

Following is the input message format for entering user details in the User Security View.

 

ENT-USER-SECU ::<UID>:<CTag>: PID,CID,UAP : PCND,PCNN,POINT,UOUT,LSTOILIST;

 

Using this command, a new user and his details can be added to the User Security View. The first list in the MPB namely PID,CID and UAP are position defined and their values have to be entered in that order. The next list namely PCND, PCNN, POINT, UOUT, LSTOILIST, is keyword defined and can be entered in any sequence provided the right values are assigned to the appropriate parameters. Also please remember that only either of the two values PCNN and PCND should be given.

e.g.:-

ENT-USER-SECU::user1:13::user1,TCP,2:page=56,pcnd=8,uout=30,point=87,

lstoi=file;

 

The above Input command example creates a new user "user1" with User Security Parameter values shown in it.

 

2. Editing Existing User Details in the User Security View.

 

Following is the input message format for editing the user details in the User Security View.

 

ED-USER-SECU::<UID>:<CTag>: UID,PID,CID,UAP : PCND,PCNN,POINT,UOUT,LSTOILIST;

 

Using the above command, the administrator can edit and modify the details of any user in the User Security View. The first list in the MPB namely UID, PID, CID and UAP are position defined and their values have to be entered in that order. The next list in the MPB is Keyword defined and can be entered in any sequence provided the right values are assigned to the appropriate parameters.

e.g.

ED-USER-SECU::user1:13::user1,pswd,TCP,2:page=56,pcnd=4,uout=32,

point=84,lstoi=file;

 

The above input command example edits the User Security details of the User quot;user1" with new User Security parameter values shown in it. Please note that it is not mandatory that during editing all the MPB values should be given. Only the parameter which is to be changed can be given.

 

3.Deleting a User from the User Security View.

 

Following is the input message format for deleting a user from the User Security View.

 

DLT-USER-SECU ::<UID>:<CTag>::;

 

Using the above command, any user can be permanently removed from the User Security View by the administrator.

The User Name (UID) of the user to be removed is entered in the Access IDentifier (AID) block

e.g.:- DLT-USER-SECU::user1:14::;

 

The above Input command example deletes the user "user1" from the User Security view.

 

4. Retrieving User-Related Security View Details

 

The following command is used by the administrator to retrieve the User-Related Security View details of a particular user.

 

Following is the input message format for terminating the session of the user from the User Security View.

 

RTRV-USER-SECU :<TID>:<UID>:<CTag>:<GB>:;

 

UID s the User ID of the user whose user security details are to be retrieved.

e.g. RTRV-USER-SECU::user1:4::;

 

The above example retrieves the user security details of the user with User ID"user1".

      Note: After adding, editing or deleting an entry in the security view, the respective security entry will be updated in the corresponding text file available under the <Your Project>/agent/bin/conf directory.

17.3.1.5 Using User-Related Security View

 

This section will teach you how to use the User-Related Security View and add a new user to it.

 

17.3.1.5.1 Logging in and Logging Out

 

Logging in and Logging out can otherwise be called as Authentication. Follow the steps given below to login and logout of the TL1 Agent. Here we will be logging in as the administrator whose default user name and password are "root" and "public" respectively.

17.3.1.5.2 Adding User-Related Security Parameter Values

 

Values for the User-Related Security Parameters can be added or modified in the following two ways:

1. From the TL1 Compiler

 

Follow the steps given below to add the values for User Security View parameters. In this chapter we will be taking an example of adding a new user with user name "User1" and password "pswd" to the User Security View.

 

Please note that by default PCND is enabled in the TL1Compiler. This is achieved by giving negative value to PCNN. However the user can enable PCNN just by giving any positive value less than 999.

 

2. From the TL1 Browser

 

New user and his/her details can also be added or the values of the parameters of the existing users can be modified from the TL1 Browser. This can be done using the Commands related to User Security View available in the tl1security.tcs file. Please follow the steps given below.

Similarly all the other User Security Related commands such as ED-USER-SECU, DLT-USER-SECU, RTRV-USER-SECU can be used from the TL1 Browser.

 

17.3.2 Channel-Related Security View

 

The channel related security view contains details related to security for each of the protocols. Using the Channel related Security View System Access control is possible. Using this view the administrator can restrict certain channels to certain users or certain resource of a system can be made accessible only through certain channels.

 

The Channel-Related Security View contains the security parameters associated with all channels. Channels dealt with here are the Transport Protocols like the TCP, Craft Interface etc.

 

17.3.2.1 Enabling Channel Security View

 

Follow the steps given below to enable Channel Security View in TL1 Agent

If Channel security is not enabled then session will be expired if kept idle for the duration "Session timeout". As soon as Channel security is enabled session expiry is calculated only as per TMOUT of the channel.

 

17.3.2.2 Channel Security Related Parameters

17.3.2.3 Channel-Related Security View Commands

 

Following are the Channel-Related Security view commands that have been implemented in the TL1 Agent.

 

Administrator Commands

 

The following commands are administrator commands in Command Security View. Only the "root" User can use the following commands. The default User Name and Password for the administrator are "root" and "public" respectively.

 

1.Command for Entering a New Channel

 

This command is used by the administrator to enter the Security Parameters associated with the Channel Identifiers

 

The Format of the Input Command is as follows

 

ENT-CID-SECU : <TID> : <CID>: <CTag>:<GB>:CHAP:DURAL,MXINV,TMOUT;

 

The Channel ID is entered in the AID block. The first list in the MPB namely CHAP is a position defined parameter. The next list in the MPB namely DURAL, MXINV, TMOUT are Keyword defined and can be entered in any sequence provided the right values are assigned to the appropriate parameters.

e.g.

ENT-CID-SECU::craft:10::2,MXINV=5,DURAL=00-13-23,TMOUT=26;

 

The above example adds a new channel "craft" with privilege as 2 to the Channel Security View.

 

2. Command for Editing Channel-Related Security Details.

 

Using the following command, the administrator can edit and modify the details of any Security Parameters associated with the Channel Identifiers

 

The Format of the Input Command is as follows

ED-CID-SECU:<TID>:<CID>:<CTag>:<GB>:CHAP:DURAL,MXINV,TMOUT;

 

All parameter blocks are position defined, except DURAL, MXINV and TMOUT which are keyword defined. Only those Data Parameters that are to be edited are entered. Those that remain unaffected are omitted from the command.

e.g.

ED-CID-SECU::craft:10::1&2,MXINV=7,DURAL=00-13-23,TMOUT=26;

 

The above example changes the Channel Access Privilege (CHAP) and MAXINV values of the channel "craft".

 

3. Command for Deleting Channel Related Security Parameters.

 

Using the following command, the administrator can delete the Security Parameters associated with any channel identifier in the Channel Security View.

 

The Format of the Input Command is as follows

DLT-CID-SECU:<TID>:<CID>:<CTag>:<GB>:;

e.g. DLT-CID-SECU::craft:10::;

 

The above example input command deletes the Channel Craft from the Channel Security View

 

The Channel ID (CID) of the Channel whose security parameters are to be deleted is entered in the Access IDentifier (AID) block

 

4. Command for Retrieving Channel Security Parameters

 

This command is to retrieve the Security Parameters associated with any and all channel identifiers. (These identifiers may signify the user system interface ports of the NE/NS, or directory numbers of users authorized to have access to the NE/NS operations database.) This command al though is a administrator related command any user can retrieve the details of the cid mentioned in his cidList.

 

The Format of the Input Command is as follows

RTRV-CID-SECU:<TID>:<CID>:<CTag>:<GB>:;

CID is the channel identifier which may be a single CID or a block of CIDS, where the block may include all CIDS.

e.g. RTRV-CID-SECU::tcp:2::

 

The above example retrieves the Channel Related Security details of the channel "tcp" as shown in the response below.

 

Response Message Received From :localhost

<CR>

<LF><LF> Source 02-01-12 16:41:50<CR>

<LF>M 2 RTRV<CR>

<LF> "TCP:1:MXINV=5,DURAL=0-1-0,TMOUT=15"<CR>

<LF>;

      Note: After adding, editing or deleting an entry in the security view, the respective security entry will be updated in the corresponding text file available under the <Your Project>/agent/bin/conf directory.

17.3.2.4 Using Channel-Related Security View.

 

Adding Channel-Related Security Parameter Values

 

Values for the Channel-Related Security Parameters can be added or modified in the following two ways:

In this chapter we will be taking an example of adding a new Channel CRAFT to the Channel Security View along with the values for the Channel Security parameters

 

1. From the TL1 Compiler

 

Follow the steps given below to add the values for Channel Security View parameters.

                

 

2. From the TL1 Browser

 

New Channel and its details can also be added or the values of the parameters of the existing channel can be modified from the TL1 Browser. This can be done using the Commands related to Channel Security View available in the tl1security.tcs file. Following the steps be below.

Similarly all the other Channel Security Related commands such as ED-CID-SECU, DLT-CID-SECU, CANC-CID-SECU and RTRV-CID-SECU can be used from the TL1 Browser.

 



Copyright © 2009, ZOHO Corp. All Rights Reserved.