Every request sent from a client to the proxy server has a set of unique parameters. You can use these parameters in the rules:
Parameter name
Parameter type
Description
request_url
string
Request URL
request_username
string
Name under which the user authorized on the proxy server. The name is extracted from the X-Client-Username header. If the header is not present, the parameter value is treated as an empty line.
request_ip
IP-address with network mask (CIDR)
IP address of the user who sent a request to the proxy server. The address is extracted from the X-Client-IP header. If the header is not present, the parameter value is treated as undefined.
system_time
time
Current system time (hours and minutes).
The use of the request_ip and request_username parameters requires the Squid HTTP proxy server to be configured accordingly.