ProxySG Content Policy Language Guide
218
socks_gateway( )
Controls whether or not the request associated with the current transaction is sent through a SOCKS
gateway.
There is a box-wide configuration setting (config>socks-gateways>sequence) for the default
SOCKS gateway failover sequence. The socks_gateway( ) property is used to override the default
SOCKS gateway failover sequence with a specific list of SOCKS gateway aliases. The list of aliases
might contain the special token default, which expands to include the default SOCKS gateway
failover sequence defined in configuration.
Duplication is allowed in the specified alias list only in the case where a gateway named in the default
failover sequence is also named explicitly in alias_list.
In addition, there is a box-wide configuration setting (config>socks-gateways>failure-mode) for
the default SOCKS gateway failure mode. The socks_gateway.fail_open( ) property overrides the
configured default.
Syntax
socks_gateway(alias_list|no)
The default value is no.
where:
alias_list—Send this request through the specified alias list. The ProxySG attempts to send this
request through the specified gateways in the order specified by the list. It proceeds to the next
gateway alias as necessary when the gateway is down, as determined by health checks.
no—Do not send this request through a SOCKS gateway. A forwarding host or ICP host may still
be used, depending on those properties. If neither are set, the request is sent directly to the origin
server. A setting of no overrides the default sequence defined in configuration.
Layer and Transaction Notes
•Use in <Forward> layers.
Applies to all except administrator transactions.
See Also
•Properties:
direct( ), forward( ), socks.accelerate( ), socks.authenticate( ),
socks.authenticate.force( )
Conditions: socks.destination_address=, socks.destination_port=, socks.method=,
socks.tunneled=, socks.version=