Module: RubySMB::SMB2

Defined in:
lib/ruby_smb/smb2.rb,
lib/ruby_smb/smb2/file.rb,
lib/ruby_smb/smb2/pipe.rb,
lib/ruby_smb/smb2/tree.rb,
lib/ruby_smb/smb2/packet.rb,
lib/ruby_smb/smb2/commands.rb,
lib/ruby_smb/smb2/bit_field.rb,
lib/ruby_smb/smb2/info_type.rb,
lib/ruby_smb/smb2/smb2_header.rb,
lib/ruby_smb/smb2/create_context.rb,
lib/ruby_smb/smb2/negotiate_context.rb,
lib/ruby_smb/smb2/packet/echo_request.rb,
lib/ruby_smb/smb2/packet/error_packet.rb,
lib/ruby_smb/smb2/packet/read_request.rb,
lib/ruby_smb/smb2/packet/close_request.rb,
lib/ruby_smb/smb2/packet/echo_response.rb,
lib/ruby_smb/smb2/packet/ioctl_request.rb,
lib/ruby_smb/smb2/packet/read_response.rb,
lib/ruby_smb/smb2/packet/write_request.rb,
lib/ruby_smb/smb2/bit_field/share_flags.rb,
lib/ruby_smb/smb2/packet/close_response.rb,
lib/ruby_smb/smb2/packet/create_request.rb,
lib/ruby_smb/smb2/packet/ioctl_response.rb,
lib/ruby_smb/smb2/packet/logoff_request.rb,
lib/ruby_smb/smb2/packet/write_response.rb,
lib/ruby_smb/smb2/create_context/request.rb,
lib/ruby_smb/smb2/packet/create_response.rb,
lib/ruby_smb/smb2/packet/logoff_response.rb,
lib/ruby_smb/smb2/bit_field/session_flags.rb,
lib/ruby_smb/smb2/create_context/response.rb,
lib/ruby_smb/smb2/packet/set_info_request.rb,
lib/ruby_smb/smb2/packet/transform_header.rb,
lib/ruby_smb/smb2/packet/negotiate_request.rb,
lib/ruby_smb/smb2/packet/set_info_response.rb,
lib/ruby_smb/smb2/packet/negotiate_response.rb,
lib/ruby_smb/smb2/packet/query_info_request.rb,
lib/ruby_smb/smb2/bit_field/file_access_mask.rb,
lib/ruby_smb/smb2/packet/query_info_response.rb,
lib/ruby_smb/smb2/bit_field/smb2_capabilities.rb,
lib/ruby_smb/smb2/bit_field/smb2_header_flags.rb,
lib/ruby_smb/smb2/packet/tree_connect_request.rb,
lib/ruby_smb/smb2/bit_field/share_capabilities.rb,
lib/ruby_smb/smb2/bit_field/smb2_security_mode.rb,
lib/ruby_smb/smb2/packet/session_setup_request.rb,
lib/ruby_smb/smb2/packet/tree_connect_response.rb,
lib/ruby_smb/smb2/packet/session_setup_response.rb,
lib/ruby_smb/smb2/packet/query_directory_request.rb,
lib/ruby_smb/smb2/packet/tree_disconnect_request.rb,
lib/ruby_smb/smb2/bit_field/directory_access_mask.rb,
lib/ruby_smb/smb2/packet/query_directory_response.rb,
lib/ruby_smb/smb2/packet/tree_disconnect_response.rb,
lib/ruby_smb/smb2/bit_field/smb2_security_mode_single.rb,
lib/ruby_smb/smb2/packet/compression_transform_header.rb

Overview

A packet parsing and manipulation library for the SMB2 protocol

[MS-SMB2] Server Message Block (SMB) Protocol Versions 2 and 3

Defined Under Namespace

Modules: BitField, Commands, CreateContext, InfoType, Packet Classes: CompressionCapabilities, EncryptionCapabilities, File, NegotiateContext, NetnameNegotiateContextId, Pipe, PreauthIntegrityCapabilities, SMB2Header, TransportCapabilities, Tree

Constant Summary collapse

SMB2_PROTOCOL_ID =

Protocol ID value. Translates to \xFESMB

0xFE534D42
SMB2_TRANSFORM_PROTOCOL_ID =
0xFD534D42
SMB2_WILDCARD_REVISION =
0x02ff
SMB2_CHANNEL_NONE =
0
SMB2_CHANNEL_RDMA_V1 =
1
SMB2_CHANNEL_RDMA_V1_INVALIDATE =
2
SMB2_INFO_FILE =
1
SMB2_INFO_FILESYSTEM =
2
SMB2_INFO_SECURITY =
3
SMB2_INFO_QUOTA =
4