Navigation

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

    Youtube content getting filtered on Squid

    Cache/Proxy
    3
    22
    933
    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.
    • T
      themaharshpatel LAYER 8 last edited by

      So can you trying this fix?

      /usr/local/pkg/squid_nac.xml you need to edit this file.

      and change this

      <fieldname>youtube_restrict</fieldname>
      <type>select</type>
      <options>
      <option><name>None</name><value>none</value></option>
      <option><name>Moderate</name><value>moderate</value></option>
      <option><name>Strict</name><value>strict</value></option>
      </options>
      

      to this

      <fieldname>youtube_restrict</fieldname>
      <type>select</type>
      <options>
      <option><name>None</name><value></value></option>
      <option><name>Moderate</name><value>moderate</value></option>
      <option><name>Strict</name><value>strict</value></option>
      </options>
      

      and restart your squid. If works than do let me know. I will open an issue on Redmine.

      JonathanLee M 2 Replies Last reply Reply Quote 2
      • JonathanLee
        JonathanLee @themaharshpatel last edited by

        @themaharshpatel thanks I will test soon.

        T 1 Reply Last reply Reply Quote 0
        • T
          themaharshpatel LAYER 8 @JonathanLee last edited by

          @jonathanlee Have you tested?

          JonathanLee 1 Reply Last reply Reply Quote 0
          • M
            michmoor @themaharshpatel last edited by

            @themaharshpatel when i did implement Squid this was the reason i uninstalled the package. 'Restricted' under every youtube video. It was weird. Considered it a bug as i had safesearch disabled.
            This is a great find if it works. Should be added to the documentation.
            If its confirmed that it works, i will open a redmine for you if you havent done so already.

            Firewall: NetGate 6100/7100U, Palo Alto
            Routing: Juniper MX204 , Arista 7050X3
            Switching: Juniper EX/QFX. Arista 7050SX
            Wireless: Unifi, Aruba IAP

            T 1 Reply Last reply Reply Quote 1
            • T
              themaharshpatel LAYER 8 @michmoor last edited by

              @michmoor It is working perfectly for me with this fix. I am just waiting for some confirmation before opening the issue on Redmine. I have already opened a PR on Github check out. As you were also facing it, I will go ahead and file the issue over there.

              M 1 Reply Last reply Reply Quote 1
              • M
                michmoor @themaharshpatel last edited by

                @themaharshpatel thanks for this. albeit i am confused. if the header 'none' is being added why is that interpreted as restrictions being turned on?

                Firewall: NetGate 6100/7100U, Palo Alto
                Routing: Juniper MX204 , Arista 7050X3
                Switching: Juniper EX/QFX. Arista 7050SX
                Wireless: Unifi, Aruba IAP

                T 1 Reply Last reply Reply Quote 1
                • T
                  themaharshpatel LAYER 8 @michmoor last edited by

                  @michmoor Because in its underlying PHP code where it is generating the config file for the squid. It is checking for a null value to skip the content filtration config. But here as there was none mentioned. It was considered as a string and the condition was not getting fulfilled to skip the config generation.

                  M 1 Reply Last reply Reply Quote 2
                  • JonathanLee
                    JonathanLee @themaharshpatel last edited by

                    @themaharshpatel Screenshot 2022-12-29 at 10.12.51 AM.png

                    testing now

                    T 1 Reply Last reply Reply Quote 2
                    • M
                      michmoor @themaharshpatel last edited by

                      @themaharshpatel great find/troubleshooting. simple fix. Maybe it can make it into the new release.

                      Firewall: NetGate 6100/7100U, Palo Alto
                      Routing: Juniper MX204 , Arista 7050X3
                      Switching: Juniper EX/QFX. Arista 7050SX
                      Wireless: Unifi, Aruba IAP

                      T 1 Reply Last reply Reply Quote 2
                      • T
                        themaharshpatel LAYER 8 @JonathanLee last edited by

                        @jonathanlee do let us know if it works out! :)

                        JonathanLee 1 Reply Last reply Reply Quote 1
                        • T
                          themaharshpatel LAYER 8 @michmoor last edited by

                          @michmoor said in Youtube content getting filtered on Squid:

                          @themaharshpatel great find/troubleshooting. simple fix. Maybe it can make it into the new release.

                          Thanks:) Lets see how it works out!

                          JonathanLee M 2 Replies Last reply Reply Quote 1
                          • JonathanLee
                            JonathanLee @themaharshpatel last edited by

                            @themaharshpatel

                            Fixed it great find with this!!

                            Screenshot 2022-12-29 at 10.35.50 AM.png

                            T 1 Reply Last reply Reply Quote 2
                            • T
                              themaharshpatel LAYER 8 @JonathanLee last edited by

                              @jonathanlee 🚀

                              1 Reply Last reply Reply Quote 2
                              • JonathanLee
                                JonathanLee @themaharshpatel last edited by

                                @themaharshpatel

                                Now Testing with restrictions enabled

                                Screenshot 2022-12-29 at 11.05.35 AM.png

                                Header restrictions functional

                                Thank !!! this option now has the ability to be enabled and disabled.

                                1 Reply Last reply Reply Quote 1
                                • M
                                  michmoor @themaharshpatel last edited by

                                  @themaharshpatel I can confirm this is fixed as well for me. Thanks again !!

                                  Firewall: NetGate 6100/7100U, Palo Alto
                                  Routing: Juniper MX204 , Arista 7050X3
                                  Switching: Juniper EX/QFX. Arista 7050SX
                                  Wireless: Unifi, Aruba IAP

                                  1 Reply Last reply Reply Quote 2
                                  • T
                                    themaharshpatel LAYER 8 last edited by themaharshpatel

                                    Redmine issue opened: https://redmine.pfsense.org/issues/13811
                                    Thank you @JonathanLee and @michmoor for testing this. Now, let's hope that the PR gets merged soon!

                                    M 1 Reply Last reply Reply Quote 1
                                    • M
                                      michmoor @themaharshpatel last edited by michmoor

                                      @themaharshpatel I hope your ticket gets some movement. Its an obvious coding flaw that truthfully...shouldve been picked up years ago but i suppose it shows how often the Squid package gets used by people. Do you know if theres a way to notify folks? Its still sitting there with no acknowledgement.

                                      Firewall: NetGate 6100/7100U, Palo Alto
                                      Routing: Juniper MX204 , Arista 7050X3
                                      Switching: Juniper EX/QFX. Arista 7050SX
                                      Wireless: Unifi, Aruba IAP

                                      T 1 Reply Last reply Reply Quote 1
                                      • T
                                        themaharshpatel LAYER 8 @michmoor last edited by

                                        @michmoor said in Youtube content getting filtered on Squid:

                                        @themaharshpatel I hope your ticket gets some movement. Its an obvious coding flaw that truthfully...shouldve been picked up years ago but i suppose it shows how often the Squid package gets used by people. Do you know if theres a way to notify folks? Its still sitting there with no acknowledgement.

                                        There might be no acknowledgment due to holidays. And this is the first time I am opening an issue so I don't know about notifying the mods.

                                        JonathanLee 1 Reply Last reply Reply Quote 0
                                        • JonathanLee
                                          JonathanLee @themaharshpatel last edited by

                                          @themaharshpatel same issue with 23.05

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            michmoor last edited by

                                            @jonathanlee The redmine hasnt been actioned. The Git pull request hasnt been approved from what i can tell.
                                            TBH, considering staff is extremely limited i doubt this will ever get resolved. I would instead see if you could pin this thread at the top.

                                            Firewall: NetGate 6100/7100U, Palo Alto
                                            Routing: Juniper MX204 , Arista 7050X3
                                            Switching: Juniper EX/QFX. Arista 7050SX
                                            Wireless: Unifi, Aruba IAP

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