LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2004, 12:28 PM   #1
r_m_carlsson
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
half-open tcp connections


Dear forum,

I have a question related to half-open tcp connections.

Assume the following:

1. Create a tcp connection
ip1:port1 (client side) <-> ip2:port2 (server side).

2. Remove ethernet cable from client. Reboot the client.

3. Try to create a new tcp connetion from
ip1:port1 (client side) <-> ip2:port2 (server side), i.e.
identical to first connection. This connection shall be carried out
in the same way the first one.

CLIENT SERVER

SYN ->
<- SYN ACK
ACK ->


Assuming that this connection is established, is it legal, can it be used for transmission?

I have read some about tcp in TCP/IP illustrated, Volume 1, W. R. Stevens.


/ Mikael

Last edited by r_m_carlsson; 02-02-2004 at 12:30 PM.
 
Old 02-03-2004, 05:51 AM   #2
nielchiano
Member
 
Registered: Feb 2004
Location: 50N 3E
Distribution: Gentoo
Posts: 64

Rep: Reputation: 15
the problem could be that the tcp-connection is broken in the middel of the transfer. I don't THINK that is is a problem. since TCP will detect that the other side is down and reset the connection.

As long as your other side (the one you rebooted) doesn't come up too quickly, TCP will have handled that.

I don't know what the time out is for a TCP connection. It has to do with the window size and stuff. but I GUESS 60 seconds is about the max.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a way to limit TCP connections ewerta Linux - Networking 1 07-25-2005 03:54 PM
TCP Connections stall through debian router BigWillyStyle42 Linux - Networking 3 05-13-2005 05:38 AM
how to force kill TCP connections minil Programming 3 04-19-2005 06:04 AM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 05:18 PM
How to limit the number of TCP connections for a certain port? mussons Linux - Security 1 01-28-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration