Documentation ¶
Index ¶
Constants ¶
View Source
const PluginType = "padding"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PadQuery ¶
func (*PadQuery) Exec ¶
func (p *PadQuery) Exec(ctx context.Context, qCtx *query_context.Context, next executable_seq.ExecutableChainNode) error
Exec pads queries to 128 octets as RFC 8467 recommended.
type ResponsePaddingHandler ¶
type ResponsePaddingHandler struct { *coremain.BP // Always indicates that ResponsePaddingHandler should always // pad response as long as it is EDNS0 even if it wasn't padded. Always bool }
func (*ResponsePaddingHandler) Exec ¶
func (h *ResponsePaddingHandler) Exec(ctx context.Context, qCtx *query_context.Context, next executable_seq.ExecutableChainNode) error
Exec pads responses to 468 octets as RFC 8467 recommended.
Click to show internal directories.
Click to hide internal directories.