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

    Squid3-dev mitm configuration

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.7k Views
    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.
    • I
      iodaddio
      last edited by

      I got marcelloc's squid3-dev package working….wooohooo.  Now I have questions.

      So if you have http/https going through squid3 proxy, I have transparent for both and mitm.  Then how does dansguardian check traffic?  It seems that once squid3 breaks into http/https it would need to send the hacked traffic to then be scanned by dansguardian...  not sure how that works.  sorry, proxy setups still mystify me.

      I ask because my assumption is that if I make 2 nat rules to send traffic to dansguardian. it would then be responsible for mitm, is that correct?  I think that would be setup like this: 
      client->fireNAT->dansguardian->squid3->internet. 
      I think I want:
      client->transparent http/s squid->dansguardian->Havp->internet. 
      wont that all have to happen somehow within some squid integration?  My understanding is that when squid does mitm, it handles both sides communication, so it can't really hand off hacked stuff...can it?

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        @iodaddio:

        So if you have http/https going through squid3 proxy, I have transparent for both and mitm.  Then how does dansguardian check traffic?  It seems that once squid3 breaks into http/https it would need to send the hacked traffic to then be scanned by dansguardian…  not sure how that works.  sorry, proxy setups still mystify me.

        It will not, only icap/redirector calls will work as it's a ssl connection.
        Try squidguard or enable mitm on dansguardian(alpha code for mitm)

        @iodaddio:

        I ask because my assumption is that if I make 2 nat rules to send traffic to dansguardian. it would then be responsible for mitm, is that correct?  I think that would be setup like this:

        No need to do nat rules while using squid3-dev(The package will do that for you).

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.