??? ?? Windows 2000 ? ????? TCP ?? Windows Server 2003

?????? ????????? ?????? ?????????
???? ???????: 224829 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ??????? TCP ??????? ?? Microsoft Windows 2000 ?? ???? ??????? Windows Server 2003:
  • ??? ???? TCP
  • ?????? TCP ???? ????????
  • ????? Windows - RFC 1323
  • ?????? ?????? RFC 1323
  • ????? ?? ????? ??????? ??????? (???? ?????)
  • ??????? ?????? (SACKS) - 2018 RFC
  • ???? ????? ??????? TCP ??????? Retransmit
???? ????? ??????? TCP ?????? ????? ????????? ???????? ?? ???????.

??????? ????

??? ??? ?????? ?? ????? ?? ?????? ??? ????? ?????? ?? ????? ????? ???????. ??? ???? ?? ???? ?????? ????? ?? ???? ????? ????? ?????? ??? ?????. ????? ???? ?? ???? ??????? ??????? ??????. ?????? ??? ??????? ??????? ??? ???? ???????? ?? ????? ??? ??????. ?? ????? ??????? ????? ?? ???? ???? ?????. ?????? ??? ???? ?? ????????? ??? ????? ??? ???? ???????? ?? ????? ????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
322756????? ??? ???? ???????? ? ??????? ??????? ?? Windows

??? ???? TCP

??????? TCP ??? ?? ??????? ???? ???????? (???????) ???? ???? ??????? ?????? ????? ?????. ???? ?????? ?????? ????? ??? ??? ???? ???????? ??? ??? ???????? ?????? ??? ????? ????? ????? ?? ?????? ???????. ???? TCP/IP Windows ?? ?????? self-tune ???? ?? ???? ??????? ??????? ????? ???????? ?????????? ???? ?? ????????? ???????.

????? ?? ??????? ???????? ?????? ??????? ????? ??? ??????; ??? TCP ??? ???????? ?? ??? ???? ?????? (MSS) ???? ?? ??????? ????? ????? ????? ???????. ??? ???? ?????? ??? ???????? ?? MSS ????? ?????? ??????? ??? TCP ?????? ?????? ??????? ?????? ????? ????? ???????? ????? ?????.

??? ????? ??? ???? ?????? ???????? ???????:
  1. ??? ????? ??? ??????? ??? ???? ???? ???? ??? ???? ???? ?? 16 ? (16.384 ????).
  2. ????? ??? ????? ??????? ??? ????? ??? ???? ?????? ??? ??????? ??? MSS.
  3. ??? ??? ??? ?????? ??? ???? ???? MSS ? ??? ???? ???? ???? 64 ???? ?? ?? ??? ??????? ???? ??????? ?????? (RFC 1323).
?????? ???? ??? "????? Windows".

???????? Ethernet ???? ????? ??? ?????? ???? ???? ??? SP3 ??? ??.??? ???? (16 ???? ????? ???? ??? ??? ??? 1460 ????). ?? ??? ????? ??? ?????? ??? ????? ????? ?????????? ???? ??????? TCP ????? ?????? ??? ??????? ??????? (SACKS) ? ??????? ???????. ???? ???????? ????? ??? ??? TCP ??? ???? ?? 20 ????? ???? ???? ????? ??? ????????.

?? ????????? ??????? ?? Windows NT ??? ??? ?????? ????? Ethernet ???? 8,760 ?? ??? 1460 ???? ??.

?????? ??? ???? ?????? ??? ???? ????? ????? ???? TcpWindowSize ??? ????? ??????? ?????? ????? ??? ????? Windows ????? ??. ?????? ????? ???? ??????? ???????:
  1. ???? ??? ???? ?? ???? ??? ????? ????? Regedit ?? ???? ??? ?????.
  2. ?? ?????? ????? ??????? ?????? ????? ??? ????? Windows ????? ??:
    • ??????? ????? ??????? Windows 2000? ?? ?????? ??????? ?????? ??????:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
    • Windows Server 2003 ?? ?????? ??????? ?????? ??????:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  3. ?? ??????? ????? ? ??? ??? ???? ?? ???? ??? ???? DWORD.
  4. ??? TcpWindowSize ?? ?????? ???? ????? ? thne ???? Enter
  5. ???? ??? "?????" ?? ??????? ?????.
  6. ???? ??? ?????? ??????? ?? ?????? ?????? ??????.

    ??????. ?????? ?????? ???? ?????? ?? 0 0x3FFFC000 ????? ????.
?? ???? ??? ?????? ???? ???????. ??? ????? ???? TcpWindowSize ?????? ?????????? ??? ?????? ????????? ??????? ?????.

