package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
IsFinalPacket returns true there are no more packets on the message.
NewBasicPacket creates a new BasicPacket instance with the specified PacketHeader and data.
ReadLogin7Packet reads Login7 packet from the reader.
ReadPacket reads a single full packet from the reader.
ReadPreLoginPacket reads Pre-Login packet from the reader.
ToSQLPacket tries to convert basicPacket to MSServer SQL packet.
WriteErrorResponse writes error response to the client.
WritePreLoginResponse writes response to the Pre-Login packet to the writer.
WriteStreamResponse writes stream response packet to the writer.
# Constants
PacketStatusLast indicates that the packet is the last in the request.
PacketTypeLogin7 is the Login7 packet type.
PacketTypePreLogin is the Pre-Login packet type.
PacketTypeResponse is the packet type for server response messages.
PacketTypeRPCRequest is the RPCRequest packet type.
PacketTypeSQLBatch is the SQLBatch packet type.
# Structs
BasicPacket implements the Packet interfaces allowing to operate on PacketHeader and get underlying packet type.
Login7Header contains options and offset/length pairs parsed from the Login7 packet sent by client.
Login7Packet represents a Login7 packet that defines authentication rules between the client and the server.
PacketHeader represents a 8-byte packet header.
PreLoginPacket represents a Pre-Login packet which is sent by the client to set up context for login.
RPCRequest defines client RPC Request packet: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/619c43b6-9495-4a58-9e49-a4950db245b3.
SQLBatch is a representation of MSServer SQL Batch packet.
# Interfaces
Packet is a packet interface.