On 9/05/2013 7:14 p.m., joel123 wrote:
As it turned out, squid was getting back an IPv6 address for most sites.
Squid's returned error page displayed an IPv6 address clued me in.
Interestingly, a few sites worked since the IPv4 addresses were returned for
them. yahoo.com was returning IPv6, but ebay.com didn't. CentOS has IPv6
enabled by default as it seems, but since I never considered it I never did
anything about it so my IPv6 setup is non existent and broken.
Not sure why only squid got back IPv6 addresses while other programs didn't.
I'm sure its not the only one doing so. Just the one you noticed.
As my friend Nathan is famous for writing "Wecome to your IPv6 network,
whether you know it or not."
Anyway I went and disabled IPv6 in CentOS in every way I know, and finally
Squid is working on my NATed NICs without the tcp_outgoing_address config.
So the real answer then is that you need to setup routing for IPv6 to
match your policy :-)
Amos