?????? ???? ????? ????? TcpWindowSize ??? ????? ?????? ????? ??? ?????? ???? ????? ?? ????? ????????.

?????? TCP ???? ????????

?? ??????? ??? ??????? ?????? TCP ???? ????? ?? ??? ??????? ????? ?????? ???? ??????. ?? Windows? ??? ??????? ?????? TCP ????? ??? ???? ?????? ?????? ? ACK. ???????

???? ????? ?? ?????? TCP:
  1. ???? ?????? ?????? TCP ??? ???? ????? ???????.
  2. ?????? ?????? ?????? TCP ???? ????? ?? ??? ???? "?" ?? ??? ???? "?" ????? ?? ????? ???? ??????.
???? ??????? ??????? ?? ??? ?????? TCP ??? ? ??? ? ?????.
?????: 0
?????: 1
??????: ????? ????? ????
???: ??? ??????? ????? ???? ????? ?????? TCP ??????.

?????: 1
?????: 1
??????: ????? ??
???: ??? ?????? ??? ?????? ????? ????? ?????? ?? ???????? TCP ???? ??? ????.

?????: 2
?????: 4
??????: ???? ?????? ???? ????
???: ???? ??? ??? ???? ?????? ???? ???? TCP ???? ??????? ??? ??????.

?????: 3
?????: 3
??????: ???? ????? ????
???: ????? ???? ??????? ???? ???????? ??? ??????? ????? ???????? ?????? ?? 64 ????.

?????: 8
?????: 10
??????: ???? ???? ?????
???: ????????? ???????? ?? ???? ?? ???? ?????? ????? (RTT) ?? ????? ???? ?? ???????.

?????: 4
?????: 2
??????: ????? SACK TCP
???: ????? ?????? ????? ????? Acks ???????.

?????: 5
?????: ?????
??????: ???? SACK TCP
???: ????????? ?????? ??????? ??????? ?????? ?? ??? ?? ???? ??? ???? ?????.

????? Windows

????????? ???? ?????? ?? ????? ????? ?????? ??????? ?????? ?? ??? ??????? ??? ???? TCP ????. ?????? ??????? ???????? ??? ??? ???? TCP ??? ?????? 2 ???? ?? ??? ???? 65.535 ????.

??? ?? ??? ????? ????? ??? ? ??? ??????? ???? ?????. ????? ???? TCP ???? ?????? ?????? ??? ?????? ?????? ?? ????? ?????? 65.535 ??? 1 ????????.

??? ??????? ???? ????? ?????? ??? ????? ????? ????? 3 TCP. ???? ?????? ????? ?????? ??? ????? ?? ??? ?????? - Shift ??? ??? ???? 16-??. ???? ????? ???? ????? ?????? ?? 0 (?? ???? ?????) ??? 14.

????? ??? ?????? ?????? ?? ???? ??? ?????? 2 ^ S ??? S ?? ???? ???????.
??? ???? ??????:
??? ??? ??? ?????? 65.535 ???? ?? ???? ????? ???? 3.
?????? true ??? ?????? = 65535 * 2 ^ 3
?????? true ??? ?????? = 524280
???? ???? "????? ???? ???????" ?????? ????? ??????? ???? ????? ??????:
TCP:.... S. len:0 ? seq:725163 - 725163 ? ack:0, ?????: 65535, dst:139(NBT Session) src:1217
???? ?????? TCP: = 0x04C1
???? ?????? TCP: = ???? ???? NETBIOS
????? ???????? TCP: = 725163 (0xB10AB)
??? ??????? TCP: = 0 (0x0)
????? ?????? TCP: = 44 (0x2C)
????? TCP: = 0 (0x0000)
+ ?????? TCP: = 0x02:.... S.
TCP: ???? = 65535 (0xFFFF)
??????? ????????? ?? TCP: = 0x8565
???? ???????? TCP: = 0 (0x0)
TCP: ??????
+ TCP: ???? ??? ???? ??????
TCP: ???? Nop = 1 (0x1)
TCP: ???? ????? ????
??? ???? TCP: = ????? ????
??? ???? TCP: = 3 (0x3)
????? ???? TCP: = 3 (0x3)

TCP: ???? Nop = 1 (0x1)
TCP: ???? Nop = 1 (0x1)
+ TCP: ???? ??????? ???????
TCP: ???? Nop = 1 (0x1)
TCP: ???? Nop = 1 (0x1)
+ TCP: ??????? ??? ???? SACK
?? ????? ?????? ?? ??? ???? ????????? ?? ????? ????? ??????? ?????? ????? 3 ??? ??? ?????? ???? ??? ????. ??? ?? 1323 RFC ????? 2.2 ? "??? ???? ?? SYN (??? ???? ??????? [SYN] ?? [SYN ACK]) ?? ??? ????? ???? ?????."

