TCP/IP ?? ?????? ?? ??? ??? ??????? ?? ??????????

???? ?????? ???? ??????
???? ID: 172983 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ???? ?? ??? ????? ???????? ?????????/??????? ????????? (TCP/IP) ?????? ??? ?? ???????? ?? ??? ?????? ?? ?? ?? ??????? ?? ????? ?? initiating ?? TCP ??????? terminating ?? ??? ???? ?? ?? TCP ??? ??? handshake ?? ????????? ?? ???? ??? ????? ???? ???

TCP/IP ?? ???????? ??????? ?? ??? ????? ????? ????? ???? ????? ?????? Microsoft ???? ftp ????? ??:
??? ?? ????: Tcpipimp2.doc
?????:FTP://FTP.Microsoft.com/bussys/Winnt/Winnt-docs/papers/"Microsoft Windows NT 3.5/3.51/4.0: TCP/IP ????????????? ????? TCP/IP ????????? ????? ?? ??????, ??????? 2.0"

???? ???????

TCP/IP ??????????? ????????? ?? ????? ???????? ????????? (TCP) ?? ???? ?? ???????-??????? ??? ???????-??????? ?????? ??, ???? ?? ???? ??? ?? ???? ?? ???????? ???? ?? ???? ??, ?? ????????? ??????? ?????? ??????? ?? ???????? ??????? TCP ???? ???? ?????, ??????? establishment ?? ??????? ??????? ??????? ????????? govern ??????? ???????? ?????????? ????? ???????? ????? ?? ??? ??? ???????? ???:
URG: ?????? ???? ????? ??????????
ACK: Acknowledgement ????? ??????????
PSH: ?????? ??????
RST: ??????? ????? ????
SYN: ?????????? ??????? ???????
FIN: ??? ?? ???? ?????? ??
???? ?? ??? ??? handshake ????? ?? ?? ????? ?? ???????? ???:
  • (??? ?????? ?????) ??????? ??????? ???? ?? ??? ??
  • (??? ?????? ???) ??????? terminating
????? ????? ??????? ??????? ???? ??? ?? ??????? ?????? ?????? ??? ??????? ??????, ????????? ???????? ?? ?? Microsoft ???????? ??????? ????? ?? ??????? ???? ?? ???? ???

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

????? ??????? ?? ?? TCP ??????? ??????? ???? ?? ????????? ?????? ??:

????? 1:

???? ?????? ??? ????? ??, ???? ???????, NTW3, SYN ??? (TCP.... S.) ????? ??? ?? ????? ?????? ??????? ?????? ?? ?????????? ???? ?? ??? ??? ??? ???? ????????? ??????? ?????? (ISN), 1 ?? ?????? incremented ??, ?? ?? ????? ?? 8221821 + 1 = 8221822, ?? ?? ???? ?? ????? ?? ???? ???? ??????? ?? ??????? ???? ?? ??? ??????? ?? ????? ?????? ??????????? ??-????? ?? ??????? ??????? ???? ?????? ?? ??? ?????? ??? ???? (MSS) ??? ??, ?? ??? ????? ?????? ???????? ?? ?? ?? ?? (len: 4). ?? ?????? communicates ?????? ??? ???? ??????? ???? ?? ??? ?????? ????? ??? Acknowledgement ????? (ack: 0) ????? ?? ??? ?? ??????? ?? ??? ??? handshake ?? ???? ??? ???
1    2.0785 NTW3 --> BDC3 TCP ....S., len: 4, seq: 8221822-8221825, ack: 0,
win: 8192, src: 1037  dst:  139 (NBT Session)  NTW3 -->  BDC3 IP

TCP: ....S., len: 4, seq: 8221822-8221825, ack: 0, win: 8192, src: 1037
dst:  139 (NBT Session)

   TCP: Source Port = 0x040D
   TCP: Destination Port = NETBIOS Session Service
   TCP: Sequence Number = 8221822 (0x7D747E)
   TCP: Acknowledgement Number = 0 (0x0)
   TCP: Data Offset = 24 (0x18)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x02 : ....S.

      TCP: ..0..... = No urgent data
      TCP: ...0.... = Acknowledgement field not significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......1. = Synchronize sequence numbers
      TCP: .......0 = No Fin

   TCP: Window = 8192 (0x2000)
   TCP: Checksum = 0xF213
   TCP: Urgent Pointer = 0 (0x0)
   TCP: Options

         TCP: Option Kind (Maximum Segment Size) = 2 (0x2)
         TCP: Option Length = 4 (0x4)
         TCP: Option Value = 1460 (0x5B4)

   TCP: Frame Padding

