veerraju annamdevula
veerraju annamdevula

Reputation: 31

OSI for every data that is being sent to server?

I have gone through the OSI model and also the TLS handshake that's taking place in presentation layer. Now when I have read that the client sends "client hello" message to the server, I wonder how this message reaches the server? Just to send this message along with other information, 1.What protocol is used?
2.Does it again go through all the 7 layers in OSI model? (application layer: using protocol, structuring the "client hello" message presentation layer: translation transport layer: TCP connection network layer: finds out shortest possible route datalink layer: error checks physical layer: transmitted as signals/waves based on the transmission medium

finally the server gets the "client hello" from the client )

Upvotes: 0

Views: 28

Answers (1)

bmargulies
bmargulies

Reputation: 99993

OSI is not very relevant to the TCP/IP stack. You can certainly draw analogies, but there is no 'one size fits all analysts' mapping.

A TLS client communicates with a server over TCP.

TCP in turn transports using IP.

How IP packets get there depends on the network's implementation, there is no universal layering involved.

Once TLS is set up, the data is still traveling over this same path.

The client is passing it to the TLS client library, which is encoding it and passing it to TCP, etc.

You could think of TLS as adding a layer, but that is not the typical way of thinking about it.

Upvotes: 0

Related Questions