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

Squid HTTPS Transparent proxy with Splice All + SquidGuard Blacklist (No client certificate): Cannot send snapchat messages. No block messages seen in SquidGuard log.

Scheduled Pinned Locked Moved Cache/Proxy
11 Posts 6 Posters 1.4k 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.
  • S
    sultanofswing
    last edited by Sep 25, 2020, 12:48 AM

    I had to whitelist my son's iphone because he cannot send snapchat messages with the above config.

    However i dont see any blocked messages on squidguard logs (I tried with my own iphone too).

    How do i check what is blocking snapchat? and if there are any specific domains/IPs that i need to add to whitelist?

    1 Reply Last reply Reply Quote 0
    • B
      bole5
      last edited by Aug 10, 2023, 11:33 AM

      I am experiencing the same problems. Some applications such as tiktok or snapchat simply do not work with Squid+Squidguard where Squid is set up to Splice All.

      Anyone has an advice on how to troubleshoot/fix this issue?

      P 1 Reply Last reply Aug 12, 2023, 3:05 PM Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance
        last edited by Aug 10, 2023, 12:15 PM

        The issue is that you are working with squid in transparent. Its known to cause lots of problems. Its best to be avoided.
        For the best/optimal use case its best to load a certificate on the client device and perform full MITM.
        Thats of course unrealistic on mobile devices so you are left with either running an explict proxy or no proxy.
        The best advice is to not use squid at all tbh.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        B 1 Reply Last reply Aug 10, 2023, 12:47 PM Reply Quote 0
        • B
          bole5 @michmoor
          last edited by Aug 10, 2023, 12:47 PM

          @michmoor Thank you very much for the advice. Pity that squid/squidguard cannot be used in the transparent mode. Hope that netgate guys would make it easier for parents to effectively block malicious sites... Even with explicit proxy settings on client mobile devices, some websites and services (ie snapchat) simply refuse to work.

          M A 2 Replies Last reply Aug 10, 2023, 12:57 PM Reply Quote 0
          • M
            michmoor LAYER 8 Rebel Alliance @bole5
            last edited by Aug 10, 2023, 12:57 PM

            @bole5 the problem isn’t something that Netgate can solve. Squid is just an extremely poor tool to use in 2023 to do any type of control. Domain blocking is effective and highly recommended. Pfblocker can be used in this case.

            To your Snapchat issue it’s probable that the application is calling out to multiple domains which may use cert pinning or other methods to prevent proxies. So you will be in a constant battle of whitelisting domains.
            Avoid Squid at all cost.

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

            1 Reply Last reply Reply Quote 0
            • A
              aGeekhere @bole5
              last edited by aGeekhere Aug 10, 2023, 11:36 PM Aug 10, 2023, 11:36 PM

              @bole5 Configure the phone to use the proxy instead of relying on the transparent proxy. You can either do is manually for each device or you can use a WPAD to auto configure devices to use the proxy.
              So to summarize
              1 Set device to use the proxy either manually or using a WPAD ( if you want you can use the unofficial WPAD package https://github.com/marcelloc/Unofficial-pfSense-packages)
              2 Still have the transparent proxy enabled to proxy traffic that cannot be configured to use the proxy.
              3. If you are using MITM only decrypt (bump) sites which you need to or else a lot of things break.

              Never Fear, A Geek is Here!

              M 1 Reply Last reply Aug 11, 2023, 3:14 AM Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @aGeekhere
                last edited by Aug 11, 2023, 3:14 AM

                @aGeekhere Guaranteed he is running into NONE/409 errors in the Squidlog. That really comes about when using it as a transparent proxy.

                Its really not worth the headache. "Juice not worth the squeeze"

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

                1 Reply Last reply Reply Quote 0
                • P
                  periko @bole5
                  last edited by Aug 12, 2023, 3:05 PM

                  @bole5 bypass those domains...

                  Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                  www.bajaopensolutions.com
                  https://www.facebook.com/BajaOpenSolutions
                  Quieres aprender PfSense, visita mi canal de youtube:
                  https://www.youtube.com/c/PedroMorenoBOS

                  J 1 Reply Last reply Aug 13, 2023, 4:58 AM Reply Quote 0
                  • J
                    JonathanLee @periko
                    last edited by JonathanLee Aug 13, 2023, 9:17 PM Aug 13, 2023, 4:58 AM

                    @sultanofswing sultanofswing what ports are needed for that application? You may need to add that as an approved port for Squid too not just the ACL lists.

                    Screenshot 2023-08-13 at 12.47.05 PM.png

                    Screenshot 2023-08-13 at 12.46.35 PM.png
                    (Custom)

                    Have you tried custom and setting the snapchat to splice only?

                    Screenshot 2023-08-13 at 12.40.42 PM.png
                    (SSL Intercept set to custom)

                    Screenshot 2023-08-13 at 12.42.02 PM.png
                    (Example with regex expression with office set to splice only)

                    I personally would set snapchat to splice and leave it alone.

                    Make sure to upvote

                    P 1 Reply Last reply Aug 13, 2023, 9:10 PM Reply Quote 0
                    • B
                      bole5
                      last edited by Aug 13, 2023, 5:17 PM

                      Thank you all for the advice!

                      More info about my system:

                      • Running on the latest version of pfSense+ with latest version of Squid+SquidGuard.
                      • I have a separate VLAN for Kids where Squid is being used. WPAD file is served by nginx and children devices are set up to auto-discover proxies.
                      • Squid setup: Proxy interface.= KIDS, Transparent Proxy=OFF, SSL/MITM mode=Splice All
                      • In the SQUID ACLs I whitelisted offending domains (should not be needed but I was desperate)

                      I then monitor the traffic from my daughter's phone with Wireshark. When proxy is not used everything works fine. When proxy is used I can see some connections in the Real Time tab but also some TLS connections (TCP port 443) are bypassing proxy.
                      Even when I allow this traffic that bypasses proxy, the application still does not work correctly ie you can see other peoples posts but can not post yourself.

                      1 Reply Last reply Reply Quote 0
                      • P
                        periko @JonathanLee
                        last edited by Aug 13, 2023, 9:10 PM

                        @JonathanLee This post is not mine :-).

                        Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                        www.bajaopensolutions.com
                        https://www.facebook.com/BajaOpenSolutions
                        Quieres aprender PfSense, visita mi canal de youtube:
                        https://www.youtube.com/c/PedroMorenoBOS

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received