Class AMNetServerProxyAcceptor
Default PROXY protocol acceptor for direct SSH, PROXY v1, and PROXY v2 connections.
Implements
Inherited Members
Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public class AMNetServerProxyAcceptor : IAMNetServerProxyAcceptor
Constructors
| Edit this page View SourceAMNetServerProxyAcceptor()
Creates a default PROXY protocol acceptor.
Declaration
public AMNetServerProxyAcceptor()
Methods
| Edit this page View SourceacceptServerProxyMetadata(IProxyMetadata)
Parses and validates metadata sent before the SSH handshake, such as PROXY protocol headers.
Declaration
public virtual bool acceptServerProxyMetadata(IProxyMetadata proxyMetadata)
Parameters
| Type | Name | Description |
|---|---|---|
| IProxyMetadata | proxyMetadata | The incoming metadata buffer and connection attributes. |
Returns
| Type | Description |
|---|---|
| bool |
|