View previous topic :: View next topic |
Author |
Message |
rootsxploit n00b
Joined: 11 May 2005 Posts: 2
|
Posted: Wed May 11, 2005 5:03 pm Post subject: distributed squid |
|
|
I have set up a master squid proxy, which is barely used. At each remote location I have "secondary proxies". I want to have the secondary proxies pull a list (config file) from the master, so I don't have to manually update every single secondary proxy. The only was I could think of is to write a shell script to scp the configuration file. But this would be messy unless I could figure out how to include external files (i.e. a whitelist of sites and a blacklist of sites) then just send those, because I don't want to change the rest of the settings in the squid.conf file. Has anyone been able to include another file in squid.conf or do this another way? |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed May 11, 2005 7:41 pm Post subject: |
|
|
Hi,
in squid.conf
Code: | acl whitelist dstdomain "/etc/squid/allowed-sites"
acl blacklist dstdomain "/etc/squid/blocked-sites"
http_access allow whitelist
http_access deny blacklist |
to activate the new acls
Code: | squid -k reconfigure |
should do the trick.
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
|