02-23-2005
Telnet time out
I also have a problem regarding telnet time out(the server is a p5 520 OS is AIX 5.2):
After telneting to the server, if inactive for more than 20 minutes the session is "closed by foreign host". Where is this timeout value set? I've looked at the /etc/profile and the TMOUT variable is commented out and an echo of TMOUT show a value of 0...which appears to mean "no time out set". We suspect that the new F5 switch is causing the problem, not the OS. Were else can I look?
10 More Discussions You Might Find Interesting
1. IP Networking
I am led to understand that there when a port is bound for a tcp connection...once that connection is closed there is a timeout period before that port can be reused ... and the software I am using shows that. How long is this timeout - what affects it and is there anyway to reuce the timeout? (5 Replies)
Discussion started by: peter.herlihy
5 Replies
2. UNIX for Dummies Questions & Answers
Does anyone know a way to log into a telnet server with username and password all with one command? I have to do this remotely. I can do this with FTP with the following command under windows:
ftp -s:c:\dir\test2.txt 10.0.0.207
The "-s:filename" option is just a list of commands that occurs... (2 Replies)
Discussion started by: ober5861
2 Replies
3. Solaris
Hello All,
I have a question. I have two V480 systems that can telnet to other systems on our network, but lo cannot receive a telnet from other systems.
I've check the usual .rhosts, env and several other files such as the telnetrc
files with no luck.
I've tried all avenues before issuing... (8 Replies)
Discussion started by: mr-synapse
8 Replies
4. HP-UX
When using telnet connect to HP unix 10, it will get a pty/ttyxx terminal,
but using telnet connect to HP unix 11, it will get a pts/tx terminal.
I want to ask is, can I using telnet connect to HP unix 11 and get a pty/ttyxx terminal ?? :confused:
thx a lot (3 Replies)
Discussion started by: zetadhell
3 Replies
5. UNIX for Dummies Questions & Answers
How do I get back to Unix prompt while telneting to a router w/out exit from the telnet session? Thanks (2 Replies)
Discussion started by: oppiz
2 Replies
6. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
7. Solaris
Hi everyone.
I am newb at solaris i have 2 question
1. i am finding a way to prevent separate users to telnet similar like /etc/ftpd/ftpusers in Solaris system
I know a way to disable user ftp by force user shell=/bin/false
2. or any program can do a chroot telnet user like proftpd :D ... (5 Replies)
Discussion started by: tien86
5 Replies
8. Shell Programming and Scripting
Hi all,
I have written a small expect script which should spawn a telnet session login and execute some commands.
#!/usr/bin/expect -f
spawn telnet $env(IP)
match_max 100000
expect "login:"
send -- "******\n"
expect -exact "Password:"
send -- "****\n"
expect "%"
Now I have got... (2 Replies)
Discussion started by: stinkefisch
2 Replies
9. IP Networking
Hello!
I'm writing a small telnet client using Erlang and the gen_tcp library.
I receive IAC WILL ECHO and IAC WILL SUPPRESS_GO_AHEAD
which I respond to.
Then I receive various text output from the server, and then this:
resize: unknown character, exiting.
I'm curious as to why I do... (1 Reply)
Discussion started by: Gustav
1 Replies
10. Shell Programming and Scripting
Hey Guys,
My problem:
I have a script that will be querying the database every minute to see if it gets a response, the response its querying for is "UP" in a table i made called dbup in the database.
Now, I am trying to add the component to implement a timeout if the script does not get a... (2 Replies)
Discussion started by: mo_VERTICASQL
2 Replies
LEARN ABOUT CENTOS
ssl_ctx_get_timeout
SSL_CTX_set_timeout(3) OpenSSL SSL_CTX_set_timeout(3)
NAME
SSL_CTX_set_timeout, SSL_CTX_get_timeout - manipulate timeout values for session caching
SYNOPSIS
#include <openssl/ssl.h>
long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
long SSL_CTX_get_timeout(SSL_CTX *ctx);
DESCRIPTION
SSL_CTX_set_timeout() sets the timeout for newly created sessions for ctx to t. The timeout value t must be given in seconds.
SSL_CTX_get_timeout() returns the currently set timeout value for ctx.
NOTES
Whenever a new session is created, it is assigned a maximum lifetime. This lifetime is specified by storing the creation time of the
session and the timeout value valid at this time. If the actual time is later than creation time plus timeout, the session is not reused.
Due to this realization, all sessions behave according to the timeout value valid at the time of the session negotiation. Changes of the
timeout value do not affect already established sessions.
The expiration time of a single session can be modified using the SSL_SESSION_get_time(3) family of functions.
Expired sessions are removed from the internal session cache, whenever SSL_CTX_flush_sessions(3) is called, either directly by the
application or automatically (see SSL_CTX_set_session_cache_mode(3))
The default value for session timeout is decided on a per protocol basis, see SSL_get_default_timeout(3). All currently supported
protocols have the same default timeout value of 300 seconds.
RETURN VALUES
SSL_CTX_set_timeout() returns the previously set timeout value.
SSL_CTX_get_timeout() returns the currently set timeout value.
SEE ALSO
ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_SESSION_get_time(3), SSL_CTX_flush_sessions(3), SSL_get_default_timeout(3)
1.0.1e 2013-02-11 SSL_CTX_set_timeout(3)