00000:  02 60 8C 9E 18 8B 02 60 8C 3B 85 C1 08 00 45 00   .`.....`.;....E.
00010:  00 2C 0D 01 40 00 80 06 E1 4B 83 6B 02 D6 83 6B   .,..@....K.k...k
00020:  02 D3 04 0D 00 8B 00 7D 74 7E 00 00 00 00 60 02   .......}t~....`.
00030:  20 00 F2 13 00 00 02 04 05 B4 20 20                .........
				
????? 2:

????? ????? ????? ??? ?????, BDC3, ?? ?? ACK ?? ?? SYN ?? ??? ?? (TCP. A..S.). ?? ??? ??? ????? ?? acknowledging ????????????? ?? ??? ??????? ?? ??????? ?? ?? ??? ??? ????? ?? ?? ??? ???? ?????? ???? ??????? ?????? ?? ????????????? ?? ??? ??????? ?? ???? ?? ??? ??? ?? ????? ???? ??? ????? ??? acknowledgement ?????? (8221823) ??????? transmits ??? Acknowledgement ACK SYN ??????? ?? ??????? ???? ?? ??? ??????? ?? ?? ??????? ?? ??? ???? proof ??? ??????? ?????? acknowledging ?? ????????? ?????? ?? ??????? ?? ??????? ?????? ?? ????? ?? ??? ????? ?? ?????? ???? ?? ?? ???? acknowledgement ?????? ?? ??? ??? ????? ???? ???
2   2.0786 BDC3 --> NTW3  TCP .A..S., len: 4, seq: 1109645-1109648, ack:
8221823, win: 8760, src: 139 (NBT Session)  dst: 1037 BDC3 --> NTW3  IP

TCP: .A..S., len:    4, seq:   1109645-1109648, ack:   8221823, win: 8760,
src:  139 (NBT Session)  dst: 1037

   TCP: Source Port = NETBIOS Session Service
   TCP: Destination Port = 0x040D
   TCP: Sequence Number = 1109645 (0x10EE8D)
   TCP: Acknowledgement Number = 8221823 (0x7D747F)
   TCP: Data Offset = 24 (0x18)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x12 : .A..S.

      TCP: ..0..... = No urgent data
      TCP: ...1.... = Acknowledgement field significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......1. = Synchronize sequence numbers
      TCP: .......0 = No Fin

   TCP: Window = 8760 (0x2238)
   TCP: Checksum = 0x012D
   TCP: Urgent Pointer = 0 (0x0)
   TCP: Options

         TCP: Option Kind (Maximum Segment Size) = 2 (0x2)
         TCP: Option Length = 4 (0x4)
         TCP: Option Value = 1460 (0x5B4)

   TCP: Frame Padding

00000:  02 60 8C 3B 85 C1 02 60 8C 9E 18 8B 08 00 45 00   .`.;...`......E.
00010:  00 2C 5B 00 40 00 80 06 93 4C 83 6B 02 D3 83 6B   .,[.@....L.k...k
00020:  02 D6 00 8B 04 0D 00 10 EE 8D 00 7D 74 7F 60 12   ...........}t`.
00030:  22 38 01 2D 00 00 02 04 05 B4 20 20               "8.-......
				
????? 3:

????? ????? ??? ??????? ????? ?? ?? ACK ?? ??? ?? (TCP. A....)? ?? ??? ??? ??????? acknowledging ????????????? ?? ??? ????? ?? ?? ?????? ??? ??????? ??? ?????????? ??? acknowledgement ???? ?????? ???? ??? ???? ???? ??? ????? ?? ????? ???? ??? ?????????????? ?? ??? ????? ?????? ?? ??????? acknowledgment, ??? ??? handshake ?????? ???????? ??????? ??????? ???? ?? ????????? ?? ???? ?????
3   2.787 NTW3 --> BDC3  TCP .A...., len: 0, seq: 8221823-8221823, ack:
1109646, win: 8760, src: 1037  dst:  139 (NBT Session)  NTW3 --> BDC3  IP

TCP: .A...., len:    0, seq:   8221823-8221823, ack:   1109646, win: 8760,
src: 1037  dst:  139 (NBT Session)

   TCP: Source Port = 0x040D
   TCP: Destination Port = NETBIOS Session Service
   TCP: Sequence Number = 8221823 (0x7D747F)
   TCP: Acknowledgement Number = 1109646 (0x10EE8E)
   TCP: Data Offset = 20 (0x14)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x10 : .A....

      TCP: ..0..... = No urgent data
      TCP: ...1.... = Acknowledgement field significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......0. = No Synchronize
      TCP: .......0 = No Fin

   TCP: Window = 8760 (0x2238)
   TCP: Checksum = 0x18EA
   TCP: Urgent Pointer = 0 (0x0)
   TCP: Frame Padding

