6.5 Exercises

  • Define an ACL for each known type (src, dst, ident, etc.) and write a rule that uses all of them.

  • Intentionally mistype the name of an ACL in one of your rules. Does squid -k parse catch the error? Does Squid start anyway?

  • Write an http_access that uses slow ACLs, like srcdomain or ident. Time how long Squid takes to serve a request with and without the slow ACL checks.

    Appendix A. Config File Reference