Re: Setting Squid options

2010-10-17 Thread Haravikk
Hmm, tcpdump doesn't give me any useful information (well, it doesn't detect any packets at all that I can see when looking for any on port 3128), however in console I've noticed that natd is giving a ton of failed to write packet back (Permission denied) errors. All I can find about the error

Re: Setting Squid options

2010-10-16 Thread Ben Greenfield
On Oct 16, 2010, at 7:31 AM, Haravikk wrote: Hey there! Recently set up Squid using MacPorts, because I have a general aversion to building things myself, so MacPorts is naturally the best option =) Anyway, I've installed Squid 2.7, as I was having some trouble with Squid 3, and it's

Re: Setting Squid options

2010-10-16 Thread Haravikk
I'm referring to a command-line option/flag (-D); as far as I've been able to find out there is no configuration directive that corresponds to it, which is a bit annoying, otherwise this'd be nice and easy =) On 16 Oct 2010, at 12:44, Ben Greenfield wrote: On Oct 16, 2010, at 7:31 AM,

Re: Setting Squid options

2010-10-16 Thread Ryan Schmidt
On Oct 16, 2010, at 06:31, Haravikk wrote: Now, Squid has an option to disable this test (-D), however I'm unsure where would be safe to put this? It looks to me like /opt/local/etc/LaunchDaemons/org.macports.Squid/Squid.wrapper is the correct place, but I'm wondering if this is likely to

Re: Setting Squid options

2010-10-16 Thread Jean-Francois Gobin
I have not tested this, but using the statement dns_testnames, you could specify something you're sure your DNS will automatically resolve, such as something in your domain. http://www.squid-cache.org/Doc/config/dns_testnames/ On Sat, 2010-10-16 at 08:37 -0500, Ryan Schmidt wrote: On Oct

Re: Setting Squid options

2010-10-16 Thread Haravikk
Aha! The following seems to work just great: dns_testnames localhost Trickery is always the answer! Thanks for all the replies! On 16 Oct 2010, at 14:48, Jean-Francois Gobin wrote: I have not tested this, but using the statement dns_testnames, you could specify something you're sure your DNS

Re: Setting Squid options

2010-10-16 Thread Haravikk
Hmm, now that it doesn't quit on start-up, it seems to hang instead. Don't suppose anyone would know why Squid would become unresponsive when started automatically with the launchd profile rather than when started manually (unloading then loading the launchd file)? It's not crashed or frozen

Re: Setting Squid options

2010-10-16 Thread Jean-Francois Gobin
If you tcpdump on the machine when trying, what do you see? Anything in the logs? On Sat, 2010-10-16 at 16:40 +0100, Haravikk wrote: Hmm, now that it doesn't quit on start-up, it seems to hang instead. Don't suppose anyone would know why Squid would become unresponsive when started