LINUX.ORG.RU
ФорумAdmin

Squid AD авторизация

 , ,


0

2

Добрый день уважаемые форумчане уже 3 день мучаюсь со Squid. Авторизация по пользователям AD работает, клиент ключи получает интернет работает. Сделал 2 подсети 1 для компьютеров непрозрачный прокси 2 прозрачный прокси с авторизацией по mac для мобильных устройств. Проблема 1 в том что я настроил авторизацию по группам в AD и блеклист сайтов в непрозрачном прокси, но интернет работает независимо от того что пользователь в разрешенной группе или нет, и блеклист сайтов не блокируются. В прозрачном прокси блеклист работает. Проблема 2 не работают delay pools. Помогите пожалуйста!

Версия Squid

Squid Cache: Version 4.0.23
Service Name: squid

This binary uses OpenSSL 1.0.2k-fips  26 Jan 2017. For legal restrictions on distribution see https://www.openssl.org/source/license.html

configure options:  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--exec_prefix=/usr' '--libexecdir=/usr/lib64/squid' '--localstatedir=/var' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid' '--with-logdir=$(localstatedir)/log/squid' '--with-pidfile=$(localstatedir)/run/squid.pid' '--disable-dependency-tracking' '--enable-follow-x-forwarded-for' '--enable-auth' '--enable-auth-basic=DB,LDAP,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB,getpwnam,fake' '--enable-auth-ntlm=fake' '--enable-auth-digest=file,LDAP,eDirectory' '--enable-auth-negotiate=kerberos,wrapper' '--enable-external-acl-helpers=wbinfo_group,kerberos_ldap_group,LDAP_group,delayer,file_userip,SQL_session,unix_group,session,time_quota' '--enable-cache-digests' '--enable-cachemgr-hostname=localhost' '--enable-delay-pools' '--enable-epoll' '--enable-icap-client' '--enable-ident-lookups' '--enable-linux-netfilter' '--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-storeio=aufs,diskd,ufs,rock' '--enable-wccpv2' '--enable-esi' '--enable-security-cert-generators' '--enable-security-cert-validators' '--enable-icmp' '--with-aio' '--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl' '--with-openssl' '--enable-ssl-crtd' '--with-pthreads' '--with-included-ltdl' '--disable-arch-native' '--enable-ecap' '--without-nettle' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro ' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -fPIC' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' --enable-ltdl-convenience

Squid.conf

#параметры аутентификации Kerberos
auth_param negotiate program /usr/lib64/squid/negotiate_kerberos_auth -s HTTP/squid.domain.ru @domain.ru
auth_param negotiate children 1000
auth_param negotiate keep_alive on
acl authenticated_user proxy_auth REQUIRED
http_access deny !authenticated_user
debug_options 82,5 28,5 29,5 77,5


# локальная сеть
acl localnet src 10.123.164.0/22 # RFC 1918 local private network (LAN)
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines


acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT


#внешние acl, для проверки вхождения пользователя в группу
external_acl_type SQUID-INTERNET-FULL_ACCESS ttl=300 negative_ttl=60 ipv4 %LOGIN /usr/lib64/squid/ext_kerberos_ldap_group_acl -a -m 0 -S dc1 -g SQUID-INTERNET-FULL_ACCESS -D domain.ru
external_acl_type SQUID-INTERNET-EXTENDED ttl=300 negative_ttl=60 ipv4 %LOGIN /usr/lib64/squid/ext_kerberos_ldap_group_acl -a -m 0 -S dc1  -g SQUID-INTERNET-EXTENDED -D domain.ru
external_acl_type SQUID-INTERNET-STANDART ttl=300 negative_ttl=60 ipv4 %LOGIN /usr/lib64/squid/ext_kerberos_ldap_group_acl -a -m 0 -S dc1  -g SQUID-INTERNET-STANDART -D domain.ru
acl SQUID-INTERNET-FULL_ACCESS external SQUID-INTERNET-FULL_ACCESS
acl SQUID-INTERNET-STANDART external SQUID-INTERNET-STANDART
acl SQUID-INTERNET-EXTENDED external SQUID-INTERNET-EXTENDED

#SPEED LIMIT

