1

I have a small setup which I have a wss server running on port 4433. I also have a client trying to access the wss server via a CONNECT proxy. My understand of CONNECT proxy is that proxy will create a new TCP connection with wss server, and it will blindly relay the data it receives to this new TCP connection.

I was looking into the Wireshark capture and was expecting the size of the data transferred from client to proxy and then proxy to server to be the same and vice versa as well but that not the case. Am I missing something or is my understanding incorrect?

I am sorry for pasting the screenshot, but the formatting was all messed up when I tried to paste it as text.

My setup:

wss-client (37256) <-------> (3112) Proxy (47264) <--------> (4433) wss-server 

Wireshark capture

2
  • TCP is a bytestream. The transferred data should be the same, but this does not mean that they are packetized in the same way for transport. Commented Oct 28, 2024 at 16:41
  • 1
    Ok, got it. So, its not possible to verify that by just looking at the "Length" fields in the above screenshot. Commented Oct 28, 2024 at 18:54

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.