Squid4/5: Feature request identify access rules.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Squid4/5: Feature request identify access rules.

David Touzeau-3
When having several *_access http_access,reply_access...
In a stressed environment, it is difficult to hunt an issue or a wrong rule.

The debug mode is impossible because the proxy in production mode write too many logs..

But if we can identify the rule and add pointer to the log, it is possible to see a wrong rule or to see that a request is correctly passed trough.

Currently we have to do 

acl acl1 src 1.2.3.4
http_access deny acl1



We suggest using the same token used in http_port:

acl acl1 src 1.2.3.4
http_access deny acl1 rulename=Rule.access1

And add a token for template eg %RULENAME and a token for logformat %rname that helps to identify the token.


Added in bugtrack

https://bugs.squid-cache.org/show_bug.cgi?id=5087



_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users