external_acl_type UNLIM-SPEED ttl=300 negative_ttl=60 ipv4 %LOGIN /usr/lib64/squid/ext_kerberos_ldap_group_acl -a -g UNLIM-SPEED -D domain.ru
external_acl_type 50-SPEED ttl=300 negative_ttl=60 ipv4 %LOGIN /usr/lib64/squid/ext_kerberos_ldap_group_acl -a -g 50-SPEED -D domain.ru

acl UNLIM-SPEED external UNLIM-SPEED
acl 50-SPEED external 50-SPEED

delay_pools 2

delay_class 1 4 # Unlim (120 Mbit)
delay_parameters 1 -1/-1 -1/-1 -1/-1 15000000/15000000
delay_access 1 allow UNLIM-SPEED
delay_access 1 deny all

delay_class 2 4 # 50 Mbit user
delay_parameters 2 -1/-1 -1/-1 -1/-1 625000/625000
delay_access 2 allow 50-SPEED
delay_access 2 deny all




#списки сайтов http
acl allowed-http-always url_regex -i "/etc/squid/allowed-http-always.txt"
acl blocked-http url_regex -i "/etc/squid/blocked-http.txt"
acl allowed-http-extended url_regex -i "/etc/squid/allowed-http-extended.txt"


#списки https сайтов
acl allowed-https-always ssl::server_name_regex -i "/etc/squid/allowed-https-always.txt"
acl blocked-https ssl::server_name_regex -i "/etc/squid/blocked-https.txt"
acl allowed-https-extended ssl::server_name_regex -i "/etc/squid/allowed-https-extended.txt"
acl monitored-HTTPS ssl::server_name_regex -i "/etc/squid/monitored-HTTPS.txt"


#списки устройств
acl allowed-mac arp "/etc/squid/allowed-mac.txt"
acl allowed-mac-extended arp "/etc/squid/allowed-mac-extended.txt"
acl allowed-mac-full-access arp "/etc/squid/allowed-mac-full-access.txt"
acl step1 at_step SslBump1


# acl, который соответствует все доменным учетным записям, прошедшим проверку
acl kerb_auth proxy_auth REQUIRED
# http_access allow kerb_auth
# Запретить доступ к небезопасным портам
http_access deny !Safe_ports


# Запретить CONNECT к небезопасным SSL портам
http_access deny CONNECT !SSL_ports


# Разрешить cachemgr доступ только с локального хоста
http_access allow localhost manager
http_access deny manager


# Разрешаем доступ с localhost
http_access allow localhost


#разрешаем доступ на основании доменных групп
http_access allow allowed-http-always
http_access allow SQUID-INTERNET-FULL_ACCESS
http_access allow SQUID-INTERNET-EXTENDED allowed-http-extended
http_access allow SQUID-INTERNET-EXTENDED !blocked-http
http_access allow SQUID-INTERNET-STANDART !blocked-http


#разрешаем доступ для mac устройств и http трафика
http_access allow allowed-mac-full-access
http_access allow allowed-mac-extended allowed-http-extended
http_access allow allowed-mac-extended !blocked-http
http_access allow allowed-mac !blocked-http


# Запрещаем все, что не разрешено
http_access deny all


#разрешаем доступ для mac устройств и https трафика
ssl_bump peek step1
ssl_bump bump allowed-mac-full-access monitored-HTTPS
ssl_bump bump allowed-mac-extended monitored-HTTPS
ssl_bump bump allowed-mac monitored-HTTPS
ssl_bump splice allowed-https-always
ssl_bump splice allowed-mac-full-access
ssl_bump splice allowed-mac-extended allowed-https-extended
ssl_bump splice allowed-mac-extended !blocked-https
ssl_bump splice allowed-mac !blocked-https


#запрещаем все https, что не разрешено
ssl_bump terminate all


# Интерфейсы и порты на которых будет слушать Squid

http_port 10.123.164.1:3128
http_port 10.123.124.1:3129 intercept
https_port 10.123.124.1:3127 intercept ssl-bump cert=/etc/squid/ssl_cert/myCA.pem generate-host-certificates=on dynamic_cert_mem_cache_size=4MB



# Настройки DNS. Без них может медленно работать
dns_nameservers 10.123.12.8 10.123.12.1
dns_v4_first on


#генерация динамических сертификатов
sslcrtd_program /usr/lib64/squid/security_file_certgen -s /etc/squid/ssl_db -M 4MB