00000:  02 60 8C 9E 18 8B 02 60 8C 3B 85 C1 08 00 45 00   .`.....`.;....E.
00010:  00 28 0E 01 40 00 80 06 E0 4F 83 6B 02 D6 83 6B   .(..@....O.k...k
00020:  02 D3 04 0D 00 8B 00 7D 74 7F 00 10 EE 8E 50 10   .......}t....P.
00030:  22 38 18 EA 00 00 20 20 20 20 20 20               "8....
				

??? ??????? terminating

??? ??? handshake ???? ????? ????????? ?????? ?? ???????? ???? ?? ??? ??? ????? ?? ????????, ?????? ?? ????????? ??????? ?? ??????? ?? ??? ????? ????? necessitate ?????? ??????? ?? TCP ??????? ?? ????? duplex ?? (??????, ???? ?? ???? ?? flowing ?? ????? ???????? ?? ???? ???), ?? ???? ???????? ??? ?? ??? ?? ???? ??????

????? 4:

???????? ?? ?? ???? ??? ?? ??? ??????? ?? ??? ??? ?? ?? ???? ACK ?????? ??? ?? FIN (TCP. A...F)? ?? ??? ??? ?? ??? ??????? ??? ????, ?? FIN ???????? ??? ??, ??? ????? ????? ????? ??? ????? ?? ??? ?? ???? ???? ???? ??? ???????, ACK ??????? ??????? ??????? ??? ?? ????? ??? ?????? ???
4   16.0279 NTW3 --> BDC3 TCP .A...F, len: 0, seq: 8221823-8221823,
ack:3462835714, win: 8760, src: 2337  dst: 139 (NBT Session)  NTW3 --> BDC3
IP

TCP: .A...F, len:   0, seq: 8221823-8221823, ack:  1109646, win: 8760, src:
1037  dst:  139 (NBT Session)

   TCP: Source Port = 0x040D
   TCP: Destination Port = NETBIOS Session Service
   TCP: Sequence Number = 8221823 (0x7D747F)
   TCP: Acknowledgement Number = 1109646 (0x10EE8E)
   TCP: Data Offset = 20 (0x14)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x11 : .A...F

      TCP: ..0..... = No urgent data
      TCP: ...1.... = Acknowledgement field significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......0. = No Synchronize
      TCP: .......1 = No more data from sender

   TCP: Window = 8760 (0x2238)
   TCP: Checksum = 0x236C
   TCP: Urgent Pointer = 0 (0x0)

