Closed vince2bir closed 6 months ago
Okay, seems like a broken pipe issue. After any change that you make to any config file, whether its squid, dansguardian or gatesentry, you must restart all three of them to allow the changes to take effect. Otherwise you'll keep getting the everything blocked error.
service squid3 restart
service dansguardian restart
service gatesentry restart
I did it. Same result. Any ways to get more info in the logs ?
1465024727.899 5214 127.0.0.1 TCP_MISS/500 133282 GET http://google.fr/ - HIER_DIRECT/2a00:1450:4007:80c::2003 text/html
1465024738.131 5181 127.0.0.1 TCP_MISS/500 133282 GET http://google.com/ - HIER_DIRECT/2a00:1450:4007:80c::200e text/html
1465024775.533 5525 127.0.0.1 TCP_MISS/500 133282 GET http://yahoo.com/ - HIER_DIRECT/2001:4998:c:a06::2:4008 text/html
1465024777.193 293 127.0.0.1 TCP_MISS/500 133282 GET http://yahoo.com/favicon.ico - HIER_DIRECT/2001:4998:c:a06::2:4008 text/html
1465024778.733 293 127.0.0.1 TCP_MISS/500 133282 GET http://yahoo.com/favicon.ico - HIER_DIRECT/2001:4998:c:a06::2:4008 text/html
Hmmm...weird. Can you list any changes that you made to the default GS image (any config files/software installed)?
I created a cache directory
then modified the /etc/fstab
tmpfs /cache tmpfs defaults,noatime,nosuid,size=500m 0 0
the /etc/squid3/squid.conf to activate the cache (commenting other statements)
cache_dir ufs /cache 400 16 256
and then
service squid3 stop
squid3 -z
service squid3 start
I have reverted and removing everything back to original (I think), restarted, rebooting, etc...
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
I wanted to modify the squid.conf file (to add tmpfs cache). This did not work out too well, everything being blocked thereafter. Then I reverted to the previous configuration file and restarted but GateSentry keeps blocking all traffic. (I've put the original config file https://gist.github.com/fifthsegment/79fb356bf4cbf90253104388d504ee43 )
/var/log/squid3/access.log gives me little information on what is happening :