# Настройки кеша
cache_dir ufs /var/spool/squid 100 16 256
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

cache.log

2023/03/25 19:49:25 kid1| Shutdown: NTLM authentication.
2023/03/25 19:49:25 kid1| Shutdown: Negotiate authentication.
2023/03/25 19:49:25.788 kid1| 29,2| Config.cc(247) authenticateDigestNonceShutdown: Nonce cache shutdown
2023/03/25 19:49:25.788 kid1| Shutdown: Digest authentication.
2023/03/25 19:49:25.788 kid1| Shutdown: Basic authentication.
2023/03/25 19:49:25.788 kid1| assertion failed: Parser.cc:47: "ESIParser::Parsers == this"
2023/03/25 19:49:25.788 kid1| assertion failed: Parser.cc:47: "ESIParser::Parsers == this"
2023/03/25 19:49:25.900 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0xf514b8 delay_access
2023/03/25 19:49:25.900 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access
2023/03/25 19:49:25.901 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0xf5cca8 delay_access
2023/03/25 19:49:25.901 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access
2023/03/25 19:49:25.901 kid1| 29,2| Gadgets.cc(98) authenticateReset: Reset authentication State.
CPU Usage: 0.564 seconds = 0.406 user + 0.158 sys
Maximum Resident Size: 70704 KB
Page faults with physical i/o: 0
2023/03/25 19:49:25| Removing PID file (/var/run/squid.pid)
2023/03/25 19:49:26 kid1| Starting Squid Cache version 4.0.23 for x86_64-redhat-linux-gnu...
2023/03/25 19:49:26 kid1| Service Name: squid
2023/03/25 19:49:27 kid1| commBind Cannot bind socket FD 30 to 10.123.12.16:3128: (98) Address already in use
2023/03/25 19:55:27.520 kid1| 29,2| Gadgets.cc(98) authenticateReset: Reset authentication State.
2023/03/25 19:55:27.520 kid1| Startup: Initializing Authentication Schemes ...
2023/03/25 19:55:27.520 kid1| Startup: Initialized Authentication Scheme 'basic'
2023/03/25 19:55:27.520 kid1| Startup: Initialized Authentication Scheme 'digest'
2023/03/25 19:55:27.520 kid1| Startup: Initialized Authentication Scheme 'negotiate'
2023/03/25 19:55:27.520 kid1| Startup: Initialized Authentication Scheme 'ntlm'
2023/03/25 19:55:27.520 kid1| Startup: Initialized Authentication.
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL ssl::certHasExpired
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL ssl::certNotYetValid
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL ssl::certDomainMismatch
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL ssl::certUntrusted
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL ssl::certSelfSigned
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL all
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL manager
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL localhost
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL to_localhost
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL CONNECT
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL follow_x_forwarded_for#1
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL authenticated_user
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#1
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !authenticated_user
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL localnet
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL SSL_ports
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL Safe_ports
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL SQUID-INTERNET-FULL_ACCESS
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL SQUID-INTERNET-STANDART
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL SQUID-INTERNET-EXTENDED
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL UNLIM-SPEED
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL monitored-HTTPS
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL 50-SPEED
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access#1
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access#2
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access#1
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access#2
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-http-always
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL blocked-http
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-https-always
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL blocked-https
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-http-extended
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-mac
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-mac-extended
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL step1
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-mac-full-access
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL allowed-https-extended
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL kerb_auth
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#2
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !Safe_ports
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#3
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !SSL_ports
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#4
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#5
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#6
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#7
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#8
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !blocked-http
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#9
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !blocked-http
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#10
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#11
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#12
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !blocked-http
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#13
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !blocked-http
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access#14
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (sslproxy_cert_sign signUntrusted line)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !blocked-https
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL !blocked-https
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rule)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (access_log daemon:/var/log/squid/access.log line)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL icap_retry#1
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (sslproxy_cert_sign signTrusted line)
2023/03/25 19:55:27.520 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (sslproxy_cert_sign signSelf line)
2023/03/25 19:55:27.521 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0x2cc7af8 follow_x_forwarded_for
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL follow_x_forwarded_for
2023/03/25 19:55:27.521 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0x2cca098 http_access
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL http_access
2023/03/25 19:55:27.521 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0x2cd40f8 (ssl_bump rules)
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL (ssl_bump rules)
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL sslproxy_cert_sign signUntrusted
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL sslproxy_cert_sign signSelf
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL sslproxy_cert_sign signTrusted
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL access_log daemon:/var/log/squid/access.log
2023/03/25 19:55:27.521 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0x2ccf818 delay_access
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access
2023/03/25 19:55:27.521 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0x2ccef18 delay_access
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL delay_access
2023/03/25 19:55:27.521 kid1| 28,3| Gadgets.cc(288) aclDestroyAccessList: destroying: 0x2cd99d8 icap_retry
2023/03/25 19:55:27.521 kid1| 28,3| Acl.cc(398) ~ACL: freeing ACL icap_retry
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'ssl::certHasExpired'
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'ssl::certNotYetValid'
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'ssl::certDomainMismatch'
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'ssl::certUntrusted'
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'ssl::certSelfSigned'
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'all'
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'manager'
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.522 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.522 kid1| 28,3| RegexData.cc(244) parse: buffering RE '^cache_object://'
2023/03/25 19:55:27.522 kid1| 28,3| RegexData.cc(244) parse: buffering RE '+i'
2023/03/25 19:55:27.522 kid1| 28,3| RegexData.cc(244) parse: buffering RE '^https?://[^/]+/squid-internal-mgr/'
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(175) compileOptimisedREs: adding RE '^cache_object://'
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(168) compileOptimisedREs: +i
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(124) compileRE: compiled '(^cache_object://)' with flags 11
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(175) compileOptimisedREs: adding RE '^https?://[^/]+/squid-internal-mgr/'
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(124) compileRE: compiled '(^https?://[^/]+/squid-internal-mgr/)' with flags 9
2023/03/25 19:55:27.522 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 2 REs are optimised into one RE.
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'localhost'
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(406) FactoryParse: aclIpParseIpData: Located host/IP: '[::1]'
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(413) FactoryParse: ::1 --> [::1]
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(399) FactoryParse: aclIpParseIpData: Duplicate host/IP: '[::1]' dropped.
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(399) FactoryParse: aclIpParseIpData: Duplicate host/IP: '[::1]' dropped.
2023/03/25 19:55:27.522 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'to_localhost'
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(406) FactoryParse: aclIpParseIpData: Located host/IP: '[::1]'
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(413) FactoryParse: ::1 --> [::1]
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(399) FactoryParse: aclIpParseIpData: Duplicate host/IP: '[::1]' dropped.
2023/03/25 19:55:27.522 kid1| 28,3| Ip.cc(399) FactoryParse: aclIpParseIpData: Duplicate host/IP: '[::1]' dropped.
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'authenticated_user'
2023/03/25 19:55:27.523 kid1| 28,2| UserData.cc(79) parse: parsing user list
2023/03/25 19:55:27.523 kid1| 28,3| UserData.cc(106) parse: Case-insensitive-switch is 0
2023/03/25 19:55:27.523 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL authenticated_user
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'localnet'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'localnet'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'localnet'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'SSL_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(241) ParseAclLine: aclParseAclLine: Appending to 'Safe_ports'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'CONNECT'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'SQUID-INTERNET-FULL_ACCESS'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'SQUID-INTERNET-STANDART'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'SQUID-INTERNET-EXTENDED'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'UNLIM-SPEED'
2023/03/25 19:55:27.523 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL '50-SPEED'
2023/03/25 19:55:27.523 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL UNLIM-SPEED
2023/03/25 19:55:27.523 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL 50-SPEED
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-http-always'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 0 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-http-always url_regex -i "/etc/squid/allowed-http-always.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'blocked-http'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE 'info\.cern\.ch'
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE 'cern\.ch'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(175) compileOptimisedREs: adding RE 'info\.cern\.ch'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(175) compileOptimisedREs: adding RE 'cern\.ch'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(124) compileRE: compiled '(info\.cern\.ch)|(cern\.ch)' with flags 11
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 2 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-http-extended'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 0 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-http-extended url_regex -i "/etc/squid/allowed-http-extended.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-https-always'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 0 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-https-always ssl::server_name_regex -i "/etc/squid/allowed-https-always.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'blocked-https'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE 'www\.mover\.uz'
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE 'mover\.uz'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(175) compileOptimisedREs: adding RE 'www\.mover\.uz'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(175) compileOptimisedREs: adding RE 'mover\.uz'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(124) compileRE: compiled '(www\.mover\.uz)|(mover\.uz)' with flags 11
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 2 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-https-extended'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 0 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-https-extended ssl::server_name_regex -i "/etc/squid/allowed-https-extended.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'monitored-HTTPS'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(235) parse: new Regex line or file
2023/03/25 19:55:27.524 kid1| 28,3| RegexData.cc(244) parse: buffering RE '-i'
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(157) compileOptimisedREs: -i
2023/03/25 19:55:27.524 kid1| 28,2| RegexData.cc(203) compileOptimisedREs: 0 REs are optimised into one RE.
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl monitored-HTTPS ssl::server_name_regex -i "/etc/squid/monitored-HTTPS.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-mac'
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-mac arp "/etc/squid/allowed-mac.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-mac-extended'
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-mac-extended arp "/etc/squid/allowed-mac-extended.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'allowed-mac-full-access'
2023/03/25 19:55:27.524 kid1| Warning: empty ACL: acl allowed-mac-full-access arp "/etc/squid/allowed-mac-full-access.txt"
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'step1'
2023/03/25 19:55:27.524 kid1| 28,3| Acl.cc(230) ParseAclLine: aclParseAclLine: Creating ACL 'kerb_auth'
2023/03/25 19:55:27.524 kid1| 28,2| UserData.cc(79) parse: parsing user list
2023/03/25 19:55:27.524 kid1| 28,3| UserData.cc(106) parse: Case-insensitive-switch is 0
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL Safe_ports
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL CONNECT
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL SSL_ports
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL manager
2023/03/25 19:55:27.524 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-http-always
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL SQUID-INTERNET-FULL_ACCESS
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL SQUID-INTERNET-EXTENDED
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-http-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL SQUID-INTERNET-EXTENDED
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL blocked-http
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL SQUID-INTERNET-STANDART
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL blocked-http
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-full-access
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-http-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL blocked-http
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL blocked-http
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL step1
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-full-access
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL monitored-HTTPS
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL monitored-HTTPS
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL monitored-HTTPS
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-https-always
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-full-access
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-https-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac-extended
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL blocked-https
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL allowed-mac
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL blocked-https
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL ssl::certUntrusted
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL ssl::certSelfSigned
2023/03/25 19:55:27.525 kid1| 28,3| InnerNode.cc(57) lineParse: looking for ACL all



