[squid-users] wildcard for numbers in url whitelisting

robert k Wild robertkwild at gmail.com
Thu Jul 15 10:02:18 UTC 2021


hi all,

im using the below to do my whitelisting

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

in the file contains lines like so

.google.com
.office.com
.microsoft.com

etc etc...

but instead of putting all these urls down in the whitelist

.vsb25.tawk.to
.vsb56.tawk.to
.vsb37.tawk.to
.vsb8.tawk.to
.vsb68.tawk.to
.vsb92.tawk.to
.vsb23.tawk.to
.vsb116.tawk.to

would this work

.vsb[0-9].tawk.to
.vsb[0-9][0-9].tawk.to
.vsb[0-9][0-9][0-9].tawk.to

thanks,
rob

-- 
Regards,

Robert K Wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210715/32e531f0/attachment.htm>


More information about the squid-users mailing list