Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_filters_listener_original_src_v3_original_src_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OriginalSrc ¶
type OriginalSrc struct { // Whether to bind the port to the one used in the original downstream connection. // [#not-implemented-hide:] BindPort bool `protobuf:"varint,1,opt,name=bind_port,json=bindPort,proto3" json:"bind_port,omitempty"` // Sets the SO_MARK option on the upstream connection's socket to the provided value. Used to // ensure that non-local addresses may be routed back through envoy when binding to the original // source address. The option will not be applied if the mark is 0. Mark uint32 `protobuf:"varint,2,opt,name=mark,proto3" json:"mark,omitempty"` // contains filtered or unexported fields }
The Original Src filter binds upstream connections to the original source address determined for the connection. This address could come from something like the Proxy Protocol filter, or it could come from trusted http headers.
func (*OriginalSrc) Descriptor
deprecated
func (*OriginalSrc) Descriptor() ([]byte, []int)
Deprecated: Use OriginalSrc.ProtoReflect.Descriptor instead.
func (*OriginalSrc) GetBindPort ¶
func (x *OriginalSrc) GetBindPort() bool
func (*OriginalSrc) GetMark ¶
func (x *OriginalSrc) GetMark() uint32
func (*OriginalSrc) ProtoMessage ¶
func (*OriginalSrc) ProtoMessage()
func (*OriginalSrc) ProtoReflect ¶
func (x *OriginalSrc) ProtoReflect() protoreflect.Message
func (*OriginalSrc) Reset ¶
func (x *OriginalSrc) Reset()
func (*OriginalSrc) String ¶
func (x *OriginalSrc) String() string
Click to show internal directories.
Click to hide internal directories.