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

Adblocking ~ Adblock Plus

Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
11 Posts 6 Posters 24.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.
  • J Offline
    jp141
    last edited by Aug 9, 2014, 11:16 AM

    Hi Everyone,

    I have tried lots of different ways to block ad's with pfsense over the years (Squid, pfblocker, DG, adzap) but none of them seem to work too well. I am mainly interested in blocking youtube ads so they dont show up on my chromecast.

    Now I know Chrome with adblock plus using the easylist works very very well so my question is, is there any thing I can setup on pfsense that works the same way as adblock and uses the easy list?

    I have tried everything I can think of!

    1 Reply Last reply Reply Quote 0
    • K Offline
      KOM
      last edited by Aug 11, 2014, 1:16 PM

      The main way to block ads is domain blacklists.  Squid supports those.  Why did you give up on Squid?  I remember the Shallalist blacklist (that you can add to Squid) having an ads category, plus you can add your own categories.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jp141
        last edited by Aug 11, 2014, 1:23 PM

        Thanks KOM

        I found with domain block lists I got a lot of false positives, sites being blocked etc and was constantly having to update the allow list. Also it didnt seem to work that well on youtube add's :(

        1 Reply Last reply Reply Quote 0
        • K Offline
          KOM
          last edited by Aug 11, 2014, 1:35 PM

          Part of the problem is that everything is going HTTPS these days, and Squid/SquidGuard can't deal with that without either having SSL certs installed everywhere, or manual proxy config on all your clients, or WPAD dynamic proxy assignment.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jp141
            last edited by Aug 11, 2014, 1:37 PM

            Yeah :(

            Thats the thing though, adblock plus works really really well.

            1 Reply Last reply Reply Quote 0
            • S Offline
              ssppcc
              last edited by Jan 30, 2015, 3:11 PM

              there is any way to block ads like adblock plus do in my browser??
              I´m trying to do the same using a script like this:

              
              wget  wget -O http://hosts-file.net/ad_servers.txt -O /etc/squid/ad_servers.txt
              cat /etc/squid/ad_servers.txt | tr -d "\r" | sed 's/127.0.0.1//g' | sed 's/^ *//g' >> /var/db/squidGuard/Blacklist/domains
              squidGuard -C all
              squid -k reconfigure
              
              

              But unfortunally this is not working.
              any idea????

              Thanks in advance
              Regards

              1 Reply Last reply Reply Quote 0
              • S Offline
                Supermule Banned
                last edited by Jan 30, 2015, 4:25 PM

                Problem is that the browser is the endpoint of the https tunnel and the FW is not. Thereby encrypting the traffic, it cannot intercept the signatures of the ads.

                Therefore its very hard to combat in pfSense :(

                1 Reply Last reply Reply Quote 0
                • K Offline
                  KOM
                  last edited by Jan 30, 2015, 4:36 PM

                  The Shallalist ADS Target Category isn't doing the job for you?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mr. Jingles
                    last edited by Jan 30, 2015, 5:01 PM

                    BB has pfBlockerNG 1.0 ready, and awaits code review by the admins. pfblockerNG 2.0 (which BB is working on) is planned to have adblocking support.

                    6 and a half billion people know that they are stupid, agressive, lower life forms.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cino
                      last edited by Jan 30, 2015, 5:59 PM

                      @Mr.:

                      BB has pfBlockerNG 1.0 ready, and awaits code review by the admins. pfblockerNG 2.0 (which BB is working on) is planned to have adblocking support.

                      =D HTTPS will still be an issue but there is somewhat of a workaround for it. Domain wise, HTTP/HTTPS traffic will be blocked. HTTP will display a transparent gif while HTTPS traffic will pop up with a cert error.. Only way around that, is to use a MITM SSL Proxy due to the nature of SSL/HTTPS.. MILM is not worth the trouble.. I've tried it before and my bank gave me the finger for trying….

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        ssppcc
                        last edited by Jan 30, 2015, 10:23 PM

                        @Mr.:

                        BB has pfBlockerNG 1.0 ready, and awaits code review by the admins. pfblockerNG 2.0 (which BB is working on) is planned to have adblocking support.

                        Wooow, sounds awesome. I can´t wait to test the pfblockerNG :-p

                        Thanks to all for your replies
                        Regards

                        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