- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet session times out after an hour
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
04-24-2002 12:59 PM
04-24-2002 12:59 PM
telnet session times out after an hour
I have checked and TMOUT=0 in the users' environments (although it is not getting set in ~/.profile, ~/.login or /etc/profile so I'm assuming that this is the shell's built-in default)
This is happening on all our HP-UX systems (11.00).
Are there known problems with telnetd doing this? It leaves no error messages in syslog that I can tell.
I have put inetd into connection logging mode, and don't see any messages that indicate anything other than the telnet session being established.
At the moment, I have "tusc" tracing the telnetd of a session that will (I assume ) time out in about an hour. (I am *that* confused...)
Any thoughts?
Thanks,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 01:06 PM
04-24-2002 01:06 PM
Re: telnet session times out after an hour
Do you use a firewall? We have our firewall set to timeout all idle telnet sessions after a peroid of time.
It also could be a pore network connection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 01:10 PM
04-24-2002 01:10 PM
Re: telnet session times out after an hour
Here is a little secret that is not supported by HP.
inetd -b
this will enable detailed connection debugging
but be sure to turn it backoff or it will fill your syslog in no time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 04:19 AM
04-25-2002 04:19 AM
Re: telnet session times out after an hour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 05:00 AM
04-25-2002 05:00 AM
Re: telnet session times out after an hour
by
lanadmin -M 1440 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 09:34 AM
04-25-2002 09:34 AM
Re: telnet session times out after an hour
I tried the inetd -b and here is the entry that accompanied a telnetd process going away (pid 27966 obviously):
dev_web1 > grep 27966 syslog.log
Apr 25 10:45:25 dev_web1 inetd[27966]: fork returned = 0
Apr 25 10:45:25 dev_web1 inetd[27966]: Pid=0, child
Apr 25 10:45:25 dev_web1 inetd[27966]: Child becoming leader
Apr 25 10:45:25 dev_web1 inetd[27966]: resetsignals() called...resetting to SIG_
DFL
Apr 25 10:45:25 dev_web1 inetd[27966]: telnet/tcp: Connection from unknown (141.
114.150.56) at Thu Apr 25 10:45:25 2002
Apr 25 10:45:25 dev_web1 inetd[27966]: Child getting stuff
Apr 25 10:45:25 dev_web1 inetd[27966]: Child got stuff
Apr 25 10:45:25 dev_web1 inetd[578]: fork returned = 27966
Apr 25 10:45:25 dev_web1 inetd[27966]: 2. About to execl(/usr/lbin/telnetd,@)
Apr 25 12:57:18 dev_web1 inetd[578]: reapchild(): wait3 returned pid=27966
dev_web1 >
so it may not be telnetd, but inetd itself that is timing out the sesssions (which would be consistent with ssh not doing it, since it is not spawned by inetd).
Babu,
I checked and the MTU is 1500. Care to elaborate on why you recommend 1440?
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 10:14 AM
04-25-2002 10:14 AM
Re: telnet session times out after an hour
Look at man nettune for more.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 10:22 AM
04-25-2002 10:22 AM
Re: telnet session times out after an hour
nettune is no longer supported in 11.0.
try ndd
see the following thread,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x23631012aa92d5118ff10090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 11:59 AM
04-25-2002 11:59 AM
Re: telnet session times out after an hour
Would you tell me why?
I (naievely perhaps) thought that since ssh<->sshd was *not* timing out, and that telnet->inetd spawning telnet<->telnetd *was* timing out that it indicated the problem was not with a network connection, but rather with either telnet, telnetd or inetd (and not the shell or the network).
If I am on the wrong track here would someone please help me understand what you think is happening on the network side? I would be more than happy to make changes to those parameters if I understood what the potential problem was...
Thanks again!
Jim H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 12:03 PM
04-25-2002 12:03 PM
Re: telnet session times out after an hour
I might be off track but add following line in your .cshrc file
set autologout=0
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 12:10 PM
04-25-2002 12:10 PM
Re: telnet session times out after an hour
arp_killcomplete = 1200 default = 1200 min = 60 max = 3600 units = seconds
arp_killincomplete = 600 default = 600 min = 30 max = 3600 units = seconds
arp_unicast = 300 default = 300 min = 60 max = 3600 units = seconds
arp_rebroadcast = 60 default = 60 min = 30 max = 3600 units = seconds
icmp_mask_agent = 0 default = 0 min = 0 max = 1
ip_check_subnet_addr = 1 default = 1 min = 0 max = 1
ip_defaultttl = 255 default = 255 min = 0 max = 255 units = hops
ip_forwarding = 1 default = 1 min = 0 max = 1
ip_intrqmax = 50 default = 50 min = 10 max = 1000 units = entries
pmtu_defaulttime = 20 default = 20 min = 10 max = 32768
tcp_localsubnets = 1 default = 1 min = 0 max = 1
tcp_receive = 32768 default = 32768 min = 256 max = 262144 units = bytes
tcp_send = 32768 default = 32768 min = 256 max = 262144 units = bytes
tcp_defaultttl = 64 default = 64 min = 0 max = 255 units = hops
tcp_keepstart = 7200 default = 7200 min = 5 max = 12000 units = seconds
tcp_keepfreq = 75 default = 75 min = 5 max = 2000 units = seconds
tcp_keepstop = 600 default = 600 min = 10 max = 4000 units = seconds
tcp_maxretrans = 12 default = 12 min = 4 max = 12
tcp_urgent_data_ptr = 0 default = 0 min = 0 max = 1
udp_cksum = 1 default = 1 min = 0 max = 1
udp_defaultttl = 64 default = 64 min = 0 max = 255 units = hops
udp_newbcastenable = 1 default = 1 min = 0 max = 1
udp_pmtu = 0 default = 0 min = 0 max = 1
tcp_pmtu = 1 default = 1 min = 0 max = 1
tcp_random_seq = 0 default = 0 min = 0 max = 2
so_qlimit_max = 4096 default = 4096 min = 1 max = 8192
sb_max = 262144 default = 262144 min = 10240 max = 4294967295
hp_syn_protect = 0 default = 0 min = 0 max = 1
so_qlimit_min = 500 default = 500 min = 0 max = 8192
high_port_enable = 0 default = 0 min = 0 max = 1
high_port_max = 65535 default = 65535 min = 49153 max = 65535
ip_forward_directed_broadcasts = 1 default = 1 min = 0 max = 1
Sandip