- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Unsuccesfull TCP session does not time out
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
11-04-2004 02:38 AM
11-04-2004 02:38 AM
Unsuccesfull TCP session does not time out
the port is not active. The problem is that the connection doesn't time-out. If I do it from windows, the connection times out.
Here is an example:
[root@xxxxxxxx root]# telnet nyxxxxxadm3
Trying 10.221.7.135...
***On Linux it just sits there forever.
H:\>telnet nyxxxxxadm3
Connecting To nyxxxxxadm3...Could not open a connection to host on port 23 : Conn
ect failed
******On windows it disconnects after a while.
Any clues why, and how it can be fixed on Linux so it times out??
thanks,
paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:05 AM
11-04-2004 03:05 AM
Re: Unsuccesfull TCP session does not time out
On the console, look at the /var/log/messages file.
Check your network for a duplicate IP address. If found, change your linux configuration.
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
11-04-2004 03:22 AM
11-04-2004 03:22 AM
Re: Unsuccesfull TCP session does not time out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 06:16 AM
11-04-2004 06:16 AM
Re: Unsuccesfull TCP session does not time out
I just tried telnet, ssh and ftp on nonexisting address and after cca 5 min got message Connection timed out
I know it isn't exactly same case, but you can try it also.
without developer's knowledge of TCP/IP stack and telnet aplication is hard to say, maybe you have longer timeout or some kind of philosophy on your Linux distro ;-)
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 02:28 PM
11-04-2004 02:28 PM
Re: Unsuccesfull TCP session does not time out
# echo 3 > /proc/sys/net/ipv4/tcp_syn_retries
Now telnet to unreachable host should take about 45 seconds.
If you want to make it permanent put an entry in /etc/sysctl.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 01:42 AM
11-05-2004 01:42 AM
Re: Unsuccesfull TCP session does not time out
You suggestion seems to solve the issue. I also found some documentation on Microsoft explaining the TCP stack differences and it mentions the retry limit.
Thanks for your help
pa