<?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 Setting timeout for idle telnet session in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974490#M75788</link>
    <description>&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to configure a timeout for idle telnet sessions. For instance, if a telnet session has been idle for 1 minute than the session needs to be terminated.&lt;BR /&gt;&lt;BR /&gt;I have configured the following timeout value for the telnet service:&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; set service telnet /INACTIVITY_TIMER=1 /SOCKET_OPTIONS=NOKEEPALIVE&lt;BR /&gt;TCPIP&amp;gt; disable service telnet&lt;BR /&gt;TCPIP&amp;gt; enable service telnet&lt;BR /&gt;TCPIP&amp;gt; show service telnet /full&lt;BR /&gt;&lt;BR /&gt;Service: TELNET&lt;BR /&gt;                           State:     Enabled&lt;BR /&gt;Port:               23     Protocol:  TCP             Address:  0.0.0.0&lt;BR /&gt;Inactivity:          1     User_name: not defined     Process:  not defined&lt;BR /&gt;Limit:              50     Active:      1             Peak:       1&lt;BR /&gt;&lt;BR /&gt;File:         not defined&lt;BR /&gt;Flags:        Listen Rtty&lt;BR /&gt;&lt;BR /&gt;Socket Opts:  Rcheck Scheck&lt;BR /&gt; Receive:         3000     Send:            3000&lt;BR /&gt;&lt;BR /&gt;Log Opts:     Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr&lt;BR /&gt; File:        not defined&lt;BR /&gt;&lt;BR /&gt;TCP options:  Delay&lt;BR /&gt; Drop_count:        10     Probe_timer:      600&lt;BR /&gt;&lt;BR /&gt;Security&lt;BR /&gt; Reject msg:  not defined&lt;BR /&gt; Accept host: 0.0.0.0&lt;BR /&gt; Accept netw: 0.0.0.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, the idle sessions are not terminated after the defined period of time has elapsed. The TCP keepalive settings are set as below, however I expect them not to be taken into account because of the /SOCKET_OPTIONS = NOKEEPALIVE that I set:&lt;BR /&gt;&lt;BR /&gt;tcp_keepalive_default = 0&lt;BR /&gt;tcp_keepcnt = 8&lt;BR /&gt;tcp_keepidle = 150&lt;BR /&gt;tcp_keepinit = 150&lt;BR /&gt;tcp_keepintvl = 150&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave Laurier&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Apr 2006 01:21:01 GMT</pubDate>
    <dc:creator>Dave Laurier</dc:creator>
    <dc:date>2006-04-20T01:21:01Z</dc:date>
    <item>
      <title>Setting timeout for idle telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974490#M75788</link>
      <description>&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to configure a timeout for idle telnet sessions. For instance, if a telnet session has been idle for 1 minute than the session needs to be terminated.&lt;BR /&gt;&lt;BR /&gt;I have configured the following timeout value for the telnet service:&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; set service telnet /INACTIVITY_TIMER=1 /SOCKET_OPTIONS=NOKEEPALIVE&lt;BR /&gt;TCPIP&amp;gt; disable service telnet&lt;BR /&gt;TCPIP&amp;gt; enable service telnet&lt;BR /&gt;TCPIP&amp;gt; show service telnet /full&lt;BR /&gt;&lt;BR /&gt;Service: TELNET&lt;BR /&gt;                           State:     Enabled&lt;BR /&gt;Port:               23     Protocol:  TCP             Address:  0.0.0.0&lt;BR /&gt;Inactivity:          1     User_name: not defined     Process:  not defined&lt;BR /&gt;Limit:              50     Active:      1             Peak:       1&lt;BR /&gt;&lt;BR /&gt;File:         not defined&lt;BR /&gt;Flags:        Listen Rtty&lt;BR /&gt;&lt;BR /&gt;Socket Opts:  Rcheck Scheck&lt;BR /&gt; Receive:         3000     Send:            3000&lt;BR /&gt;&lt;BR /&gt;Log Opts:     Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr&lt;BR /&gt; File:        not defined&lt;BR /&gt;&lt;BR /&gt;TCP options:  Delay&lt;BR /&gt; Drop_count:        10     Probe_timer:      600&lt;BR /&gt;&lt;BR /&gt;Security&lt;BR /&gt; Reject msg:  not defined&lt;BR /&gt; Accept host: 0.0.0.0&lt;BR /&gt; Accept netw: 0.0.0.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, the idle sessions are not terminated after the defined period of time has elapsed. The TCP keepalive settings are set as below, however I expect them not to be taken into account because of the /SOCKET_OPTIONS = NOKEEPALIVE that I set:&lt;BR /&gt;&lt;BR /&gt;tcp_keepalive_default = 0&lt;BR /&gt;tcp_keepcnt = 8&lt;BR /&gt;tcp_keepidle = 150&lt;BR /&gt;tcp_keepinit = 150&lt;BR /&gt;tcp_keepintvl = 150&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave Laurier&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Apr 2006 01:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974490#M75788</guid>
      <dc:creator>Dave Laurier</dc:creator>
      <dc:date>2006-04-20T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timeout for idle telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974491#M75789</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;as far as I know, interactive TELNET sessions are not terminated after a time spec. by the INACTIVITY settings. I do not know exactly what the value means for TELNET (for FTP e.g. it specifies how long the FTP daemon stays alive without doing anything).&lt;BR /&gt;&lt;BR /&gt;To kill inactive usersession we use the WATCHER utility from Hunter Goatley, see the archives under&lt;BR /&gt;&lt;A href="http://www.madgoat.com/watcher.html" target="_blank"&gt;http://www.madgoat.com/watcher.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 20 Apr 2006 03:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974491#M75789</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-04-20T03:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting timeout for idle telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974492#M75790</link>
      <description>&lt;BR /&gt;Will look at the suggested alternative. Thanks for this information.</description>
      <pubDate>Fri, 21 Apr 2006 01:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-timeout-for-idle-telnet-session/m-p/4974492#M75790</guid>
      <dc:creator>Dave Laurier</dc:creator>
      <dc:date>2006-04-21T01:46:14Z</dc:date>
    </item>
  </channel>
</rss>

