Search squid archive

Squid4/5: Feature request identify access rules.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux