SMB(Server Message Block) UDP(User Datagram Protocol) ICMP(Internet Control Message Protocol)
SMB (Server Message Block) SMB? : Microsoft IBM, Intel,. Unix NFS. SMB client/server. Client server request (file access, ) server. SMB. NetBIOS. Microsoft Window2000 SMB CIFS(Common Internet File System) 1.0 protocol. NetBIOS over TCP/IP
SMB(Server Message Block) SMB Message-Exchange Sequence 1. SMB_COM_NEGOTIATE 5. SMB_COM_READ 2. SMB_COM_SESSION_SETUP_ANDX 6. SMB_COM_CLOSE 3. SMB_COM_TREE_CONNECT 7. SMB_COM_TREE_DISCONNECT 4. SMB_COM_OPEN SMB set? CIFS. -. SMB_COM_NEGOTIATE : SMB_COM_SESSION_SETUP_ANDX :, Verification -. SMB_COM_TREE_CONNECT : client access disk. SMB_COM_OPEN,SMB_COM_READ -. -. NETWORK
SMB (Server Message Block) NetBIOS? : Windows application. NetBIOS. SMB Server Redirector, Browsing NetBIOS (15byte) 1byte. server [20],Browsing WORKGROUP[1D] WORKGROUP GROUP WORKGROUP[1D] Browsing..
SMB (Server Message Block) (huichang) Workgroup Iworld Prosvc 1. Iworld. Application( ) Application Get Iworld list pdc Pdc Get Iworld list Redirector Broadcast multicast huichang Sender: Iworld[1D] /Browsing Receiver:huichang[00] /Redirector Sender: huichang[00] /Redirector Receiver: Iworld[1D] /Browsing Browsing Pdc (master browser)
SMB(Server Message Block) (huichang) workgroup Iworld Prosvc 2. Pdc Iworld. Pdc NetBIOS. Application( ) Application(?) Redirector pdc huichang Sender:pdc[20] /Server Receiver:huichang[00] /Redirector Session number:100 Sender: huichang[00] /Redirector Receiver:pdc[20] /Server Session num: 1 Server pdc(master browser)
SMB (Server Message Block) (huichang) workgroup Iworld Prosvc 3. Pdc. SMB. Application( ) Application(?) Negotiate : SMB,, String type(uni code). File lock. Negotiate : SMB,, String type(uni code). File lock.. Data only Local: 1 Remote: 100 Local : 100 Remote : 1 Data only Local: 100 Remote: 1 Local : 1 Remote : 100 huichang pdc(master browser)
SMB (Server Message Block) WORKGROUP HSB. HASB NetBIOS.
SMB (Server Message Block) tcp.ppt1 203 134 SMB. 203 134 tcp.ppt1.. 203 134 tcp.ppt1.. 203 134 tcp.ppt1. Tcp.ppt1. 203 SMB data.
SMB (Server Message Block) SMB Window. NFS. Window SAMBA( ) Window NFS. Novell NetWare CIFS Windows 2000 Windows. Windows 2000 Netware Gateway. SAMBA WINDOW NFS UNIX NETWARE (CIFS ) WINDOW
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) : UDP process write datagram. datagram 65535 byte(ip header length field 16 bit). 8 byte. Source,destination port number,length field checksum. TCP field. UDP. 16-bit source port num 16-bit dest port num 16-bit UDP length 16-bit UDP checksum Data ( write )
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) UDP? 1. Flow control :? 2. Fragmentation : datagram fragmentation. 3. Reliability :? -? UDP ICMP protocol Flow control host icmp source quench error (type 4, code 0). icmp. Fragmentation UDP IP DF set fragment icmp need to fragment(type 3, code 4). Reliability - UDP host gateway icmp host unreachable (type 3, code 1). host icmp protocol unreachable(type 3, code 3).
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) UDP TCP UDP TCP UDP data TCP client server UDP ICMP. TCP.
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) ICMP? : IP error (attention). IP header ICMP 8 bit type 8 bit code 16 bit checksum Contents depends on type and code type code Echo request : 8 0 Echo reply : 0 0 Source quench : 4 0 Network unreachable : 3 0 Host unreachable : 3 1 Protocol unreachable : 3 2 Port unreachable : 3 3 Fragment needed(df bit set) : 3 4 Time to live equals 0 : 11 0
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) ICMP echo request and reply 8 bit type 8 bit code 16 bit checksum 16 bit identifier 16 bit sequence number Contents depends on type and code
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) ICMP time to live equals 0 8 bit type 8 bit code 16 bit checksum Contents depends on type and code
UDP(User Datagram Protocol) & ICMP(Internet Control Message Protocol) ICMP port unreachable 8 bit type 8 bit code 16 bit checksum Contents depends on type and code