<?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 telnet issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346249#M683889</link>
    <description>We have an application that in 'c' code opens 2 pipes and forks telnet to login to our application. Since this can all run on the same &lt;BR /&gt;physical server, this telnet could be back to the same physical server.&lt;BR /&gt;&lt;BR /&gt;What we see happen is everything is running along smoothly, ie we are &lt;BR /&gt;sending and receiving data back and forth, and then we "lock-up".&lt;BR /&gt;&lt;BR /&gt;What I mean is that we have a protocoled message passing from our &lt;BR /&gt;applications 2 processes so one side sends data and waits for an ack &lt;BR /&gt;before sending the next data. On the receiving side, it reads data, and sends an ack after each.&lt;BR /&gt;&lt;BR /&gt;We have used tusc to watch the 3 processes and what we see happen is that telnet "recvs" &lt;BR /&gt;from the one side but doesn't write the data into the pipe towards our &lt;BR /&gt;other process, so all of the processes are just sitting on reads.&lt;BR /&gt;&lt;BR /&gt;During correct operation, telnet is "recv"ing from one side and &lt;BR /&gt;"write"ing to the other but for some reason, at random times, it stops "write"ing.</description>
    <pubDate>Wed, 28 Jan 2009 09:10:09 GMT</pubDate>
    <dc:creator>ASR</dc:creator>
    <dc:date>2009-01-28T09:10:09Z</dc:date>
    <item>
      <title>telnet issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346249#M683889</link>
      <description>We have an application that in 'c' code opens 2 pipes and forks telnet to login to our application. Since this can all run on the same &lt;BR /&gt;physical server, this telnet could be back to the same physical server.&lt;BR /&gt;&lt;BR /&gt;What we see happen is everything is running along smoothly, ie we are &lt;BR /&gt;sending and receiving data back and forth, and then we "lock-up".&lt;BR /&gt;&lt;BR /&gt;What I mean is that we have a protocoled message passing from our &lt;BR /&gt;applications 2 processes so one side sends data and waits for an ack &lt;BR /&gt;before sending the next data. On the receiving side, it reads data, and sends an ack after each.&lt;BR /&gt;&lt;BR /&gt;We have used tusc to watch the 3 processes and what we see happen is that telnet "recvs" &lt;BR /&gt;from the one side but doesn't write the data into the pipe towards our &lt;BR /&gt;other process, so all of the processes are just sitting on reads.&lt;BR /&gt;&lt;BR /&gt;During correct operation, telnet is "recv"ing from one side and &lt;BR /&gt;"write"ing to the other but for some reason, at random times, it stops "write"ing.</description>
      <pubDate>Wed, 28 Jan 2009 09:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346249#M683889</guid>
      <dc:creator>ASR</dc:creator>
      <dc:date>2009-01-28T09:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: telnet issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346250#M683890</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Lets see the process data.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=6" target="_blank"&gt;http://www.hpux.ws/?p=6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would need more data to assist you. &lt;BR /&gt;&lt;BR /&gt;Your system may be configured to prevent the same user from telneting twice. That is possible. Lets see inetd.conf&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 28 Jan 2009 09:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346250#M683890</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-01-28T09:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: telnet issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346251#M683891</link>
      <description>Does the data sent by your application contain anything that might be interpreted as Telnet escape character (ASCII 0x1d, or Ctrl-])? Or has this been disabled by a command-line option to the telnet process?&lt;BR /&gt;&lt;BR /&gt;You say there are 3 processes in this setup. Your client application is one of them, then there is the "telnet" process and the last would be the server application. &lt;BR /&gt;&lt;BR /&gt;I guess there is no "telnetd" involved, and your application is making telnet connect to something that is not really a telnet server and does not really follow the requirements of the Telnet protocol. This may cause all kinds of problems.&lt;BR /&gt;&lt;BR /&gt;The question you should be asking is: "It takes just two system calls to initiate a TCP connection directly from your client application. Why on earth is telnet used here???"&lt;BR /&gt;&lt;BR /&gt;One of the possible answers might require getting your C programmer on a good "Basics of UNIX network programming" course as soon as possible.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 28 Jan 2009 09:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-issue/m-p/4346251#M683891</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-01-28T09:54:57Z</dc:date>
    </item>
  </channel>
</rss>

