Socks5Handler Members

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Socks5Handler Members

Public Instance Constructors

Socks5Handler Overloaded. Initialize a new instance of the Socks5Handler class.

Public Instance Methods

Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
StartNegotiating (inherited from SocksHandler)Starts accepting bytes from the client.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Properties

AcceptSocket (inherited from SocksHandler)Gets or sets the socket that is used to accept incoming connections.
Buffer (inherited from SocksHandler)Gets a buffer that can be used when receiving bytes from the client.
Bytes (inherited from SocksHandler)Gets or sets a byte array that can be used to store received bytes from the client.
Connection (inherited from SocksHandler)Gets or sets the connection with the client.
RemoteBindIP (inherited from SocksHandler)Gets or sets the IP address of the requested remote server.
RemoteConnection (inherited from SocksHandler)Gets or sets the connection with the remote host.

Protected Instance Methods

AddBytes (inherited from SocksHandler)Adds some bytes to a byte aray.
DisposeOverloaded. Sends a reply to the client connection and disposes it afterwards.
Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
IsValidRequestChecks whether a specific request is a valid SOCKS request or not.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
OnAcceptCalled when there's an incoming connection in the AcceptSocket queue.
OnDisposeBad (inherited from SocksHandler)Called when a negative reply has been sent to the client.
OnDisposeGood (inherited from SocksHandler)Called when an OK reply has been sent to the client.
OnReceiveBytes (inherited from SocksHandler)Called when we receive some bytes from the client.
OnStartAccept (inherited from SocksHandler)Called when the AcceptSocket should start accepting incoming connections.
ProcessRequestProcesses a SOCKS request from a client and selects an authentication method.

Private Instance Fields

m_AuthListHolds the value of the AuthList property.
m_AuthMethodHolds the value of the AuthMethod property.

Private Instance Properties

AuthListGets or sets the AuthenticationList object to use when trying to authenticate the SOCKS client.
AuthMethodGets or sets the the AuthBase object to use when trying to authenticate the SOCKS client.

Private Instance Methods

IsValidQueryChecks whether a specified query is a valid query or not.
OnAuthenticationCompleteCalled when the authentication is complete.
OnAuthSentCalled when client has been notified of the selected authentication method.
OnConnectedCalled when we're successfully connected to the remote host.
OnRecvRequestCalled when we received the request of the client.
ProcessQueryProcesses a received query.

See Also

Socks5Handler Class | Org.Mentalis.Proxy.Socks Namespace