???? ???? ??? ???? ???????? ????? ????? ??? ????? ???????? ????? 3 ?? ??? ?????? ??????. ?? ???? ???? ????? ????? ?????? ??????? ??? ?????? ?????? 65.535 ????. ?? ??? ???? ??????? ??????? ?? ????? ????? ????? 3 ??? ??????. ???? ?????? ????? ??? ???? ???? ??????? ????? ???????? ????????.

?? ??? ??????????? ??? ??????
???? ??????????? ??????????? ??????????? ??? ??????
0165535 ?? ???65535 ?? ???
1265535131,070
2465535262,140
3865535524,280
416655351,048,560
532655352,097,120
664655354,194,240
7128655358,388,480
82566553516,776,960
95126553533,553,920
1010246553567,107,840
11204865535134,215,680
12409665535268,431,360
13819265535536,862,720
1416384655351,073,725,440

??? ???? ??????:

??? ??? ??? ?????? ?? ????? ??????? ?? 269000000 (M 269) ???????? ?????? ? ???? ??????? ????? ????? ????? 3 13, ??? ???? ????? ?? 12 ???? ??? ??? ???? ??? 268,431,360 ???? (M 268).

???? ???? ??? ?????? ?????? ?? ??? ?????? ??? ???:
65.535 ???? ?? ???? ????? ???? ?? 13.
?????? true ??? ?????? = 65535 * 2 ^ 13
?????? true ??? ?????? = 536,862,720
??? ????? ???? ??? ?????? ??? ??????? ???? ???? ?? ?????? ?????????? ? ????? Windows ??????? ???? ????? ????? ??? ???? ????.

???? ????? ???? Tcp1323Opts ?? ????? ??????? ?????? ?????? ?????? ?????? ????????? ??????:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
  1. ??? ???? ??????? ???? ??? ???? ? ?? ???? ??? ????? ? ????? ?? ?? Regedit ???? "???? ???????".
  2. ?? ???? ???????? ???? ??? ????? ??? ??? ???? ?? ???? ??? ???? DWORD.
  3. ?? ?????? ???? ????? ???? Tcp1323Opts ???? ENTER ?? ?? ??????? ????? ? ???? ??? ?????. ?????? ?????? ?????? ?? 0,1,2 ?? ???? 3:
0 (????? ???????? 1323 RFC)
1 (????? ?????? ????? ???)
2 (??????? ??????? ????? ???)
3 (??? ???????? ?????)
????? ????? ??????? ??? ??????? ??????? 1323 RFC ?????? ?????? ???????. ??????? ??????? ?????? ??? ???? ?????? ???? ??????? ???? ???? ??????? ?????? ?? ???????. ?? ?????? ??? ???? ????? ?????? 0 ? ?? 1 ??????? ??????? ????? ??????.

??????? ???????

??????? ???? TCP/IP ??????? ????? ???? ??? ???? ???????? ??????? ????? ????? ???? (RTT). ?? ????? ???? ??? ??? (???? ??? ????? retransmit) ????? ?? ????? ?????? ??? ?? ?? ???? ?????. ??? ???? ??????? ??? ??? ??? ?????? 64,240 ???? (????? ????? 44) ??? ???? ????? Ethernet ? ????? ??? ?? ?? ????? 44 ?? ??????? ???? ????? ????. ?? ??? ???? ??? ??????? ??? ??? ???? ???? 65.535 ???? ?????. ??????? ???? ??????? ? ??? ???? ???? ?? 1 ???? ????, ??? ???? ??? ??????? RTT ??? ?????.

?????? ?????? ?????? TCP ???? ???? ???? ????? ?????? ????????? ??? ??? (???????? ? ACK) ????? ???????? ???? ?????? ??? ???? RTT ???????? ???? ????? ?????. ???????? ??? ???????? ? RTT ???? ???? ???? ?? ????? ???????? ?????. ??? ??????? RTT ????? ??????? ??????? ????? ???????. ????? ??????? RTT ?? ????? ??????? ?????? ?????? ??? ???? ???????.

??? ??????? ?????? ?????? TCP ?? ???? ??? TCP ????? ?????? ???? ????? ?????? ?? ?????? ?????? ?? ?????? ?? ????? ????? ??????? ????? ????? TCP (SYN ??????). ???? ??? ??? ??????? ????? ?????? TCP ????? ???? ?????.

???? ??????? ??????? TCP (TSopt):

