B
B
Bugedig2022-01-12 11:13:41
Squid
Bugedig, 2022-01-12 11:13:41

How to add a site to exclusions in squid3?

Good afternoon, there is a program called PPDGR, which, as written in the help, takes an update from the site. When I try to update, I get an error: The
61de8b9471b90474035415.jpeg
proxy server is squid3. Please help me with the question of how to add a site that is listed in the help to exclusions or whitelist squid3. I went along the etc / squid3 path, but there are too many files and it's not very clear where to make changes, maybe there are gurus who are well aware of setting up this proxy server.
61de8d97b4737113626687.jpeg
61de8da2f2145701044861.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chernykh, 2022-01-17
@sashkets

you have proxy authorization configured, this is visible to the error. This program does not know how to authorize, so it must be allowed past the squid authorization.
In squid.conf (on the example of mine)
find and comment out something similar to
acl auth_user proxy_auth REQUIRED
reload the squid config
squid -k reconfigure
check if everything still works. nothing should change for users. check whether the program has earned. if so, now you need to add acl for the program before acl with proxy authorization

# 1) узнать имя домена, куда прога ходит
acl SPRO1 dstdomain .SPRO1.tld 
# 2) либо по ip, опятьже нужно узнать. в spro1_ip - указать адреса серваков, куда прога может ходить
# выбрать один из двух, два - избыточно
acl SPRO1_IP dst "/etc/squid/spro1_ip"

acl auth_user proxy_auth REQUIRED
...
# выбрать один из двух, два - избыточно
http_access allow SPRO1
http_access allow SPRO1_IP
...
# это последнее правило
http_access deny all

something like this
squid -k reconfigure
and read logs from /var/log/squid/
P.S. The order of acl
and rules plays a role

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question