HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Hp-ux remote telnet session disconnected
Operating System - HP-UX
1833432
Members
2992
Online
110052
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
Go to solution
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
10-21-2009 12:59 AM
10-21-2009 12:59 AM
Hi all
after downgrading wan connection I experience frequent disconnections in remote telnet unused session.
Hpux is 11, Terminal emulator is reflection.
No errors on firewall.
No messages on syslog.
I suspect that telnet keepalive packets are loss; can I disable them?
Is there a way log the disconnections on Hpux?
Thanks
after downgrading wan connection I experience frequent disconnections in remote telnet unused session.
Hpux is 11, Terminal emulator is reflection.
No errors on firewall.
No messages on syslog.
I suspect that telnet keepalive packets are loss; can I disable them?
Is there a way log the disconnections on Hpux?
Thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 01:22 AM
10-21-2009 01:22 AM
Re: Hp-ux remote telnet session disconnected
Hi
a) Please verify that you have no error messages.
b) Are you using 'user' authentication like Kerboros?
a) Please verify that you have no error messages.
b) Are you using 'user' authentication like Kerboros?
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 02:43 AM
10-21-2009 02:43 AM
Solution
After the client indicates the session has been disconnected, connect again and see if the shell process of the old session has died or not.
(e.g. run "ps -fu". If you see processes on multiple TTYs, use the "tty" command to identify your current TTY, then use "kill -HUP " to clean up the old sessions.)
If the process was still there, it means that as far as the server knows, the session has *not* been disconnected. This situation may be caused by a firewall purging its memory of inactive connections: a firewall will typically not pass through packets that belong to connections it isn't tracking (= has already purged). In the firewall's perspective, purging the memory of a connection that has become inactive is not necessarily an error.
This situation is caused by setting the firewall's no-traffic timeout to a shorter value than the keepalive value used by telnet. In effect, the firewall is too hasty in assuming that the connection is no longer used.
Disabling the keepalives won't help, and may actually make the problem worse, as the telnet connections have even less traffic than before. That would make the firewall even more likely to cull inactive telnet connections.
The fix would be to adjust either telnet's keepalive interval or the firewall's no-traffic timeout so that the keepalive interval becomes shorter than the no-traffic timout.
MK
(e.g. run "ps -fu
If the process was still there, it means that as far as the server knows, the session has *not* been disconnected. This situation may be caused by a firewall purging its memory of inactive connections: a firewall will typically not pass through packets that belong to connections it isn't tracking (= has already purged). In the firewall's perspective, purging the memory of a connection that has become inactive is not necessarily an error.
This situation is caused by setting the firewall's no-traffic timeout to a shorter value than the keepalive value used by telnet. In effect, the firewall is too hasty in assuming that the connection is no longer used.
Disabling the keepalives won't help, and may actually make the problem worse, as the telnet connections have even less traffic than before. That would make the firewall even more likely to cull inactive telnet connections.
The fix would be to adjust either telnet's keepalive interval or the firewall's no-traffic timeout so that the keepalive interval becomes shorter than the no-traffic timout.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 05:24 AM
10-21-2009 05:24 AM
Re: Hp-ux remote telnet session disconnected
KeepAlive default on HPUX is 1 min.
Connection Timeout on firewall is 1h.
Connection Timeout on firewall is 1h.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP