- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to use ''telnetd -z" in /etc/inetd.conf to...
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
Discussions
Discussions
Forums
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
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
тАО05-15-2002 07:45 PM
тАО05-15-2002 07:45 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:21 PM
тАО05-15-2002 08:21 PM
SolutionThe -z value does not set the user timeout value for telnet. It sets the timeout before telnet sends the buffered input to the TCP protocol stack. (This is a buffer timeout value and not a user timeout value)
To set the timeout values for telnet, you have to do it by user.
If you are using kshell or bourne shell
you can use your TMOUT variable to set it.
TMOUT=60
export TMOUT
If you are using c shell
use
set autologout=60
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:26 PM
тАО05-15-2002 08:26 PM
Re: how to use ''telnetd -z" in /etc/inetd.conf to set the timeout value
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -z500
The above example sets the BUFFERTIMEOUT value to 500 ticks which is equivalent to 5 seconds. Change the value to your liking. Take note .. no space between "-z" and "500".
Re-read inetd.conf..
# inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:41 PM
тАО05-15-2002 08:41 PM
Re: how to use ''telnetd -z" in /etc/inetd.conf to set the timeout value
eg:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -s500 -z5
this is recommended by HP (see attachment)
cheers,
- Andy Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 12:29 AM
тАО05-16-2002 12:29 AM
Re: how to use ''telnetd -z" in /etc/inetd.conf to set the timeout value
tcp_keep_alive_interval
and
tcp_ip_abort_interval
for the keepalive mechanism. this implies that the client application (telnet agent) reacts to keepalive , it will poll the other side seeing if it is still alive and if not responding will close the connection thus avoiding useless open sessions from users that turned of the PC or Station they where working on without terminating telnet
get more info on the parameters , perform
ndd -h tcp_keep_alive_interval
ndd -h tcp_ip_abort_interval
see the actual values :
ndd -get /dev/tcp tcp_ip_abort_interval
ndd -get /dev/tcp tcp_keep_alive_interval
change the value :
ndd -set /dev/tcp tcp_ip_abort_interval <..>
ndd -set /dev/tcp tcp_keep_alive_interval <..>