package
0.0.0-20201023123058-add66245ba50
Repository: https://github.com/40t/go-sniffer.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewAssembler creates a new assembler.
No description provided by the author
No description provided by the author
No description provided by the author
NewStreamPool creates a new connection pool.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultAssemblerOptions provides default options for an assembler.

# Structs

Assembler handles reassembling TCP streams.
AssemblerOptions controls the behavior of each assembler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Reassembly objects are passed by an Assembler into Streams using the Reassembled call.
StreamPool stores all streams created by Assemblers, allowing multiple assemblers to work together on stream processing while enforcing the fact that a single stream receives its data serially.

# Interfaces

All internal plug-ins must implement this interface ResolvePacket - entry BPFFilter - set BPF, like: mysql(tcp and port 3306) SetFlag - plug-in params Version - plug-in version.
Stream is implemented by the caller to handle incoming reassembled TCP data.
StreamFactory is used by assembly to create a new stream for each new TCP session.

# Type aliases

Sequence is a TCP sequence number.