- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet data loss
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-12-2004 09:53 PM
01-12-2004 09:53 PM
I have a problem on my HP-UX10.20 platform. When a user pastes a 'largish' block of data into a telnet session only a small portion is being received.
I used the following test harness to diagnose the problem:
/tmp/read.sh
#!/bin/ksh
trap "stty echo" 1 0
stty -echo
while true
do
read line
echo "$line"
done
Test Data
0...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
1...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
2...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
3...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
4...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
5...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
6...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
7...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
8...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
9...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
10...:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....
|
To reproduce, I ran the read.sh script, then pasted 8 of the test data lines to
the server. All 8 were displayed correctly. When I try with 10 lines of test data, only the last 28 chars(or 29 or 30 depending on what CRLF's are being sent) are received.
However, this test works fine on my HP-UX11 & AIX platforms so I was wondering if it is a patch problem with 10.20.
I have made sure any telnet patches that looked suitable are installed PHNE_13413, PHNE_24821, PHNE_24822, PHNE_21872 but I still have the problem.
Any help pointing me in the right direction to resolve this would be much appreciated.
Regards Steve.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 02:17 AM
01-13-2004 02:17 AM
Re: telnet data loss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 02:29 AM
01-13-2004 02:29 AM
Re: telnet data loss
Investigate A. Clay's idea first, I think its a better one. If nothing is found, try a different telnet client or a pc with a different os.
SEP
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-13-2004 03:10 AM
01-13-2004 03:10 AM
Re: telnet data loss
I will investigate for any speed/duplexing issues.
I should have put in my original post that the problem exhibits itself on 3 different telnet clients which is what made me think it's more server based(telnetd)than client side.
Just as an aside, I printed off the telnet conversations between RGTERM and the HPUX 10.20 (which exhibits the problem) and 11.00 (which works ok):
HP-UX 10.20 Telnet Negotiation
<-- IAC DO ENVIRONMENT
--> IAC WONT ENVIRONMENT
<-- IAC DO TERMINAL-TYPE
--> IAC WILL TERMINAL-TYPE
<-- IAC SB TERMINAL-TYPE ARG:1
--> IAC SB TTY-TYPE 0 MENTERM IAC SE
<-- IAC SE
<-- IAC DO TERMINAL-SPEED
--> IAC WILL TERMINAL-SPEED
<-- IAC SB TERMINAL-SPEED ARG:1
--> IAC SB TERMINAL-SPEED 0 19200,19200 IAC SE
<-- IAC SE
<-- IAC WILL ECHO
--> IAC DO ECHO
<-- IAC WILL SUPPRESS-GO-AHEAD
--> IAC DO SUPPRESS-GO-AHEAD
<-- IAC DO NAWS
--> IAC WILL NAWS
--> IAC SB NAWS 80 50 IAC SE
<-- IAC DO FLOW-CONTROL
--> IAC WONT FLOW-CONTROL
<-- IAC DO ECHO
--> IAC WONT ECHO
HP-UX 11.00 Telnet Negotiation
<-- IAC DO ENVIRONMENT
--> IAC WONT ENVIRONMENT
<-- IAC DO TERMINAL-TYPE
--> IAC WILL TERMINAL-TYPE
<-- IAC SB TERMINAL-TYPE ARG:1
--> IAC SB TTY-TYPE 0 MENTERM IAC SE
<-- IAC SE
<-- IAC DO TERMINAL-SPEED
--> IAC WILL TERMINAL-SPEED
<-- IAC SB TERMINAL-SPEED ARG:1
--> IAC SB TERMINAL-SPEED 0 19200,19200 IAC SE
<-- IAC SE
<-- IAC WILL ECHO
--> IAC DO ECHO
<-- IAC WILL SUPPRESS-GO-AHEAD
--> IAC DO SUPPRESS-GO-AHEAD
<-- IAC DO NAWS
--> IAC WILL NAWS
--> IAC SB NAWS 80 50 IAC SE
<-- IAC DO FLOW-CONTROL
--> IAC WONT FLOW-CONTROL
<-- IAC DO ECHO
--> IAC WONT ECHO
Both chats seem identical.
An interesting problem :)
Regards Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 04:53 AM
01-13-2004 04:53 AM
SolutionWhat does your 'stty -a" print?.
Make sure your ixon and ixoff are set.
$stty ixon
$stty ixoff
and try.
ixoff and ixon control the input/output queues of the terminal.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 09:34 PM
01-13-2004 09:34 PM
Re: telnet data loss
I completely overlooked the stty settings and on our 10.20 platform ixon was being set but not ixoff.
I set ixoff and all data copies and pastes perfectly.
Thanks to all who replied.
Regards Steve.