[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5248.0. "Looking for PHYSICAL terminal server port with Virtual Terminals" by CSC32::R_WILLIAMS () Wed Feb 19 1997 21:50

    Hi,
    
    Is there any way to look at the physical port number for Virtual
    Terminals?
    
    Thanks,
    
    -Rick
    
  Digital TCP/IP Services for OpenVMS Alpha Version V4.1 - ECO Level 3
  on a AlphaServer 2100 4/200 running OpenVMS V6.2

    
Subj:	TELNET & Terminal Server Physical Port Names

I would like to know if there is a way to identify the PHYSICAL terminal
server port that a TELNET session originated from.  This would be very
helpful in instances when I want to find out where a user is logged in.

In the following examples, all connections were made from the same
terminal server port.

============================================================
CORP>show users /full hollowayk
      OpenVMS User Processes at 19-FEB-1997 20:41:37.66
    Total number of users = 1,  number of processes = 5

 Username   Process Name    PID     Terminal
 HOLLOWAYK  HOLLOWAYK     00001B52  VTA728:  LTA5805: (TCORP/PORT_38)
 HOLLOWAYK  Kenneth       00001253  VTA729:  LTA5806: (TCORP/PORT_38)
 HOLLOWAYK  Kenneth_2     00001B54  VTA730:  TNA151:
                                       (Host: TCorp.VMS.ClayEnv.com
Port: 5061 )
 HOLLOWAYK  Kenneth_3     00001A55  VTA731:  TNA152:
                                       (Host: TCorp.VMS.ClayEnv.com
Port: 5062 )
 HOLLOWAYK  Kenneth_4     00001956  RTA1:    (CORP::HOLLOWAYK)

The LAT sessions indicate the terminal server name (TCORP) and the
terminal server's physical port name (PORT_38), which can also be
retrieved with F$GETDVI("TT","TT_ACCPORNAM").

The TELNET sessions indicate the terminal server name (Host:
TCorp.VMS.ClayEnv.com), but unfortunatly they only indicate the TELNET
port number (in this case, "Port: 5061" and "Port: 5062").  I do not
know any way to determine which physical port on TCorp.VMS.ClayEnv.com
created the session for Port: 5061.


For Kenneth_4 on RTA1:
CORP>show logical /job

(LNM$JOB_80E1F540)

  "SYS$LOGIN" = "USERS$DISK:[HOLLOWAYK]"
  "SYS$LOGIN_DEVICE" = "USERS$DISK:"
  "SYS$REM_ID" = "HOLLOWAYK"
  "SYS$REM_NODE" = "CORP::"
  "SYS$REM_NODE_FULLNAME" = "CORP::"
  "SYS$SCRATCH" = "USERS$DISK:[HOLLOWAYK]"

SYS$REM_NODE and SYS$REM_ID seem to indicate the same thing as
TT_ACCPORNAM.


For Kenneth on LTA5806: or Kenneth_3 on TNA152:
CORP>show logical /job

(LNM$JOB_80F0BA40)

  "SYS$LOGIN" = "USERS$DISK:[HOLLOWAYK]"
  "SYS$LOGIN_DEVICE" = "USERS$DISK:"
  "SYS$SCRATCH" = "USERS$DISK:[HOLLOWAYK]"

There are no SYS$REM_NODE or SYS$REM_ID.

============================================================
KENS>show users /full
      OpenVMS User Processes at 19-FEB-1997 20:25:11.48
    Total number of users = 1,  number of processes = 1

 Username Process Name    PID     Terminal
 SYSTEM   SYSTEM        00000226  TNA8:
                                       (Host: TCorp.VMS.ClayEnv.com
Port: 5063 )

KENS>show logical /job

(LNM$JOB_83AB51C0)

  "SYS$LOGIN" = "SYS$SYSROOT:[SYSMGR]"
  "SYS$LOGIN_DEVICE" = "SYS$SYSROOT:"
  "SYS$REM_ID" = "TELNET_BFFE01DC"
  "SYS$REM_NODE" = "3221094876::"
  "SYS$REM_NODE_FULLNAME" = "3221094876::"
  "SYS$SCRATCH" = "SYS$SYSROOT:[SYSMGR]"

On this machine:
KENS>ucx show version

  Digital TCP/IP Services for OpenVMS VAX Version V4.1 - ECO Level 3
  on a VAX 4000-300 running OpenVMS V6.2

KENS>ucx show service telnet /full

Service: TELNET
                           State:     Enabled
Port:               23     Protocol:  TCP             Address:  0.0.0.0
Inactivity:          1     User_name: not defined     Process:  not
defined
Limit:              50     Active:      1             Peak:       2

File:         not defined
Flags:        Listen Rtty

Socket Opts:  Keepalive Rcheck Scheck
 Receive:         3000     Send:            3000

Log Opts:     Actv Dactv Conn Error Logi Logo Mdfy Rjct
 File:        not defined

Security
 Reject msg:  not defined
 Accept host: 0.0.0.0
 Accept netw: 0.0.0.0
T.RTitleUserPersonal
Name
DateLines
5248.1UTRTSC::KNOPPERSOswald KnoppersThu Feb 20 1997 05:073
No. Unfontunally there is no way you can do this.

Oswald
5248.2UCXAXP::GEMIGNANIThu Feb 20 1997 17:201
    A future TNdriver will have this ability.