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

    Dansguardian - YouTube Videos with Ads not Streaming

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 1 Posters 5.0k 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.
    • E
      engellion
      last edited by

      I have Dansguardian 2.0.12.03 installed on an AMD64 pfSense firewall with Squid. Transparent proxy.

      I can play videos on YouTube as long as they do not have any ads (either embedded or full frame).

      However, I can not play YouTube videos that contain ads. The Video appears to load, then goes straight to the end without playing.

      If I disable Dansguardian, and just leave Squid running, everything works fine–YouTube videos with ads stream without problem.

      Am I doing something wrong? Is there a setting to allow Dansguardian to stream embedded ads on YouTube?

      Can anyone advise what could be the problem.

      Please help.

      Thanks.
      Paul.

      p.s. This is a problem that also occurs for me on Endian Firewall with Dansguardian (COntent Filter) enabled and IPCop with Cop+ (Dansguardian) enabled.

      1 Reply Last reply Reply Quote 0
      • E
        engellion
        last edited by

        OK, I think I've isolated this problem.

        Dansguardian is scanning the YouTube ads and picking up "banned phrases" from the foreign language pornography lists (ie any phrase list that is not English).

        For example, the ads imbedded in a pocket now video here: http://youtu.be/VOph8CVFy7E triggered a "Japanese Pornography" banned phrase alert, taking the "naughtiness limit" above the set level (in this case 50).

        Here's an example of one line from /var/log/dansguardian/access.log

        2013.6.24 3:04:17 - 10.1.2.10 http://r2–-sn-ppoxu-ntqe.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&clen=360608&cp=U0hWR1BRVV9JUkNONl9IS1lIOjRPVnkybDBnc3Jv&cpn=cZPjInJMdeQVWBr6&expire=1372067748&factor=1.25&fexp=921048%2C906380%2C924368%2C916807%2C900339%2C928201%2C901208%2C929123%2C929915%2C929906%2C929907%2C929125%2C925714%2C929917%2C929919%2C931202%2C912512%2C912515%2C912521%2C906838%2C904488%2C906840%2C931910%2C931913%2C932227%2C904830%2C919373%2C933701%2C904122%2C900816%2C909421%2C912711%2C935102&gir=yes&id=eb56b8174605c3a8&ip=124.170.110.249&ipbits=8&itag=160&keepalive=yes&key=yt1&lmt=1361842543693291&ms=au&mt=1372043000&mv=m&newshard=yes&range=0-184319&ratebypass=yes&signature=727519D48A45FBBC56ED835C6F3D48FFF7E08B77.23B3F1E40C3F1D769F02D105E744EB5E143AC8D1&source=youtube&sparams=algorithm%2Cburst%2Cclen%2Ccp%2Cfactor%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpire&sver=3&upn=5NNCGpaTTV4 DENIED Weighted phrase limit of 50 : 115 (fhm+-rak+‹¹+ŒŠ+—+“û+”ü+—‡+¶»+·ê+½÷+¿¬) GET 184320 115 Pornography (Japanese), Pornography 1 403 text/plain  Default  - -

        Either removing the ban on Japanese Pornography from the ACLs Phrase Lists in Dansguardian or else increasing the naughtiness limit to something like 160 removed the problem.

        On other YouTube videos, having Norwegian Pornography phrase lists active in Dansguardian triggers a block on the download of the video with imbedded ads.

        However, is there some other way around this, without deactivating the foreign language phrase lists or without having to increase the naughtiness limit to something beyond useless.

        Thanks for any help.

        Cheers,
        Paul

        1 Reply Last reply Reply Quote 0
        • E
          engellion
          last edited by

          Well, as you can tell, I'm am noobie with this stuff.

          I've ended up adding:

          .c.youtube.com

          to the Exception Regular Expression section of the URL lists under ACL's for Dansguardian.

          Videos with ads on YouTube now stream.

          Hoping this fixes things, and I have  not ignorantly created a security risk in doing so.

          If anyone has any insights into this, let me know.

          Cheers,
          Paul.

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