Chapter 3: Condition Reference
socks.version=
Tests whether the version of the SOCKS protocol used to communicate to the client is SOCKS 4/4a or SOCKS 5. SOCKS 5 has more security and is more highly recommended.
SOCKS 5 supports authentication and can be used to authenticate transactions that may be accelerated by other protocol services.
SOCKS 4/4a does not support authentication. If socks.authenticate() or socks.authenticate.force() is set during evaluation of a SOCKS 4/4a transaction, that transaction will be denied.
Syntax
socks.version=4..5
Layer and Transaction Notes
•Use in <Proxy>, <Forward>, and <Exception> layers.
•Applies to SOCKS transactions.
•Does not apply to administrator transactions.
Examples
This example authenticates SOCKS v5 clients, and allows only a known set of client IP addresses to use SOCKS v4/4a.
<Proxy>
socks.version=5 socks.authenticate(my_realm )
deny socks.version=4 client.address=!old_socks_allowed_subnet
See Also
•Conditions: socks.destination_address=, socks.destination_port=, socks.method=, socks.version=
•Properties: socks_gateway( ), socks.accelerate( ), socks.authenticate( ), socks.authenticate.force( )
131