SMB2/SMB2_FILE_PIPE_INFO

This structure is used with SMB2/SetInfo and is used every time a named pipe is opened but before any DCE/RPC traffic is issued with either SMB2/Read, SMB2/Write or SMB2/Ioctl.

SetInfo Structure

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           Pipe Mode                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |               |               |               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Pipe Mode

When an named pipe is opened, this infolevel is set with Pipe Mode == 0x00000001 .

Discussion

Named pipes and DCE/RPC still work without setting this "mode" but maybe it is used to set the pipe in unbuffered or synchronous mode or something? Would be interesting to know if it can be set on normal files and directories as well or if it can only be used for named pipes.

SMB2/SMB2_FILE_PIPE_INFO (last edited 2008-04-12 17:50:15 by localhost)