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.
Inherited Members
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
public class SocksProxyEndPoint : TransparentBaseProxyEndPoint
Constructors
| Edit this page View SourceSocksProxyEndPoint(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 SourceAuthenticateUserFunc
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>> |
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
Events
| Edit this page View SourceBeforeSslAuthenticate
Before Ssl authentication this event is fired.
Declaration
public event AsyncEventHandler<BeforeSslAuthenticateEventArgs>? BeforeSslAuthenticate
Event Type
| Type | Description |
|---|---|
| AsyncEventHandler<BeforeSslAuthenticateEventArgs> |