In older versions of versions of squid, you had to define an acl 'all'.

acl all src

You use this for http_access allow all http_access deny all etc.

In Squid 3.0 and above, the 'all' ACL is built-in, you cannot (& need not) define it.

However, the webmin squid module doesn't seem to know this - when you try to add a rule using all, it doesn't show 'all' in it's list of ACLs.

How does one get around this?

I am using webmin 1.530 on Debian Lenny. Squid Version is 3.0.STABLE19-1~bpo50+1

closed as off-topic by HopelessN00b Jan 14 '15 at 2:16

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.


webmin does not have a module for Squid3 yet. You are probably using a module for Squid2. Beside the fact that all is now built-in there are a lot of new directives he does not understand. IMHO you will be better off editing squid.conf by hand or using Squid2.


I just checked with Squid3 documentation. They have a 'Recommended minimum acl configuration'. And the first line is acl all src So yes, you definitely can add that line. It's no error.

  • In squid3, can I add an acl ` acl all src` and ignore the warning? – Genboy Feb 28 '11 at 11:04
  • I think the documentation is not updated. When I add the directive, I get the following warning when restarting Squid 2011/03/01 13:13:33| WARNING: '' is a subnetwork of '' 2011/03/01 13:13:33| WARNING: because of this '' is ignored to keep splay tree searching predictable 2011/03/01 13:13:33| WARNING: You should probably remove '' from the ACL named 'all' 2011/03/01 13:13:33| squid.conf line 2575: http_access allow 2011/03/01 13:13:33| aclParseAccessLine: Access line contains no ACL's, skipping – Genboy Mar 1 '11 at 7:44
  • I was able to reproduce. For me first 2 lines are: 2011/03/01 21:13:46| ERROR: '' needs to be replaced by the term 'all'. 2011/03/01 21:13:46| SECURITY NOTICE: Overriding config setting. Using 'all' instead. I don't think this warning will affect anything though. What about: http_access allow 2011/03/01 13:13:33| aclParseAccessLine: Access line contains no ACL's, skipping - did you forget to add 'all'? – Art Shayderov Mar 1 '11 at 18:17
  • Yes, forgot to add 'all'. The http_access warning was my mistake. – Genboy Mar 2 '11 at 12:15

I can't figure out exactly what you're saying Webmin is doing wrong here, but if it's a bug in Webmin you should file a bug in the bug tracker, rather than asking random people at Server Fault how to work around it. Webmin is very actively developed...there's never any reason to work around bugs or incompatibilities in Webmin: Tell someone who can fix it, and it will get fixed fast.

You can use the bug tracker at Virtualmin.com or the SourceForge.net one (but the Virtualmin.com tracker is faster, works better, and will get Jamie's attention faster, so I recommend it).

  • It's not a bug in Webmin. The Squid Module for Webmin hasn't updated for squid3. I am asking for a workaround to get it to work with squid3. Any squid version of the last 2 years will have this issue with the webmin squid module. So may be Webmin is actively developed, but may the squid module isn't. I doubt if there is any one using it with the current versions of squid who hasn't hit this problem - it's pretty basic. – Genboy Mar 2 '11 at 12:15
  • Actually, Webmin's Squid module was updated for Squid 3.0, but I'm guessing this was a change that came between the betas used for the original support in Webmin and the current stable versions. File a ticket, and it will get fixed. It's really not hard to file a ticket; and you'll then end up with a Webmin that supports the software you're using. If no one reports a problem, regardless of how many people hit it, it doesn't get fixed. – swelljoe Mar 2 '11 at 23:55
  • I have opened a webmin bug here - sourceforge.net/tracker/… Thank you for your help. – Genboy Mar 3 '11 at 4:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.