Andrew, > I have compile squid for the Mac OSX 10.6.4 and is working with no issue > with reguards too squid.conf setting , I run Privoxy --> Squid --> > tor=internet but when I look at the cache.log it is filling up with errors. > This seem too have happened on on the openbsd some time ago and never found > a solution. Is there a solution to this error ? > > Here is some of the sample errors > > > 2010/08/14 03:31:50| comm_set_tos: setsockopt(IP_TOS) on FD 23: (22) Invalid > argument > 2010/08/14 03:31:50| comm_set_tos: setsockopt(IP_TOS) on FD 22: (22) Invalid > argument
Are you actually using the QOS functionality? If not, recompile without it (don't add --enable-zph-qos). If you are, then I saw this error when I was doing some recent development work. I think in my case it was caused by passing setsockopt invalid values. Do you have a valid value set for qos_flows in squid.conf? I'm currently rewriting a lot of the QOS functionality. If you are brave and otherwise having no luck, maybe you would like to try my latest patch. There's a recent copy in the squid-dev archives, although you will have to patch against a very recent version of the main code: http://www.squid-cache.org/mail-archive/squid-dev/201008/att-0101/netfilter-qos-20100811.patch Regards, Andy