?? ??? ??????????? ??? ??????
??? = 8??? = 10???? TS (Tsval)????? ???????? TS (Tsecr)
1 ????1 ????4 ????4 ????

??? ?????? ?????? ?????? ????? ????? ?? ???? "?????? ???? ???????" ?????? ????? ????? ?????? TCP ??? ?? ???? ?????:
TCP: ???? ??????? ???????
??? ???? TCP: = ??????? ???????
??? ???? TCP: = 10 (0xA)
?????? ?????? TCP: = 2525186 (0x268802)
TCP: ?? ?????? ?????? = 1823192 (0x1BD1D8)

????? ?? ????? ??????? ??????? (???? ?????)

??? ??? ????? TCP ????? 32 ?? ???? ???? ??? ??????? ?????????. ?? ?????? ?????? ????? ??????? ??? traverses ???? ???? ??????? ???? ?????? ??? ?????? ????? ?????? ???????. ?? ???? ????? ???????? ??? 1 ???? ???? ?? ??????? ?????? (???????) ? ?? ?????? ????? ??????? ?? ????? ??? ???? 34 ?????. ??? ?? ??????? ???? ???? ?? ??????? ?? ???? ?? ?????? ???? ???? ?? ??? ??? ?????. ?????? ??????? ????? ???? ????? ??????? ???????, ??? ??????? ?????? ?????? TCP ??? ??? ???? ??? ???????. ????? ??? ??????? ??????? ??????? ? ?????. ???? ???? ??? ???? ???? ????? ??? ??? ???????.

Acknowledgements ?????? (SACKs)

???? Windows ??? ???? ???? ???? ??????? ??????? ?? SACK. SACK ??? ???? ??? ????????? ???? ?????? ????? ???????? TCP ?????. ??? ??? SACK ? ?? ???? ????? ??? ????? ???????? ???? ?? ??? ?????? ??????? ???? ?? ?????? ??? ?? "???? ????" ???? ??????. ?? ????? SACK ? ????? ??????? ??????? ??? ACK ?????? ?????? ?????? ?? ???? ?????? ???? ???? ???? ????? ????? ?????? ??? ???????? ???? ?? ?????? ???? ????. ?????? SACK ?????? ??? TCP, ??? ?? ???? ?????.

?????? SACK ????? ?? ?????? TCP.

??? ??????? ???? TCP Sack-Permitted ??? ?? ???? SYN (????? ????? ????? TCP) ???? ?????? ACK. ?????? ???????

?????? TCP ?????? ? ???? Sack TCP ? ????? ??? ????? ?? ??? ????? ???? ?? ???? ?? ????????. ??? ????? ??? ???????? ???????? ??? ????? ????? ?? ???? ?? ????? ??? ?????? ?? ????????. ??? ????? ????? ?????? ?????? ?? ?????? ?? ????????.

???? TCP Sack-Permitted ??? 4, 5 ??? ?? ???? Sack TCP. ??? ?? ??? ??? ?????? TCP ???????.

??????? ??? Sack Tcp:

?? ??? ??????????? ??? ??????
??? = 4??? = 2
1 ????1 ????

???? SACK Tcp:

?? ??? ??????????? ??? ??????
??? = 5??? = ?????
1 ?????????? ?????? ?? ???? ????? ??? ?????? ?????? ?? ???? ?????
...
??? ?????? ?????? ?? Nth ??? ?????? ?????? ?? ???? Nth

?? SACK ????? (???????) ? ?????? ?? ????? ?? ????? ???? ????? ? ??????? ?????? ?????? ???? ???????? ???? ?? ???? ???? "?????" ?? ????????. ?????? ?????? ???? ?? ?????? ????? ???????? ???????? ??? ????? ??????? ??? ???????? ???? ?? ?????? ????? ??????. ?????? SACK ????? ??????? SackOpts.

???? ????? ?????? SackOpts ?? ????? ??????? ?????? ?????? ?? ??????? acknowledgements ??????:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  1. ??? ???? ??????? ???? ??? ???? ? ?? ???? ??? ????? ? ????? ?? ?? Regedit ???? "???? ???????".
  2. ??? ???? ?? ???? ??? ????? ????? ?? "???? ??????? ?? ???? ??? ????? ??????? ?????.
  3. ???? ?????? ???????? ?? ?????? ?????? ??????.
??????: ?? ?????? ???????? ???? 0 ?? 1 ? ?????? ?????????? ?? 1. ??? ????? ????? ?????? ??????? ??? ?? ?? ????? ACK ??????? (SACK - 2018 RFC).

