Thought that my squid proxy might be out of date so I did the usual portsnap and noticed there was squid30. It’s not done, but I compiled it anyway to see what’s up.
First impression - all the same as before, except now I’m getting an odd ‘Invalid URL’ error whenever I try to browse. Seems like it’s cutting the domain name off the beginning of the URL it’s trying to fetch.
So eh, I’m confused. I did notice that http_port needs the ‘transparent’ option on that line, it’s there and still no luck. But it work when I set the proxy address manually in the browsers! That’s a start!
After messing about some more, going away, coming back, recompiling a couple of times, it was figured out.
It turns out, if you want to use Squid3 and PF transparently, you have to also compile in support for IPFW transparent proxying (something to do with getsocketname() retuning the original destination).
July 4th, 2008 at 9:46 pm
You are a live saver, I would never figured it out and now it works perfectly
August 20th, 2008 at 1:37 pm
You saved me to