Search squid archive

Re: wildcard for numbers in url whitelisting

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

 



ok this hasnt worked, its allowing all the internet now ie urls

#HTTP_HTTPS whitelist websites
acl whitelist ssl::server_name "/usr/local/squid/etc/urlwhite.txt"

#HTTP_HTTPS whitelist websites regex
acl whitelistreg ssl::server_name_regex "/usr/local/squid/etc/urlwhitereg.txt"

http_access allow activation
http_access allow whitelist
http_access allow whitelistreg
http_access deny all

On Thu, 15 Jul 2021 at 13:43, robert k Wild <robertkwild@xxxxxxxxx> wrote:
activation is an acl for ports, so

acl activation port 80 443 8090 9251 # office adobe web

On Thu, 15 Jul 2021 at 13:24, Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx> wrote:
On 15.07.21 13:08, robert k Wild wrote:
>#HTTP_HTTPS whitelist websites
>acl whitelist ssl::server_name "/usr/local/squid/etc/urlwhite.txt"
>
>#HTTP_HTTPS whitelist websites regex
>#acl whitelistreg ssl::server_name_regex
>"/usr/local/squid/etc/urlwhitereg.txt"
>

you must split those to two lines, as all ACLs must match for http_access
line to match:

http_access allow activation whitelist
http_access allow activation whitelistreg
http_access deny all

I only can guess what "activation" means.

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users


--
Regards,

Robert K Wild.


--
Regards,

Robert K Wild.
_______________________________________________
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