Search Results for

    Show / Hide Table of Contents

    Class SocksProxyEndPoint

    A proxy end point client is not aware of. Useful when requests are redirected to this proxy end point through port forwarding via router.

    Inheritance
    object
    ProxyEndPoint
    TransparentBaseProxyEndPoint
    SocksProxyEndPoint
    Inherited Members
    TransparentBaseProxyEndPoint.ForwardHost
    TransparentBaseProxyEndPoint.ForwardPort
    TransparentBaseProxyEndPoint.ForwardCleartext
    ProxyEndPoint.IpAddress
    ProxyEndPoint.Port
    ProxyEndPoint.DecryptSsl
    ProxyEndPoint.GenericCertificate
    ProxyEndPoint.MaxCachedConnections
    ProxyEndPoint.MaxConcurrentClients
    ProxyEndPoint.EnableHttpInterception
    ProxyEndPoint.AdmittedClientCount
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy.Models
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public class SocksProxyEndPoint : TransparentBaseProxyEndPoint

    Constructors

    | Edit this page View Source

    SocksProxyEndPoint(IPAddress, int, bool)

    Initialize a new instance.

    Declaration
    public SocksProxyEndPoint(IPAddress ipAddress, int port, bool decryptSsl = true)
    Parameters
    Type Name Description
    IPAddress ipAddress

    Listening Ip address.

    int port

    Listening port.

    bool decryptSsl

    Should we decrypt ssl?

    Properties

    | Edit this page View Source

    AuthenticateUserFunc

    Endpoint-scoped SOCKS5 username/password authenticator (RFC 1929). When set, this takes precedence over ProxyBasicAuthenticateFunc for clients on this endpoint. Username/password method is only offered during the SOCKS5 greeting when this callback or the global ProxyBasicAuthenticateFunc is configured. SOCKS4 has no password authentication; when either callback is configured, SOCKS4 CONNECT is rejected.

    Declaration
    public Func<SocksAuthenticateEventArgs, Task<bool>>? AuthenticateUserFunc { get; set; }
    Property Value
    Type Description
    Func<SocksAuthenticateEventArgs, Task<bool>>
    | Edit this page View Source

    GenericCertificateName

    Name of the Certificate need to be sent (same as the hostname we want to proxy). This is valid only when UseServerNameIndication is set to false.

    Declaration
    public override string GenericCertificateName { get; set; }
    Property Value
    Type Description
    string
    Overrides
    TransparentBaseProxyEndPoint.GenericCertificateName

    Events

    | Edit this page View Source

    BeforeSslAuthenticate

    Before Ssl authentication this event is fired.

    Declaration
    public event AsyncEventHandler<BeforeSslAuthenticateEventArgs>? BeforeSslAuthenticate
    Event Type
    Type Description
    AsyncEventHandler<BeforeSslAuthenticateEventArgs>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX