During the past we had often the request to do a rule trace for a dedicated surfing session.
We also needed the posibility to change the clients ip address in the proxy to test customer problem.
For easier debugging I wrote a little ruleset to enable ruletracing by adding a "_ruleset" parameter on single url. (example: http://www.test.de/?_ruleset)
The next 60 seconds every additional connection from this client is traced also by the mwg.
Using the paramter "_ruleset_disable" no additional rule trace will take place.
We also had the request to change the surfing client ip adresse to verify the policy works in the right way for a dedicated client.
This can be done using the parameter _clientip=184.108.40.206 (example: http://test.de/?_clientip=220.127.116.11)
The next 2 minutes every connection from your client will be executed on the proxy with the client ip 18.104.22.168.
To prevent other clients using such parameter you have to add all clients which are allowed to use this feature in the list GLB_ADMIN_IP.
You should place the ruleset in the beginning of your policy.