???? ???? "????? ???? ???????" ?????? ???? ????? ???? ???????? ??? ??? ????? 54857341 ???????? ??? ???????? ?? ??? ??????? 54858789 54861685. ????? ???????? ?? 54857341 54858788.
TCP:. ?..., len:0, seq:925104 - 925104 ? ack:54857341, ?????: 32722, src:1242 dst:139
???? ?????? TCP: = 0x04DA
???? ?????? TCP: = ???? ???? NETBIOS
????? ???????? TCP: = 925104 (0xE1DB0)
TCP: ??? ??????? = 54857341 (0x3450E7D)
????? ?????? TCP: = 44 (0x2C)
????? TCP: = 0 (0x0000)
+ ?????? TCP: = 0x10:. ?...
???? TCP: = 32722 (0x7FD2)
??????? ????????? ?? TCP: = 0x4A72
???? ???????? TCP: = 0 (0x0)
TCP: ??????
TCP: ???? Nop = 1 (0x1)
TCP: ???? Nop = 1 (0x1)
+ TCP: ???? ??????? ???????
TCP: ???? Nop = 1 (0x1)
TCP: ???? Nop = 1 (0x1)
TCP: ???? SACK
??? ???? TCP: = 0x05
??? ???? TCP: = 10 (0xA)
TCP: ?????? ???? ???? = 54858789 (0x3451425)
TCP: ?????? ?????? ???? = 54861685 (0x3451F75)

???? ????? ??????? "TCP" ? "???? ?????? ?????

????? ??????? "TCP

??? ?????? ???? ????? ??????? ??????? TCP ???? ???? ??? ??? ????? ??????? ????? ??? ????? ?? ???? ??????? ??? ???????? ?????? (IP). ??? ?? ????? ??? ???? ???????? ?? ???? ???? ??? ?????? ?????? ???? ??? ????? ?? ????? ????? ??????.

??? ??? ???? ????? ??????? & (RTO) ???? ????? ??????? ???? ??????? ???????? ???????? ???????? ??? ???? ?????? Smoothed (SRTT) ??? ?? ????? ?? RFC 793. ???? ??? ????? ???? ???? ?????? ??? ?? ????? ??????? ????? ???. ?????? ??? ?????????? ? TCP ????????? ???? ??? ????? ?????? ?????.

Retransmit ????

retransmits TCP ???????? ??? ?????? ?????? ???? ??? ??? ????? ??????? ??? ???????. ???? ?????? ?????? ??? ????? ???? ???? retransmit ?????. ??? ????? ???? ????? retransmits ????? ???????? ?? ??? ????? ??? ???? ????? ?????? ??? ?? ??? ??????? ??? ?? ????? ??? ????????. ???????? ?? ????? ???? ??? ????? ?????? ??????? ?????? ACK ?? ????? ACK ??????? ??? ??? ??????? ???? ?? ????. ???? ?????? ?????? ???? ??? ?? ???? TCP ?????? ???? ???. ??? ??? ????? ?????? ????? ??? ACKs ?? ????? ??? ??? ????? ? ??? ??????? ????? ????. ??? ?????? ?????? ?????? ????? ???? ???? ??????? ? ??? ?????? ?????? ??? ?????? ?????? ???? ??? ??? ????? ???????. ????? ?????? ??? ???? ???? ?????? ?????? ????? ??? ???????? ????? ?????.

????? ?????????? Windows ????? ???? ??? ???? ACKs ????? ??? ??? ????? ? (ACK ???? ? ????????? 2) ? ??? lags ??? ????? ??????. ???? ???? ?????? ??? ?? ????? ??????? TcpMaxDupAcks.

???? ????? ?????? TcpMaxDupAcks ?? ????? ??????? ?????? ?????? retransmits ??? ACKs ???????? ???? ????? ????:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  1. ??? ???? ??????? ???? ??? ???? ? ?? ???? ??? ????? ? ????? ?? ?? Regedit ???? "???? ???????".
  2. ??? ???? ?? ???? ??? ????? ????? ?? "???? ??????? ?? ???? ??? ????? ??????? ?????.
  3. ???? ?????? ???????? ?? ?????? ?????? ??????.
??????: ?? ???? ???? 1-3 ? ?????? ?????????? ?? 2.

???? ??? ??????? ??? ACKs ??????? ??? ?? ??? ???? ??? ????? ??? ???????? ??????? ??? ????? "????? ?????? ?????" ????? ????? ???? ?? ????? ????? ?????.

???????

???? ???????: 224829 - ????? ??? ??????: 08/????/1427 - ??????: 6.3
????? ???
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
????? ??????: 
kbmt kbenv kbinfo kbnetwork KB224829 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????224829

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com