maoflaric
(usa CentOS)
Enviado em 03/10/2024 - 16:55h
Buckminster escreveu:
Pode tirar essa linha:
IPTABLES -A OUTPUT -o $LOOPBACK -j ACCEPT
out 03 14:46:22 fw squid[1933]: 2024/10/03 14:46:22| Warning: empty ACL: acl SitesPermitidos url_regex -i "/etc/squid/SitesPermitidos"
Aí está dizendo que as ACLs estão vazias, provavelmente tem nada dentro dos arquivos ou a sintaxe está errada.
out 03 14:46:22 fw (squid-1)[1936]: FATAL: mimeLoadIcon: cannot parse internal URL: http://fw:0/squid-internal-static/icons/silk/image.png
out 03 14:46:22 fw squid[1933]: Squid Parent: squid-1 process 1936 exited with status 1
Esse erro aí em cima é da porta, estranho.
Testa assim no Squid:
http_port 172.17.10.1:3128 intercept
e depois
http_port 172.17.10.1:3129 intercept
Comenta a linha com 127.0.0.1, deixa só uma com intercept.
O Iptables desfaça as alterações e deixa tuas configurações.
Reinicie os dois e teste.
Caso persistir o erro, execute:
# squid -NCd1
E posta a saída aqui.
Segue exemplo tirado do squid-cache:
iptables -t nat -A OUTPUT --match owner --uid-owner squid -p tcp --dport 80 -j ACCEPT
iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination SQUIDIP:3129
http_port 3129 intercept
https://wiki.squid-cache.org/ConfigExamples/Intercept/AtSource">
https://wiki.squid-cache.org/ConfigExamples/Intercept/AtSource
https://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect">
https://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect
https://wiki.squid-cache.org/ConfigExamples/
Os links estão indo quebrados, é problema no VOL.
_________________________________________________________
Always listen the Buck!
Enquanto o cursor estiver pulsando, há vida!
2024/10/03 16:54:55| Warning: empty ACL: acl SitesPermitidos url_regex -i "/etc/squid/SitesPermitidos"
2024/10/03 16:54:55| Warning: empty ACL: acl SitesBloqueados url_regex -i "/etc/squid/SitesBloqueados"
2024/10/03 16:54:55| Warning: empty ACL: acl SitesImproprios url_regex -i "/etc/squid/SitesImproprios"
2024/10/03 16:54:55| Current Directory is /root
2024/10/03 16:54:55| Starting Squid Cache version 5.5 for x86_64-redhat-linux-gnu...
2024/10/03 16:54:55| Service Name: squid
2024/10/03 16:54:55| Process ID 1832
2024/10/03 16:54:55| Process Roles: master worker
2024/10/03 16:54:55| With 1024 file descriptors available
2024/10/03 16:54:55| Initializing IP Cache...
2024/10/03 16:54:55| DNS Socket created at [::], FD 8
2024/10/03 16:54:55| DNS Socket created at 0.0.0.0, FD 9
2024/10/03 16:54:55| Adding nameserver 192.166.254.60 from squid.conf
2024/10/03 16:54:55| Adding nameserver 192.166.254.70 from squid.conf
2024/10/03 16:54:55| Logfile: opening log /var/log/squid/access.log
2024/10/03 16:54:55| WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log'
2024/10/03 16:54:55| Unlinkd pipe opened on FD 14
2024/10/03 16:54:55| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2024/10/03 16:54:55| Store logging disabled
2024/10/03 16:54:55| Swap maxSize 2097152 + 2097152 KB, estimated 322638 objects
2024/10/03 16:54:55| Target number of buckets: 16131
2024/10/03 16:54:55| Using 16384 Store buckets
2024/10/03 16:54:55| Max Mem size: 2097152 KB
2024/10/03 16:54:55| Max Swap size: 2097152 KB
2024/10/03 16:54:55| Rebuilding storage in /var/spool/squid (dirty log)
2024/10/03 16:54:55| Using Least Load store dir selection
2024/10/03 16:54:55| Current Directory is /root
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| ERROR: No forward-proxy ports configured.
2024/10/03 16:54:55| Not currently OK to rewrite swap log.
2024/10/03 16:54:55| storeDirWriteCleanLogs: Operation aborted.
2024/10/03 16:54:55| FATAL: mimeLoadIcon: cannot parse internal URL: http://fw:0/squid-internal-static/icons/silk/image.png
2024/10/03 16:54:55| Squid Cache (Version 5.5): Terminated abnormally.
2024/10/03 16:54:55| Removing PID file (/run/squid.pid)