|
|
# SMB2/Flush
|
|
|
|
|
|
Opcode 0x07
|
|
|
|
|
|
This [SMB2](/SMB2) command is used to flush data written to an open FID.
|
|
|
|
|
|
# SMB2/Flush Request
|
|
|
|
|
|
## SMB2/Flush Request Packet Format
|
|
|
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| Buffer Code | | |
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| | | | |
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| |
|
|
|
+-+-+-+-+ FID +-+-+-+-+
|
|
|
| |
|
|
|
+-+-+-+-+ +-+-+-+-+
|
|
|
| |
|
|
|
+-+-+-+-+ +-+-+-+-+
|
|
|
| |
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
|
|
|
## Buffer Code
|
|
|
|
|
|
[SMB2/BufferCode](/SMB2/BufferCode) 0x18
|
|
|
|
|
|
## FID
|
|
|
|
|
|
[SMB2/FID](/SMB2/FID) This is the object to flush the data for.
|
|
|
|
|
|
# SMB2/Flush Response
|
|
|
|
|
|
## SMB2/Flush Response Packet Format
|
|
|
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| Buffer Code | | |
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
|
|
|
## Buffer Code
|
|
|
|
|
|
[SMB2/BufferCode](/SMB2/BufferCode) 0x04
|
|
|
|
|
|
## NT Status Codes
|
|
|
|
|
|
# Discussion
|
|
|
|
|
|
---
|
|
|
|
|
|
Imported from https://wiki.wireshark.org/SMB2/Flush on 2020-08-11 23:24:59 UTC |