Documentation
¶
Overview ¶
Package decrypt connects an in-process pcapng writer to the independent ecapture_decryptor SDK and routes application messages or raw chunks to a ByteSink.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, fail func(error), dispatcher domain.EventDispatcher, ifName, filter string, logger *logger.Logger, eventAddr, pcapAddr string, rotation *writers.RotateConfig, eventSinks []domain.CapturedEventSink, options types.DecryptOptions) error
Register installs the low-latency packet handler and its borrowed DSB keylog adapter on one probe dispatcher.
Types ¶
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
Sink is the pcapng input for the reconstructed text source. It can save a copy of the original pcapng bytes when requested. Only the SDK callback writes the plaintext sink, so message output preserves SDK delivery order.
func NewSink ¶
func NewSink(eventAddr, pcapAddr string, rotation *writers.RotateConfig, eventSinks []domain.CapturedEventSink, options types.DecryptOptions) (*Sink, error)
Click to show internal directories.
Click to hide internal directories.