ltm rule command SOCKS allowedΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

SOCKS::allowed
       This command allows you to change whether the SOCKS request is allowed or not.

SYNOPSIS
       SOCKS::allowed ('0' | '1')?

DESCRIPTION
       This command allows you to reject a SOCKS request during the SOCKS_REQUEST event.

       Details (Syntax): SOCKS::allowed '0' | '1'
	   Sets the state of SOCKS based on the Boolean value.

RETURN VALUE
VALID DURING
       SOCKS_REQUEST

EXAMPLES
	# Reject all SOCKS requests:
	when SOCKS_REQUEST {
	    SOCKS::allowed 0
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.5.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)