3: Window Scale Option (WSopt)

 3: 윈도우(패킷확인 절차 없이 한 번에 보낼 수 있는 패킷의 수) 크기 옵션 값(WSopt)

 This option may be sent in a SYN segment by the TCP end-host to indicate that the sending TCP end-host is prepared to perform both send and receive window scaling, and (2) to communicate a scale factor to be applied to its receive window.

 이 옵션 값은 SYN 세그먼트 부분에 실려져 상호 TCP 종단 호스트들 간에 보내고 받는 윈도우 크기를 정하고 수신받는 값의 윈도우 배율 값을 통신하는데 쓰입니다.

 The scale factor is encoded logarithmically as a power of 2 (presumably to be implemented by binary shifts).  Note that the window in the SYN segment itself is never scaled (RFC 1072 [4]).  This option may be sent in an initial segment (i.e., in a segment with the SYN bit on and the ACK bit off).  It may also be sent in later segments, but only if a Window Scale option was received in the initial segment.  A Window Scale option in a segment without a SYN bit should be ignored.  The Window field in a SYN segment itself is never scaled (RFC 1323 [7]).

 배율은 로그 비율로 2의 자승의 형태로 부호화 됩니다. (2진 시프트 연산자를 통해 구현생각 됩니다.). SYN 세그먼트에 있는 윈도우 자체는 변하지 않는다는 걸 확인하세요. (RFC 1072) 옵션 값은 처음 세그먼트에 보내어 질 수 있습니다. (예를 들어 SYN 비트에 이 값이 붙어진 채 세그먼트 속에 존재하고 ACK 비트가 빠지었으면). 또한, 이후 세그먼트 값에 붙여질 수 있지만, 처음 보낼 때 윈도우 변경 옵션 값이 보내어졌을 때 한합니다. SYN 비트에 붙여지지 않은 윈도우 비율 옵션 값은 무시되어야 합니다. 다시 말하지만 SYN 세그먼트에 정해진 윈도우 크기는 변하지 않습니다. (RFC 1323)

 The use of window scaling does not affect the encoding of any other field during the lifetime of the flow.  Only the encoding of the window scaling option itself is important.  The window scale must be between 0 and 14 (inclusive).  Generally, smaller values would be expected (a window scale of 14 allows for a 1Gbyte window, which is extremely large).

  윈도의 비 변환(스케일링) 사용으로 값이 전송되는 동안 어떠한 다른 영역을 부호화(인코딩)하는데 영향을 주어서는 안 됩니다. 윈도우비 변환 값 자체를 부호화하는 것이 중요합니다. 변환 비는 반드시 0부터 14 까지(포함)만 허용됩니다. 일반적으로 작은 값이 예상됩니다. (윈도우 비 14인 값은 아주 큰 1GB 윈도를 허용하게 합니다.)

Posted by 카켈