Jump to content

Recommended Posts

Posted

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.

Posted

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 :lol:

Posted

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.

  • Thanks 1
  • 1 year later...
Posted
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!

Posted
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.
Posted
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!

  • 1 month later...
Posted

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? :confused:

 

Thanks!

Posted
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? :confused:

 

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.

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...