<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tracking TCPIP SHOW DEVICE_SOCKETS to specific session in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081562#M46690</link>
    <description>As has been said several commands are required. The procedure I use can be found here&lt;BR /&gt;&lt;A href="http://dcl.openvms.org/stories.php?story=03/06/03/0226504" target="_blank"&gt;http://dcl.openvms.org/stories.php?story=03/06/03/0226504&lt;/A&gt;</description>
    <pubDate>Tue, 30 Sep 2003 11:46:32 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2003-09-30T11:46:32Z</dc:date>
    <item>
      <title>Tracking TCPIP SHOW DEVICE_SOCKETS to specific session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081558#M46686</link>
      <description>Our security folks sometimes get a little crazy about TCP/IP security.  They want to be able to trace a port number to a specific user and process.  Unfortunately, what you get from the TCPIP SHOW DEVICE_SOCKETS command is BG devices, but what I REALLY want is to be able to tie the BG devices back to the corresponding TNA (pseudo-terminal) devices linked to and fed by the BGs.&lt;BR /&gt;&lt;BR /&gt;The problem is that TNA devices have owners.  BG devices, despite being active devices, do not.  (Do a SHOW DEVICE/FULL TNA and compare it to a  SHOW DEVICE/FULL BG to see the differences between the two.)&lt;BR /&gt;&lt;BR /&gt;Short of writing privileged code to track an address chain through the device database, a prospect that doesn't enthrall me, is there a command that lets me track this linkage from a command-line prompt?</description>
      <pubDate>Tue, 30 Sep 2003 07:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081558#M46686</guid>
      <dc:creator>Richard W Hunt</dc:creator>
      <dc:date>2003-09-30T07:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking TCPIP SHOW DEVICE_SOCKETS to specific session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081559#M46687</link>
      <description>The port number you see when typing "show us/f" should correspond to the port you get in TCPIP SHOW DEV if I remember correctly.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2003 08:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081559#M46687</guid>
      <dc:creator>Åge Rønning</dc:creator>
      <dc:date>2003-09-30T08:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking TCPIP SHOW DEVICE_SOCKETS to specific session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081560#M46688</link>
      <description>It requires a number of lists:&lt;BR /&gt;&lt;BR /&gt;$ SHOW DEV/FULL TNA - gives owning process data (name, Id, account) for each TNA device.&lt;BR /&gt;&lt;BR /&gt;$ SHOW PROCESS/ID=&lt;ID from="" this="" list=""&gt;&lt;BR /&gt;This will give you terminalnumber, remote host and portnumber for this process&lt;BR /&gt;&lt;BR /&gt;$ TCPIP SHO DEV/FULL&lt;BR /&gt;search this list for remote host and port - and you'll have the BG device as well.&lt;BR /&gt;&lt;BR /&gt;See attachment for an example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/ID&gt;</description>
      <pubDate>Tue, 30 Sep 2003 09:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081560#M46688</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-09-30T09:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking TCPIP SHOW DEVICE_SOCKETS to specific session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081561#M46689</link>
      <description>Look this example:&lt;BR /&gt;$ SAY="WRITE SYS$OUTPUT"&lt;BR /&gt;$ A = 0&lt;BR /&gt;$MLOOP:&lt;BR /&gt;$ PN=F$PID(A)&lt;BR /&gt;$ IF PN .EQS. "" THEN GOTO END_LOOP&lt;BR /&gt;$ PPID :== 'PN'&lt;BR /&gt;$! Only interactive user&lt;BR /&gt;$ MODE=F$GETJPI(PPID,"MODE")&lt;BR /&gt;$ IF MODE.NES."INTERACTIVE" THEN GOTO MLOOP&lt;BR /&gt;$! Only telnet session&lt;BR /&gt;$ VT=F$GETJPI(PPID,"TERMINAL")&lt;BR /&gt;$ IF VT.EQS."" THEN GOTO MLOOP&lt;BR /&gt;$ IF F$EXTR(0,3,VT).NES."TNA" THEN GOTO MLOP&lt;BR /&gt;$ REMOTE=F$GETDVI(VT,"TT_ACCPORNAM")&lt;BR /&gt;$ REM_IP=F$ELEM(1," ",F$EDIT -(REMOTE,"COMPRESS"))&lt;BR /&gt;$! Now display Proc.ID, Terminal and Remote data&lt;BR /&gt;$ SAY PPID," ",VT," ",REMOTE," ",REM_IP,"!"&lt;BR /&gt;$ GOTO MLOOP&lt;BR /&gt;$END_LOOP:&lt;BR /&gt;$ EXIT&lt;BR /&gt;This is only an example. This command procedure don't work id you have define PC as host (TCPIP DEF HOST ...)&lt;BR /&gt; &lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2003 09:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081561#M46689</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-09-30T09:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking TCPIP SHOW DEVICE_SOCKETS to specific session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081562#M46690</link>
      <description>As has been said several commands are required. The procedure I use can be found here&lt;BR /&gt;&lt;A href="http://dcl.openvms.org/stories.php?story=03/06/03/0226504" target="_blank"&gt;http://dcl.openvms.org/stories.php?story=03/06/03/0226504&lt;/A&gt;</description>
      <pubDate>Tue, 30 Sep 2003 11:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081562#M46690</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2003-09-30T11:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking TCPIP SHOW DEVICE_SOCKETS to specific session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081563#M46691</link>
      <description>hi Antoniov,&lt;BR /&gt;&lt;BR /&gt;it will work better with&lt;BR /&gt;&lt;BR /&gt;$ IF F$EXTR(0,3,VT).NES."TNA" THEN GOTO MLOOP&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;$ REM_IP=F$ELEM(1," ",F$EDIT(REMOTE,"COMPRESS"))&lt;BR /&gt;&lt;BR /&gt;:P&lt;BR /&gt;&lt;BR /&gt;just my 2 cents</description>
      <pubDate>Fri, 14 Nov 2003 02:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tracking-tcpip-show-device-sockets-to-specific-session/m-p/3081563#M46691</guid>
      <dc:creator>Ferriere Jean-Philippe</dc:creator>
      <dc:date>2003-11-14T02:11:09Z</dc:date>
    </item>
  </channel>
</rss>

