Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distributed squid
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rootsxploit
n00b
n00b


Joined: 11 May 2005
Posts: 2

PostPosted: Wed May 11, 2005 5:03 pm    Post subject: distributed squid Reply with quote

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
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed May 11, 2005 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum