[squid-users] IP Whitelist still getting user:pass prompt

Marek Greško mgresko8 at gmail.com
Sun Apr 25 11:52:43 UTC 2021


Hello,

I see extra spaces in
acl allowedips src " /etc/squid/allowedips.txt "

It should be
acl allowedips src "/etc/squid/allowedips.txt"

What is you format of the file itself?

Are you seeing the password prompt also when only http protocol is
used in communicaton?

Marek


2021-04-24 13:58 GMT+02:00, Andy Frad <andy.frad at gmail.com>:
> Morning,
>
> I'm having an issue where even though I have my acl higher up in the
> squid.conf, the user still gets prompted for a user:pass.
>
> Here is a snippet of the config:
>
> acl allowedips src " /etc/squid/allowedips.txt "
> http_access allow allowedips
>
> auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
>
> auth_param basic children 10
> auth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 2 hours
> acl password proxy_auth REQUIRED
> external_acl_type userip %MYADDR %LOGIN /usr/lib/squid/ext_file_userip_acl
> -f /etc/squid/userip.conf
>
> acl userip external userip
>
> http_access allow localhost
> http_access allow userip
> #http_access allow password
> http_access deny all
>
> Anything I'm doing wrong?
>
>
> *Andy*
> *CCIE #56533*
>


More information about the squid-users mailing list