HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet issue
Operating System - HP-UX
1825578
Members
2290
Online
109682
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2009 01:10 AM
01-28-2009 01:10 AM
telnet issue
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
physical server, this telnet could be back to the same physical server.
What we see happen is everything is running along smoothly, ie we are
sending and receiving data back and forth, and then we "lock-up".
What I mean is that we have a protocoled message passing from our
applications 2 processes so one side sends data and waits for an ack
before sending the next data. On the receiving side, it reads data, and sends an ack after each.
We have used tusc to watch the 3 processes and what we see happen is that telnet "recvs"
from the one side but doesn't write the data into the pipe towards our
other process, so all of the processes are just sitting on reads.
During correct operation, telnet is "recv"ing from one side and
"write"ing to the other but for some reason, at random times, it stops "write"ing.
physical server, this telnet could be back to the same physical server.
What we see happen is everything is running along smoothly, ie we are
sending and receiving data back and forth, and then we "lock-up".
What I mean is that we have a protocoled message passing from our
applications 2 processes so one side sends data and waits for an ack
before sending the next data. On the receiving side, it reads data, and sends an ack after each.
We have used tusc to watch the 3 processes and what we see happen is that telnet "recvs"
from the one side but doesn't write the data into the pipe towards our
other process, so all of the processes are just sitting on reads.
During correct operation, telnet is "recv"ing from one side and
"write"ing to the other but for some reason, at random times, it stops "write"ing.
- Tags:
- telnet
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2009 01:34 AM
01-28-2009 01:34 AM
Re: telnet issue
Shalom,
Lets see the process data.
http://www.hpux.ws/?p=6
I would need more data to assist you.
Your system may be configured to prevent the same user from telneting twice. That is possible. Lets see inetd.conf
SEP
Lets see the process data.
http://www.hpux.ws/?p=6
I would need more data to assist you.
Your system may be configured to prevent the same user from telneting twice. That is possible. Lets see inetd.conf
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2009 01:54 AM
01-28-2009 01:54 AM
Re: telnet issue
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?
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.
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.
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???"
One of the possible answers might require getting your C programmer on a good "Basics of UNIX network programming" course as soon as possible.
MK
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.
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.
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???"
One of the possible answers might require getting your C programmer on a good "Basics of UNIX network programming" course as soon as possible.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP