weird connection 2404:6800:4004:803::100e looked like an ipv6 address. and it is. i read in a thread about this and that this issue is solved in higher version of squid. but i'm having trouble setting up the new squid because i couldn't find its start up script! hahaha
solution? i disabled my box's ipv6 for now. i don't have ipv6 connectivity anyway.
to disable ipv6 on centos, add this to your
/etc/sysctl.conf
:
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
(src. http://wiki.centos.org/FAQ/CentOS6#head-d47139912868bcb9d754441ecb6a8a10d41781df)
found out that forcing your squid to use ipv4 works too. add this to your
squid.conf
:tcp_outgoing_address <public ipv4 ip>
(src. http://dev-tricks.net/squid-101-network-is-unreachable-when-dns-returns-ipv6)
No comments:
Post a Comment