Lee_K_81 Posted October 19, 2007 Posted October 19, 2007 I am currently playing with dansguardian (free edition). I have managed to configure tinyProxy but if i plan to use dansguardian with more than a couple of users i'm told squid would be best. As our internet has to go through our council filter i need to set the upstream proxy. I could find the option in tinyproxy but not squid. Anyone have a clue? Using Ubuntu. Sorry if none of this made sense. It's been a bad week.
Geoff Posted October 19, 2007 Posted October 19, 2007 cache_peer proxy.lea.ac.uk parent 8080 0 no-query no-digest default
apeo Posted October 19, 2007 Posted October 19, 2007 It confused me silly too.. to me a while to figure it out.. you want: cache_peer upstream.proxy.org parent 80 7 default no-query Something like that but obviously changed to match your settings. EDIT: Ratz.. Geoff beat me to it
DMcCoy Posted October 19, 2007 Posted October 19, 2007 This is also helpful never_direct allow all this forces all requests through the proxy first, otherwise it tries direct then falls back to the proxy connection. 1
Lee_K_81 Posted October 19, 2007 Author Posted October 19, 2007 Thanks everyone: parent. D'oh. No wonder i couldnt find it. It's upstream in tinyproxy so thats what i was looking for.
ind1ekid Posted December 16, 2008 Posted December 16, 2008 This is also helpful never_direct allow all this forces all requests through the proxy first, otherwise it tries direct then falls back to the proxy connection. This worked a dream Just been having a few issues setting squid up behind an embc proxy! thanks!
tom_newton Posted December 16, 2008 Posted December 16, 2008 FWIW I am told tinyproxy works fine even with many users.
soapyfish Posted December 16, 2008 Posted December 16, 2008 Yes Squid Is best and I understand that FreeBSD is the best OS to host it on due to the way it handles the disk cache ....I cannot rember the exact reasons. There was a good section in the back of the squid book by O'Reily ISBN0-596-00162-2.
ind1ekid Posted December 17, 2008 Posted December 17, 2008 Yes Squid Is best and I understand that FreeBSD is the best OS to host it on due to the way it handles the disk cache ....I cannot rember the exact reasons. There was a good section in the back of the squid book by O'Reily ISBN0-596-00162-2. The O'Reilly book is turning out to be pretty handy!
ind1ekid Posted January 20, 2009 Posted January 20, 2009 I have squid 2.6stable18 running on Ubuntu Server 8.04, however, when I have the following line active for the NTLM auth, squid takes up to 30 seconds to stop. auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp Very annoying, as with it commented out squid will restart instantaneously! Anyone have any ideas why it would be doing this? Thanks!
ahuxham Posted January 20, 2009 Posted January 20, 2009 I have squid 2.6stable18 running on Ubuntu Server 8.04, however, when I have the following line active for the NTLM auth, squid takes up to 30 seconds to stop. auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp Very annoying, as with it commented out squid will restart instantaneously! Anyone have any ideas why it would be doing this? Thanks! How many children processes is ntlmssp running, don't forget when you restart squid, you close all child processes, and this can take some time. I'm personally using 50 child processes, and squid can take anything from 30-60seconds to shutdown, but thats no hardship, it starts instantly. Just reduce number of child processes, or specify how many run.
ind1ekid Posted January 20, 2009 Posted January 20, 2009 Im still in testing phase, so its only been used by myself atm. So the child processes are still at the default of 5. Even using 1 child process it takes the same amount of time to stop.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now