[squid-users] Change are not taking

Dijxie dijxie at gmail.com
Fri May 19 17:38:48 UTC 2017


W dniu 19.05.2017 o 19:13, Patrick Flaherty pisze:
>
> Hi,
>
> I am making changes to my squid.conf, yet they don’t seem to take. Is 
> there something I’m missing? Any help appreciated
>
> # Squid Proxy Configuration
>
> # Network(s) where proxy traffic is originating
>
> # acl localnet src 10.0.0.0/8          # RFC1918 possible internal network
>
> # acl localnet src 172.16.0.0/12   # RFC1918 possible internal network
>
> # acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
>
> acl localnet src all
>
> # acl and http_access ("rmsc.txt")
>
> acl whitelist dstdomain "c:/squid/etc/squid/rmsc.txt"
>
> http_access        allow     whitelist
>
> acl http      proto      http
>
> acl https     proto      https
>
> acl SSL_ports port 443
>
> acl Safe_ports port 80                    # http
>
> acl Safe_ports port 443                  # https
>
> acl CONNECT method CONNECT
>
> # rules allowing proxy access
>
> http_access allow http  Safe_ports whitelist localnet
>
> http_access allow https SSL_ports whitelist localnet
>
> # Deny requests to certain unsafe ports
>
> http_access deny !Safe_ports
>
> # Deny CONNECT to other than secure SSL ports
>
> http_access deny CONNECT !SSL_ports
>
> # Lastly deny all other access to this proxy
>
> http_access deny all
>
> # Listens to port 3128
>
> http_port 3128
>
> # DNS servers (Change dns_nameservers to client dns servers for 
> consistency and better performance)
>
> dns_nameservers 8.8.8.8 8.8.4.4
>
> # Roll log file daily and keep 30 days
>
> logfile_rotate 30
>
> # Access log format
>
> logformat squid %tl %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt
>
> # Debug (Only used by Rave Service Personnel)
>
> # debug_options             ALL,2
>
> # Use IPv4 based DNS first
>
> dns_v4_first on
>
> # Log definitions
>
> access_log stdio:c:/Squid/var/log/squid/access.log
>
> cache_store_log stdio:c:/Squid/var/log/squid/store.log
>
> buffered_logs on
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

But what changes are you making?
Are you aware that you must reapply squid.conf after changing it by 
restarting or reloading? At linux, it's squid -k reconfigure; dunno how 
to do that on Windows, the same way i guess...

-- 
Greets, Dijx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170519/275e189b/attachment.html>


More information about the squid-users mailing list