Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dansguardian + Squid Bad gateway

    pfSense Packages
    1
    1
    1926
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LokisMischief
      last edited by

      Hi All,

      I have an issue with Dansguardian + squid, but it only appears to be for one site…

      When attempting to access http://www.sportsdirect.com I get the following error when going through the proxy (Dans port 8080)

      Read Error
      The system returned: (54) Connection reset by peer
      

      However if i connect via squid using port 3128, the page loads.

      I am using NTLM for user authentication which is working fine for all other sites (http://forum.pfsense.org/index.php/topic,58700.0.html).

      If you jump into the squid access.log there are a lot of TCP_DENIED/407 entries each associated with no username, and a few TCP_MISS/502's which have the username associated with them. so at a guess that's 2 407's as ntlm is authenticating then a miss as its done. That doesnt however explain the 502's which AFAIK is bad gateway? Intriguingly it seems this website is a vhost as the reverse dns resolves to virgin media.

      Just run through a wireshark of the requests/responses, I am getting NTLM auth responses to the proxy, until it responds with bad gateway.

      Anyone have any ideas?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post