Doubt regarding TCP Options negotiation


 
Thread Tools Search this Thread
Special Forums IP Networking Doubt regarding TCP Options negotiation
# 1  
Old 03-18-2011
Doubt regarding TCP Options negotiation

Hi,

I am aware that duirng the intial SYN, SYN-ACK, ACK (connection establishment) phase, both TCP ends advertize TCP options (or extended features) each would like to use for the connection. Ultimately both ends end up using TCP options commonly supported and advertized by both.

My doubt is simple - Does the TCP negotiation happen only at the connection establishment phase? Is it possible for one end to stop using a previously advertised option and make room for another (specifically an option that is set (for the first time) on TCP by the application by issuing a setsockopt on the connected socket?

Please do clarify.
# 2  
Old 03-18-2011
Yes, renegotiation is possible but is often turned off for security reasons.
# 3  
Old 03-18-2011
Quote:
Originally Posted by fpmurphy
Yes, renegotiation is possible but is often turned off for security reasons.
Thanks fpmurphy.

Could you elaborate more on this.
Once a connection is established, how would the re-negotiation be accomplished?
TCP implementations would be using special options meant only for use in the three-way handshake to turn on the corresponding feature.
E.g -
To enable Selective Acknowledgment, the option sent in the SYN segments is SACK PERMITTED. This, if successfully negotiated translates to SACK blocks in non-SYN segments.
Similarly, the usage of Big Window option requires special Big Window permitted option in the SYN segments. If successfully negotiated this translates to the actual Big Window option.

So can you, if possible explain to me as to how would options be turned off during the connection lifetime (in the non-SYN segments)
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

2. IP Networking

New-Bie doubt in TCP-IP 3 way hand shake

from my understanding step 1: From device A to device B , sending SYN. SYN=1 ACK=0 Ackno=0 Sequence number=2000 step 2: from device B to A , sending SYN-ACK SYN=1 ACK=1 ACKno=2001 Sequence number= 5000 Step :3 (4 Replies)
Discussion started by: baker
4 Replies

3. Ubuntu

Kernel boot options removed by fault, no boot options

Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you ! I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies

4. Programming

Help with TCP Options in C

Hello everybody, It's me again, i need your help! I was almost finishing a program when it crashed, because of TCP segments with the TCP Options enabled. I am able to control every field of every packet i receive, except of those using TCP Options. Is there a way to determine if a packet is... (0 Replies)
Discussion started by: Zykl0n-B
0 Replies

5. Solaris

dhcp negotiation failed

on solaris 10, I use static ip address, and choose no dhcp during installation. But I keep receiving the following messages in my console: Mar 9 03:43:40 ellst rmclomv: DHCP negotiation failed, perhaps misconfigured or no DHCP server available Mar 9 03:49:58 ellst rmclomv: DHCP negotiation... (1 Reply)
Discussion started by: fredao
1 Replies

6. IP Networking

Tcp\ip

I have written a TCP/IP client and server program. The client sends a message to the server and then the server sends a file back to the client. The client reads the buffer and stores it another file in the client side. I need to know what are the various exceptions that I need to handle in... (0 Replies)
Discussion started by: Rajeshsu
0 Replies

7. Programming

Changing TCP/IP Options in SunOS

Due to some project requirement I am writing an application which uses Transport Layer Interface (TLI's) in Sun OS Release 5.8. The problem is in setting the tcp's TCP_KEEPIDLE or TCP_KEEPINTVL or TCP_NKEEP parameters by t_optmgmt ( ) function.I understand that in Sun OS these are referenced by... (2 Replies)
Discussion started by: S.P.Prasad
2 Replies
Login or Register to Ask a Question