home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20059 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  3.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!master.cs.rose-hulman.edu!rosevc.rose-hulman.edu!mgrthh
  2. From: mgrthh@rosevc.rose-hulman.edu (Thomas H. Hopson)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: TT_AccPorNam field remains null on a SHOW USERS output ?
  5. Date: 30 Dec 1992 08:07:30 GMT
  6. Organization: Rose-Hulman Institute of Technology
  7. Lines: 59
  8. Distribution: world
  9. Message-ID: <1hrlc2INNr4g@master.cs.rose-hulman.edu>
  10. References: <01GSVSPU15CY006MJF@VAXF.COLORADO.EDU>
  11. Reply-To: mgrthh@rosevc.rose-hulman.edu
  12. NNTP-Posting-Host: hydra.rose-hulman.edu
  13.  
  14.  
  15. In article <01GSVSPU15CY006MJF@VAXF.COLORADO.EDU>, DWING@UH01.Colorado.EDU (Dan Wing) writes:
  16.  
  17. >(To the best of my limited knowledge) LOGINOUT.EXE is responsible for setting 
  18. >this field.  
  19.  
  20. I believe TTDRIVER and associated TT-based DRIVERs are responsible for
  21. allocating space for and initializing the access port name.  In the case of
  22. LAT terminal sessions, it would be the LTDRIVER code.  When a terminal server
  23. issues a connection request to a VMS interactive temrinal service, the
  24. LTDRIVER code will create an LTAnn: device (including settting up the access
  25. port name) and pass on an unsolicited input to the job controller process to
  26. initiate an interactive login.
  27.  
  28. By the time that LOGINOUT.EXE is activated with its input as the LTAnn: device,
  29. the access port name should have already been set.  If it is not set by that
  30. time, it probably never will be.
  31.  
  32. [The reason that I say *probably* here is that the UCX 1.3 TNDRIVER code would
  33. do weird things when setting access port names.  Namely, it would pass along
  34. unsolicited input from a TNAnn: device it had just created *BEFORE* it had
  35. set the access port name.  The access port name would then be set by the driver
  36. by the time its process had reached SYLOGIN.  This would cause security audit 
  37. logs to always show _TNAnn: terminals with blank access port names on login,
  38. but with set access port names on logout.
  39.  
  40. My only speculation as to why this was the case with TNDRIVER was that UCX was
  41. waiting for a reverse name translation on the source IP address to either
  42. succeed or time out.  If it succeeded, it would use the form
  43.     "Host: <name>    Port: <port>"
  44. otherwise the form
  45.     "Host: <number>    Port: <port>".
  46. In any case, I ended up putting a check in SYLOGIN to wait until the access
  47. port name was set in the case of TNAnn: terminals, so I could reliably check for
  48. off-campus logins.  The check would fire off an OPCOM request if saw a blank
  49. access port name, and I only saw requests once or twice, so it wasn't *too*
  50. bad....
  51.  
  52. This seems to be fixed or at least better in UCX 2.0.]
  53.  
  54. >... Somewhat related to this, it shore would be 'cool' if DEC could include
  55. >this same information for the FTAnn: devices for X terminals.  Ah, well, 
  56. >maybe next version?
  57.  
  58. I installed a hook into FTDRIVER called ATG_FT_PATCH from one of the recent
  59. DECUS tapes (also available off ftp.spc.edu in [.macro32.savesets] or from
  60. Hunter Goatley's fileserv).  It forces FTDRIVER to allocate space for an
  61. access port name that can be later set under program control.
  62.  
  63. We use it with EWS terminals and VT1200s to set access port names on FTAnn:
  64. terminals during SYLOGIN to things like "DECWmotif/TEWS01" and
  65. "DECWmotif/LAT_08002B29CB31".  Of course, it doesn't show in the audit logs,
  66. but it does during a SHOW USERS.  Ah well....
  67.  
  68. --
  69. Thomas H. Hopson                      work: mgrthh@rosevc.rose-hulman.edu
  70. VMS Manager / CS geek                       mgrthh@rhit
  71. Rose-Hulman Institute of Technology   play: hopsonth@cs.rose-hulman.edu
  72. Terre Haute, Indiana
  73.