> 1. is it possible to use comments in ACL files?
> http://www.squid-cache.org/Doc/config/acl/ > says:
> acl aclname acltype "file" ...
> When using "file", the file should contain one item per line.
> but anything about possible comments, although they seem to be used on the
> net according to web search...
It depends on the ACL type. Some have special handling for files with
values, some do not support loading from files.
The rest support files with:
* one ACL value per line, and
* ignoring whitespace prefix and suffix, and
* '#' as comment prefix.
> 2. how does squid behave with more items in one line, does it use or ignore
> 126.96.36.199 # comment
All of the line (excluding the whitesace prefix/suffix) is one value.