{"id":65,"date":"2014-05-25T01:06:18","date_gmt":"2014-05-25T00:06:18","guid":{"rendered":"http:\/\/eggblog.invertedegg.com\/?p=65"},"modified":"2014-05-25T01:06:18","modified_gmt":"2014-05-25T00:06:18","slug":"squid3-proxy-problems-on-ubuntu-linux-to-yahoo-google-facebook-youtube-and-so-on","status":"publish","type":"post","link":"http:\/\/eggblog.invertedegg.com\/?p=65","title":{"rendered":"Squid3 Proxy Problems on Ubuntu Linux to Yahoo, Google, Facebook, YouTube and so on"},"content":{"rendered":"<p>I set up a Squid3 (Squid) proxy as part of my DansGuardian setup on Ubuntu to filter the kids&#8217; web traffic. \u00c2\u00a0Overall, the proxy worked fine &#8230; but I was getting strange connection failures to some of the largest web properties, such as Yahoo, Google, YouTube and Facebook, whereas all smaller properties worked just fine.<\/p>\n<p>The general error I was receiving was &#8220;The system returned: (110) Connection timed out&#8221;.<\/p>\n<p>It turned out the problem was that Squid was using IPv6 to access any site that returned a legitimate IPv6 address. \u00c2\u00a0As my system wasn&#8217;t properly configured for IPv6, the request was failing.<\/p>\n<p>The right answer, of course, is to get on board and configure properly for IPv6. \u00c2\u00a0It&#8217;s the future, it&#8217;s faster, etc.<\/p>\n<p>The short answer is to add to your squid.conf file: \u00c2\u00a0dns_v4_first on<\/p>\n<p>This will force Squid to check for a valid IPv4 DNS entry, and use that. \u00c2\u00a0fixed a day-long problem for me like &#8230; snap!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I set up a Squid3 (Squid) proxy as part of my DansGuardian setup on Ubuntu to filter the kids&#8217; web traffic. \u00c2\u00a0Overall, the proxy worked fine &#8230; but I was getting strange connection failures to some of the largest web properties, such as Yahoo, Google, YouTube and Facebook, whereas all smaller properties worked just fine. &hellip; <a href=\"http:\/\/eggblog.invertedegg.com\/?p=65\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Squid3 Proxy Problems on Ubuntu Linux to Yahoo, Google, Facebook, YouTube and so on&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts\/65"}],"collection":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":1,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":66,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions\/66"}],"wp:attachment":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}