00000:  00 20 AF 47 93 58 00 A0 C9 22 F5 39 08 00 45 00   . .G.X...".9..E.
00010:  00 28 9B F5 40 00 80 06 21 4A C0 5E DE 7B C0 5E   .(..@...!J.^.{.^
00020:  DE 57 09 21 05 48 0B 20 96 AC CE 66 AE 02 50 11   .W.!.H. ...f..P.
00030:  22 38 23 6C 00 00                                 "8#l..
				
????? 5:

?? ?????? ??? ????? ???? ??? ????? ????? ??????? ?? ???????? ???? ??? ?? ?? FIN acknowledging ?? ??? ?? ?? ??? ???
5    16.0281 BDC3 --> NTW3 TCP .A...., len:    0, seq: 1109646-1109646,
ack: 8221824, win:28672, src: 139  dst: 2337 (NBT Session) BDC3 -->  NTW3
IP

TCP: .A...., len:    0, seq: 1109646-1109646, ack: 8221824, win:28672, src:
139  dst: 2337 (NBT Session)

   TCP: Source Port = 0x040D
   TCP: Destination Port = NETBIOS Session Service
   TCP: Sequence Number = 1109646 (0x10EE8E)
   TCP: Acknowledgement Number = 8221824 (0x7D7480)
   TCP: Data Offset = 20 (0x14)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x10 : .A....

      TCP: ..0..... = No urgent data
      TCP: ...1.... = Acknowledgement field significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......0. = No Synchronize
      TCP: .......0 = No Fin

   TCP: Window = 28672 (0x7000)
   TCP: Checksum = 0xD5A3
   TCP: Urgent Pointer = 0 (0x0)
   TCP: Frame Padding

00000:  00 A0 C9 22 F5 39 08 00 02 03 BA 84 08 00 45 00   ...".9........E.
00010:  00 28 D2 82 00 00 3F 06 6B BD C0 5E DE 57 C0 5E   .(....?.k..^.W.^
00020:  DE 7B 05 48 09 21 CE 66 AE 02 0B 20 96 AD 50 10   .{.H.!.f... ..P.
00030:  70 00 D5 A3 00 00 90 00 01 00 86 00               p...........
				
????? 6:

??????? ???????? ?? FIN ??????? ?? ??? ??, ?? ??? ACK. ????? ????? ??? ?? TCP ??? ?? ?????????? ?? ??? ??????? ??????? ??, ?? ??????? ??? ?? ??-????? ?? ???????? ???? ???? ?????, ????? ?????? ?? ???????? ?? FIN (TCP. A...F) ??????? ?? ????
6   17.0085 BDC3 --> NTW3 TCP .A...F, len: 0, seq: 1109646-1109646, ack:
8221824, win:28672, src: 139 dst: 2337 (NBT Session) BDC3 -->  NTW3   IP

TCP: .A...F, len:  0, seq: 1109646-1109646, ack: 8221824, win:28672, src:
139  dst: 2337 (NBT Session)

   TCP: Source Port = 0x0548
   TCP: Destination Port = 0x0921
   TCP: Sequence Number = 1109646 (0x10EE8E)
   TCP: Acknowledgement Number = 8221824 (0x7D7480)
   TCP: Data Offset = 20 (0x14)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x11 : .A...F

      TCP: ..0..... = No urgent data
      TCP: ...1.... = Acknowledgement field significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......0. = No Synchronize
      TCP: .......1 = No more data from sender

   TCP: Window = 28672 (0x7000)
   TCP: Checksum = 0xD5A2
   TCP: Urgent Pointer = 0 (0x0)
   TCP: Frame Padding

00000:  00 A0 C9 22 F5 39 08 00 02 03 BA 84 08 00 45 00   ...".9........E.
00010:  00 28 D2 94 00 00 3F 06 6B AB C0 5E DE 57 C0 5E   .(....?.k..^.W.^
00020:  DE 7B 05 48 09 21 CE 66 AE 02 0B 20 96 AD 50 11   .{.H.!.f... ..P.
00030:  70 00 D5 A2 00 00 02 04 05 B4 86 00               p...........
				
????? 7:

??????? ?? ?????, ACKing ?????? ?? ??? ??? ???? ?????? ??? ????? FIN ?? ??????? ?????? 1 ?? incrementing ?????
7   17.0085 NTW3 --> BDC3 TCP .A...., len: 0, seq: 8221824-8221824, ack:
1109647, win: 8760, src: 2337  dst: 139 (NBT Session) NTW3 --> BDC3 IP

TCP: .A...., len:    0, seq: 8221824-8221824, ack: 1109647, win: 8760, src:
2337  dst: 139   (NBT Session)

   TCP: Source Port = 0x0921
   TCP: Destination Port = 0x0548
   TCP: Sequence Number = 8221824 (0x7D7480)
   TCP: Acknowledgement Number = 1109647 (0x10EE8F)
   TCP: Data Offset = 20 (0x14)
   TCP: Reserved = 0 (0x0000)
   TCP: Flags = 0x10 : .A....

      TCP: ..0..... = No urgent data
      TCP: ...1.... = Acknowledgement field significant
      TCP: ....0... = No Push function
      TCP: .....0.. = No Reset
      TCP: ......0. = No Synchronize
      TCP: .......0 = No Fin

   TCP: Window = 8760 (0x2238)
   TCP: Checksum = 0x236B
   TCP: Urgent Pointer = 0 (0x0)

00000:  00 20 AF 47 93 58 00 A0 C9 22 F5 39 08 00 45 00   . .G.X...".9..E.
00010:  00 28 BA F5 40 00 80 06 02 4A C0 5E DE 7B C0 5E   .(..@....J.^.{.^
00020:  DE 57 09 21 05 48 0B 20 96 AD CE 66 AE 03 50 10   .W.!.H. ...f..P.
00030:  22 38 23 6B 00 00                                 "8#k..
				
??????? ACKing FIN ????? ?? ????? ?? ??? TCP ??????? ?? ??? graceful ??? ?? ????? ???? ???

??????

ICMP ?? ???????? ???????: ?? ???
????? ????? ???? ?? Microsoft ???????? ??? ?????:
170292??????? ??????? ???????? ????? ????????? (ICMP) ????
-??-
RFC 793 ??????? ?????
RFCs ?? ???? ?? ??????? ?? ?? ??????? ?? ?????? ?? ?? ??? ???:

???-??? ?? (???? ??????? ?????? ?? ??? NIC@NIC.DDN.MIL) ??????? ???? ?? ??? RFCs ?? ???? ???????????? NIC ?? ?????? ???? ?????? ???????????? FTP ?? rfc/rfc ?? ??? ??? NIC.DDN.MIL ?? Kermit ?? ?????? ?? ?????? ??? # # # #. txt ?? rfc/rfc # # # # .PS (# # # # RFC ?????? ?? ????? ?? ?????? ???? ??)?
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

???

???? ID: 172983 - ????? ???????: 02 ?????? 2010 - ??????: 5.0
???? ???? ???? ??:
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 for Itanium-Based Systems
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows XP Media Center Edition 2005 Update Rollup 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Server
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Web Server 2008 R2
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
??????: 
kbinfo kbnetwork kbmt KB172983 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:172983

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

 

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