Ticket #1494 (closed task: invalid)
Block sites using Squid (Proxy)
| Reported by: | MoscheIT | Owned by: | javier.amor.garcia@… |
|---|---|---|---|
| Milestone: | 1.2.10-maint | Component: | squid |
| Severity: | critical | Keywords: | |
| Cc: |
Description
Hi I have install ebox 1.2 form donwload CD,and execute the normal upgrade but squid Cache exemptions don't work
I add my domain in list of "Exempt domain from caching" I try to add whit www , no subdomain , no extension but squid continue cacheing it
Attachments
Change History
comment:2 Changed 4 years ago by anonymous
I add new change in /usr/share/ebox/stubs/squid/squid.conf.mas accordind to squid man page
acl noCached dstdomain .<% $domain %>
add .(dot) before domain name operation not permit from eBox interface
comment:5 Changed 4 years ago by javier.amor.garcia@…
You must put the entire subdomain, it does not catch subdomains.
BTW, the always_direct entries are cached see -> http://www.squid-cache.org/Versions/v2/2.6/cfgman/always_direct.html
If you want to see if something is cached to the disk open /var/log/squid/store.log and look for SWAPOUT lines
comment:6 Changed 4 years ago by javier.amor.garcia@…
Maybe it would be a good idea to put a regular expression in the config file to catch automatically subdomains?. What do you think?
comment:7 Changed 4 years ago by MoscheIT
I have just upgrade ebox, I see some change in /usr/share/ebox/stubs/squid/squid.conf.mas
great great job thanks
I used always_direct becose on some site when I using the html form to upload text squid intercet it and block it; sorry but I can't save a log file analyze it ( I have only production machine).
Is very good idea use regular expression direct in config file to catch automatically subdomains.
thanks
comment:8 Changed 4 years ago by juruen@…
- Status changed from assigned to closed
- Resolution set to fixed
comment:9 Changed 3 years ago by manojj2533@…
- Status changed from closed to reopened
- Type changed from defect to task
- Resolution fixed deleted
- Summary changed from proxy-module [squid] - Cache exemptions - don't work to Block sites using Squid (Proxy)
Hi, I am new to ebox. I have installed ebox 1.2 version in my organization.. how to block the sites in squid (proxy) by using the ebox web administration interface of ebox.. Pl guide me..
comment:10 Changed 3 years ago by jacalvo@…
- Status changed from reopened to closed
- Resolution set to invalid
eBox 1.2 is no longer supported, the current stable version is Zentyal 2.0. Anyway, you should can these questions at http://forum.zentyal.org
for the moment I resolve in thys way:
modify /usr/share/ebox/stubs/squid/squid.conf.mas
comment cache deny noCached add always_direct allow noCached
[www.ferzip.com] www.ferzip.com