Последнее исправление: dochy (всего исправлений: 2)

Вывод команды /usr/lib64/squid/ext_kerberos_ldap_group_acl -d -a -g 50-SPEED -D domain.ru -S dc1.domain.ru

kerberos_ldap_group.cc(305): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: INFO: Starting version 1.4.0sq
support_group.cc(382): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: INFO: Group list 50-SPEED
support_group.cc(447): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: INFO: Group 50-SPEED  Domain NULL
support_netbios.cc(83): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: DEBUG: Netbios list NULL
support_netbios.cc(87): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: DEBUG: No netbios names defined.
support_lserver.cc(82): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: DEBUG: ldap server list dc1.domain.ru
support_lserver.cc(146): pid=26101 :2023/03/25 20:37:26| kerberos_ldap_group: DEBUG: ldap server dc1.domain.ru
Domain NULL
DR0225
kerberos_ldap_group.cc(424): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: INFO: Got User: DR0225 set default domain: domain.ru
kerberos_ldap_group.cc(429): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: INFO: Got User: DR0225 Domain: domain.ru
support_member.cc(63): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: User domain loop: group@domain 50-SPEED@NULL
support_member.cc(91): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Default domain loop: group@domain 50-SPEED@NULL
support_member.cc(119): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Default group loop: group@domain 50-SPEED@NULL
support_member.cc(121): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Found group@domain 50-SPEED@NULL
support_ldap.cc(1007): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Setup Kerberos credential cache
support_krb5.cc(116): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Set credential cache to MEMORY:squid_ldap_domain.ru_26101
support_krb5.cc(63): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: ERROR: No default principal found in ccache : No credentials cache found
support_krb5.cc(248): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Get default keytab file name
support_krb5.cc(254): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Got default keytab file name /etc/squid/PROXY.keytab
support_krb5.cc(268): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Get principal name from keytab /etc/squid/PROXY.keytab
support_krb5.cc(279): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Keytab entry has realm name: domain.ru
support_krb5.cc(291): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Found principal name: HTTP/squid.domain.ru@domain.ru
support_krb5.cc(306): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Got principal name HTTP/squid.domain.ru@domain.ru
support_krb5.cc(370): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Stored credentials
support_ldap.cc(1048): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Initialise ldap connection
support_ldap.cc(1057): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Canonicalise ldap server name for domain domain.ru
support_resolv.cc(244): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Ldap server loop: lserver@domain dc1.domain.ru@NULL
support_resolv.cc(254): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Found lserver@domain dc1.domain.ru@NULL
support_resolv.cc(443): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Sorted ldap server names for domain domain.ru:
support_resolv.cc(445): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Host: dc1.domain.ru Port: -1 Priority: -2 Weight: -2
support_ldap.cc(1068): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Setting up connection to ldap server dc1.domain.ru:389
support_ldap.cc(1081): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Bind to ldap server with SASL/GSSAPI
support_ldap.cc(1100): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Successfully initialised connection to ldap server dc1.domain.ru:389
support_ldap.cc(316): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Search ldap server with bind path "" and filter: (objectclass=*)
support_ldap.cc(665): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Search ldap entries for attribute : schemaNamingContext
support_ldap.cc(719): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: 1 ldap entry found with attribute : schemaNamingContext
support_ldap.cc(327): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Search ldap server with bind path CN=Schema,CN=Configuration,DC=domain,DC=ru and filter: (ldapdisplayname=samaccountname)
support_ldap.cc(332): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Found 1 ldap entry
support_ldap.cc(341): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Determined ldap server as an Active Directory server
support_ldap.cc(1232): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Search ldap server with bind path dc=domain,dc=ru and filter : (samaccountname=DR0225)
support_ldap.cc(1247): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Found 1 ldap entry
support_ldap.cc(665): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Search ldap entries for attribute : memberof
support_ldap.cc(719): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: 4 ldap entries found with attribute : memberof
support_ldap.cc(1275): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 1 "SQUID-INTERNET-FULL_ACCESS" in hex UTF-8 is 53515549442d494e5445524e45542d46554c4c5f414343455353
support_ldap.cc(1291): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 1 "SQUID-INTERNET-FULL_ACCESS" does not match group name "50-SPEED"
support_ldap.cc(1275): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 2 "50-SPEED" in hex UTF-8 is 35302d5350454544
support_ldap.cc(1285): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 2 "50-SPEED" matches group name "50-SPEED"
support_ldap.cc(1275): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 3 "VPN_Users" in hex UTF-8 is 56504e5f5573657273
support_ldap.cc(1291): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 3 "VPN_Users" does not match group name "50-SPEED"
support_ldap.cc(1275): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 4 "Jizzax_Admins" in hex UTF-8 is 4a697a7a61785f41646d696e73
support_ldap.cc(1291): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Entry 4 "Jizzax_Admins" does not match group name "50-SPEED"
support_ldap.cc(1588): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: Unbind ldap server
support_member.cc(125): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: INFO: User DR0225 is member of group@domain 50-SPEED@NULL
OK
kerberos_ldap_group.cc(465): pid=26101 :2023/03/25 20:37:28| kerberos_ldap_group: DEBUG: OK
dochy
() автор топика
Ответ на: комментарий от dochy

у вас нет отказа неаутентицированным пользователям.

вот пример

auth_param negotiate program /usr/lib/squid/negotiate_kerberos_auth
-i -s GSS_C_NO_NAME -k /pathto/file.keytab -t none external_acl_type ALLOWED_VK ttl=300 negative_ttl=300 children-max=100 children-startup=50 cache=30 grace=15 ipv4 %LOGIN /usr/lib/squid/ext_kerberos_ldap_group_acl -a -g REAL_ADGROUP_VK@DC.LOCAL -D DC.LOCAL -S DCSERV.LOCAL

acl ldap_auth proxy_auth REQUIRED acl vk external ALLOWED_VK

acl vk dstdomain «/pathto/vk.sites»

http_access deny !ldap_auth … http_access allow vk … http_access deny all

usavich
()