[cifs-protocol] New case: SRX091209600095 Trans2SetPathInfo() returns truncated SMB header

Tim Prouty tim.prouty at isilon.com
Wed Dec 9 10:24:10 MST 2009


Thank you Bill.  I'm looking forward to hearing the results of your  
investigation.

-Tim

On Dec 9, 2009, at 9:13 AM, Bill Wesse wrote:

> Hello Tim - I have created case SRX091209600095 to track this issue.  
> My current test setup is Ubuntu 9.10 against Windows 2008 R2. I will  
> be testing against Windows 7, Windows Vista, and Windows XP (and  
> Windows 2000 if necessary) before proceeding with any product bug  
> filings.
>
> Samba4 from: http://samba.org/~tprouty/samba.2009.12.08.tar.gz
>
> From trans2setpathinfo_against_win7_2.cap in the attached zip (using  
> Network Monitor 3.4):
>
>  Frame: Number = 39, Captured Frame Length = 244, MediaType = ETHERNET
> + Ethernet: Etype = Internet IP (IPv4),DestinationAddress: 
> [00-0C-29-84-0A-41],SourceAddress:[00-0C-29-3F-D2-D7]
> + Ipv4: Src = 10.54.159.14, Dest = 10.54.159.10, Next Protocol =  
> TCP, Packet ID = 42077, Total IP Length = 230
> + Tcp: Flags=...AP..., SrcPort=58261, DstPort=Microsoft-DS(445),  
> PayloadLen=178, Seq=2212562830 - 2212563008, Ack=108947765, Win=566
> + SMBOverTCP: Length = 174
> - Smb: C; Transact2, Set Path Info, Set File EOF Info, Path =  
> \testsfileinfo\test_sfileinfo_end_of_file.dat
>    Protocol: SMB
>    Command: Transact2 50(0x32)
>  + NTStatus: 0x0, Facility = FACILITY_SYSTEM, Severity =  
> STATUS_SEVERITY_SUCCESS, Code = (0) STATUS_SUCCESS
>  + SMBHeader: Command, TID: 0x0800, PID: 0x5935, UID: 0x0800, MID:  
> 0x0009
>  - CTransaction2:
>     WordCount: 15 (0xF)
>     TotalParameterCount: 98 (0x62)
>     TotalDataCount: 8 (0x8)
>     MaxParameterCount: 2 (0x2)
>     MaxDataCount: 0 (0x0)
>     MaxSetupCount: 0 (0x0)
>     Reserved: 0 (0x0)
>   + Flags: Do NOT disconnect TID
>     Timeout: 0 sec(s)
>     Reserved2: 0 (0x0)
>     ParameterCount: 98 (0x62)
>     ParameterOffset: 68 (0x44)
>     DataCount: 8 (0x8)
>     DataOffset: 166 (0xA6)
>     SetupCount: 1 (0x1)
>     Reserved3: 0 (0x0)
>     SubCommand: Set Path Info, 6(0x0006)
>     ByteCount: 109 (0x6D)
>     Pad1: Binary Large Object (3 Bytes)
>   - SetPathInfoParameterBlock:
>      InformationLevel: Set File EOF Info
>      padding: 0 (0x0)
>    + PathName: \testsfileinfo\test_sfileinfo_end_of_file.dat
>   + EndOfFile: 200
>
>  Frame: Number = 40, Captured Frame Length = 102, MediaType = ETHERNET
> + Ethernet: Etype = Internet IP (IPv4),DestinationAddress: 
> [00-0C-29-3F-D2-D7],SourceAddress:[00-0C-29-84-0A-41]
> + Ipv4: Src = 10.54.159.10, Dest = 10.54.159.14, Next Protocol =  
> TCP, Packet ID = 14043, Total IP Length = 88
> + Tcp: Flags=...AP..., SrcPort=Microsoft-DS(445), DstPort=58261,  
> PayloadLen=36, Seq=108947765 - 108947801, Ack=2212563008, Win=260
> + SMBOverTCP: Length = 32
> - Smb: R - DOS OS Error, (124) INVALID_LEVEL
>    Protocol: SMB
>    Command: Transact2 50(0x32)
>  + DOSError: DOS OS Error - (124) INVALID_LEVEL
>  - SMBHeader: Response, TID: 0x0800, PID: 0x5935, UID: 0x0800, MID:  
> 0x0009
>   + Flags: 136 (0x88)
>   + Flags2: 34819 (0x8803)
>     PIDHigh: 0 (0x0)
>     SecuritySignature: 0x0
>     Unused: 0 (0x0)
>     TreeID: 2048 (0x800)
>     ProcessID: 22837 (0x5935)
>     UserID: 2048 (0x800)
>     MultiplexID: 9 (0x9)
>
>
>
>
> Regards,
> Bill Wesse
> MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
> 8055 Microsoft Way
> Charlotte, NC 28273
> TEL:  +1(980) 776-8200
> CELL: +1(704) 661-5438
> FAX:  +1(704) 665-9606
>
> <Captures.zip.bin>



More information about the cifs-protocol mailing list