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

How to block ads in Apple News?

pfBlockerNG
6
27
8.1k
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.
  • P
    pfguy2018
    last edited by Jan 16, 2020, 6:08 PM

    pfBlockerNG works great to block most ads, but I can't figure out how to get it to block the ads in Apple News (on iOS or MacOS). Is there a particular blocklist I need to add to achieve this?

    P 1 Reply Last reply Jan 16, 2020, 6:23 PM Reply Quote 0
    • P
      provels @pfguy2018
      last edited by Jan 16, 2020, 6:23 PM

      @pfguy2018 There are a bunch of whitelisted apple.com sites, including these (in my lists anyway):

      metrics.apple.com
      advertising.apple.com
      banners.itunes.apple.com
      ca.iadsdk.apple.com
      cf.iadsdk.apple.com
      cs.iadsdk.apple.com
      iadmoo.apple.com
      iadsdk.apple.com
      su.iadsdk.apple.com
      tr.iadsdk.apple.com
      ut.iadsdk.apple.com
      securemetrics.apple.com
      

      I'd say blacklisting ' advertising.apple.com ' would be a good place to start. No idea if it would break anything.

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      P 1 Reply Last reply Jan 16, 2020, 7:40 PM Reply Quote 0
      • P
        pfguy2018 @provels
        last edited by Jan 16, 2020, 7:40 PM

        @provels
        Interesting. My whitelist only contains .apple.com, no other entries related to Apple.
        Where can I add a blacklisted site?

        P 1 Reply Last reply Jan 16, 2020, 9:18 PM Reply Quote 0
        • P
          provels @pfguy2018
          last edited by provels Jan 16, 2020, 9:19 PM Jan 16, 2020, 9:18 PM

          @pfguy2018 These entries are in the feeds. For example, this from my log (bad word wrap).

          [ Adaway ]			 Downloading update [ 01/15/20 15:28:07 ] .. 200 OK.
            Whitelist: 5726.bapi.adsafeprotected.com|6058.bapi.adsafeprotected.com|6063.bapi.adsafeprotected.com|6067.bapi.adsafeprotected.com|623.bapi.adsafeprotected.com|6539.bapi.adsafeprotected.com|707.bapi.adsafeprotected.com|7093.bapi.adsafeprotected.com|7202.bapi.adsafeprotected.com|7246.bapi.adsafeprotected.com|7250.bapi.adsafeprotected.com|7251.bapi.adsafeprotected.com|7882.bapi.adsafeprotected.com|8328.bapi.adsafeprotected.com|9.bapi.adsafeprotected.com|aax-us-east.amazon-adsystem.com|advertising.apple.com|amidt.adsafeprotected.com|amipm.adsafeprotected.com|anycast.dt.adsafeprotected.com|anycast.fw.adsafeprotected.com|anycast.pixel.adsafeprotected.com|api.adsafeprotected.com|appvast.adsafeprotected.com|banners.itunes.apple.com|bapi.adsafeprotected.com|bs.serving-sys.com|ca.iadsdk.apple.com|cdn.adsafeprotected.com|cf.iadsdk.apple.com|control.kochava.com|cs.iadsdk.apple.com|daldt.adsafeprotected.com|dalpm.adsafeprotected.com|device-metrics-us-2.amazon.com|dt.adsafeprotected.com|fw.adsafeprotected.com|fwapi.adsafeprotected.com|fwvc.adsafeprotected.com|iadmoo.apple.com|iadsdk.apple.com|imp.control.kochava.com|mads.amazon-adsystem.com|mobile-static.adsafeprotected.com|mobile.adsafeprotected.com|nyidt.adsafeprotected.com|nyipm.adsafeprotected.com|pixel.adsafeprotected.com|pm.adsafeprotected.com|px.moatads.com|s.amazon-adsystem.com|secure-gl.imrworldwide.com|sfw.adsafeprotected.com|sjedt.adsafeprotected.com|sjepm.adsafeprotected.com|spixel.adsafeprotected.com|static.adsafeprotected.com|su.iadsdk.apple.com|tr.iadsdk.apple.com|ut.iadsdk.apple.com|vast.adsafeprotected.com|vastpixel.adsafeprotected.com|video.adsafeprotected.com|vpaid.adsafeprotected.com|
            ----------------------------------------------------------------------
            Orig.    Unique     # Dups     # White    # TOP1M    Final                
            ----------------------------------------------------------------------
            12474    12474      551        64         0          11859                
            ----------------------------------------------------------------------
          

          Remove from Whitelist ( Firewall\pfBlockerNG\DNSBL\DNSBL Whitelist )

          Peder

          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

          P 1 Reply Last reply Jan 17, 2020, 12:38 AM Reply Quote 0
          • N
            NollipfSense
            last edited by Jan 17, 2020, 12:25 AM

            I have been wanting to block ads on AppleTV 3 YouTube's app...it's the only place I get ads...wondering whether upgrading to AppleTV 5 might resolve the issue.

            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

            G 1 Reply Last reply Jan 17, 2020, 12:52 AM Reply Quote 0
            • P
              pfguy2018 @provels
              last edited by Jan 17, 2020, 12:38 AM

              @provels
              I get that. I am wondering how I can add a blacklisted site (such as the ones you listed in your first reply in this thread). I see a place to add sites to a whitelist, but I don't see a blacklist anywhere, and obviously none of the Apple ads are being blocked by the downloaded lists I am using. Is there an ad blocking list that will block these ads, or a way to add the apple ad sites to a blacklist in pfBlocker?

              1 Reply Last reply Reply Quote 0
              • G
                Gertjan @NollipfSense
                last edited by Jan 17, 2020, 12:52 AM

                @NollipfSense said in How to block ads in Apple News?:

                upgrading to AppleTV 5 might resolve the issue.

                It's probably not device related, more iOS and mostly the Youtube app itself.

                Do not forget that Google (Youtube) makes money with the add, so they do what they can - and that's a lot - to throw these adds on your screen.

                @pfguy2018 said in How to block ads in Apple News?:

                or a way to add the apple ad sites to a blacklist in pfBlocker?

                Yep, you can manually add IP or URL that you want to block.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                P N 2 Replies Last reply Jan 17, 2020, 12:58 AM Reply Quote 0
                • P
                  pfguy2018 @Gertjan
                  last edited by Jan 17, 2020, 12:58 AM

                  @Gertjan said in How to block ads in Apple News?:

                  Yep, you can manually add IP or URL that you want to block.

                  Where specifically do I manually add the URL? That is the part I can’t figure out.

                  N 1 Reply Last reply Jan 17, 2020, 3:11 AM Reply Quote 0
                  • N
                    NollipfSense @pfguy2018
                    last edited by Jan 17, 2020, 3:11 AM

                    @pfguy2018 Two options available...you can add here below, or you can create a DNSBL...see images!

                    login-to-view

                    login-to-view

                    pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                    pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                    P 1 Reply Last reply Jan 17, 2020, 12:27 PM Reply Quote 0
                    • N
                      NollipfSense @Gertjan
                      last edited by Jan 17, 2020, 3:17 AM

                      @Gertjan Yes, I know it's the YouTube app...the AppleTV 3 is the only one Apple locked down...wished I didn't buy it and the YouTube app must be doing DNS bypass somehow.

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pfguy2018 @NollipfSense
                        last edited by Jan 17, 2020, 12:27 PM

                        @NollipfSense

                        Is there a way to create my own custom DNSBL feed? How does one do that?

                        N 1 Reply Last reply Jan 17, 2020, 1:01 PM Reply Quote 0
                        • N
                          NogBadTheBad @pfguy2018
                          last edited by NogBadTheBad Jan 17, 2020, 1:10 PM Jan 17, 2020, 1:01 PM

                          @pfguy2018

                          Firewall -> pfBlockerNG -> DNSBL -> DNSBL Groups -> + Add

                          login-to-view

                          http://127.0.0.1/filename, https://127.0.0.1/filename or /var/db/pfblockerng/filename would be the source

                          Look at the format of another file and upload your list to pfSense.

                          Andy

                          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                          P 3 Replies Last reply Jan 17, 2020, 1:28 PM Reply Quote 0
                          • P
                            pfguy2018 @NogBadTheBad
                            last edited by Jan 17, 2020, 1:28 PM

                            @NogBadTheBad

                            Thank you - will follow these instructions. Appreciate the help

                            1 Reply Last reply Reply Quote 0
                            • P
                              pfguy2018 @NogBadTheBad
                              last edited by Jan 17, 2020, 6:14 PM

                              @NogBadTheBad

                              Trying to follow you instructions, I realized I have no idea how to get my block file into /var/db/pfblockerng/filename. How do I accomplish that?

                              1 Reply Last reply Reply Quote 0
                              • P
                                pfguy2018 @NogBadTheBad
                                last edited by Jan 17, 2020, 6:30 PM

                                @NogBadTheBad

                                I figured out how to upload the list into that directory. However, now I see the following entries when I force a pfBlockerNG update:

                                [ Adaway ] Reload [ 01/17/20 13:23:53 ] . completed ..
                                Whitelist: advertising.apple.com|banners.itunes.apple.com|ca.iadsdk.apple.com|cf.iadsdk.apple.com|cs.iadsdk.apple.com|iadmoo.apple.com|iadsdk.apple.com|secure-gl.imrworldwide.com|su.iadsdk.apple.com|tr.iadsdk.apple.com|ut.iadsdk.apple.com|

                                Orig. Unique # Dups # White # TOP1M Final

                                12487 12487 215 11 0 12261

                                [ D_Me_ADs ] Reload . completed ..
                                Whitelist: advertising.apple.com|iadsdk.apple.com|qwapi.apple.com|

                                Orig. Unique # Dups # White # TOP1M Final

                                2703 2703 479 3 0 2221

                                [ hpHosts_ATS ] Reload . completed ..
                                Whitelist: ads.sourceforge.net|advertising.apple.com|autolinkmaker.itunes.apple.com|c.apple.com|collector-cdn.github.com|iadsdk.apple.com|images-aud.sourceforge.net|metrics.apple.com|metrics.sourceforge.net|pivotal.github.com|secure-gl.imrworldwide.com|securemetrics.apple.com|

                                Orig. Unique # Dups # White # TOP1M Final

                                45736 45733 3510 12 0 42211

                                [ Cameleon ] Reload [ 01/17/20 13:23:57 ] . completed ..
                                Whitelist: ads.sourceforge.net|images-aud.sourceforge.net|metrics.apple.com|secure-gl.imrworldwide.com|securemetrics.apple.com|

                                Orig. Unique # Dups # White # TOP1M Final

                                20567 20567 6463 5 0 14099

                                [ SBL_ADs ] Reload [ 01/17/20 13:23:59 ] . completed ..
                                Whitelist: advertising.apple.com|iadsdk.apple.com|

                                Orig. Unique # Dups # White # TOP1M Final

                                4203 4203 2531 2 0 1670

                                [ Yoyo ] Reload . completed ..

                                Whitelist: securemetrics.apple.com
                                Orig. Unique # Dups # White # TOP1M Final

                                3250 3250 2298 1 0 951

                                [ D_Me_Malv ] Reload [ 01/17/20 13:24:02 ] . completed ..
                                Whitelist: advertising.apple.com|iadsdk.apple.com|qwapi.apple.com|

                                Orig. Unique # Dups # White # TOP1M Final

                                2737 2737 2733 3 0 1

                                This seems to suggest that various Apple ad sites are being whitelisted as part of the 3rd party lists I am downloading? How do I remove these sites from the whitelists in the individual feeds to block these pesky ads?

                                1 Reply Last reply Reply Quote 0
                                • P
                                  provels
                                  last edited by provels Jan 17, 2020, 8:39 PM Jan 17, 2020, 8:37 PM

                                  @pfguy2018 Have you already removed .apple.com from Whitelist?
                                  ( Firewall\pfBlockerNG\DNSBL\DNSBL Whitelist ) It was whitelisted on mine by the wizard.

                                  Peder

                                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                  P 1 Reply Last reply Jan 17, 2020, 8:49 PM Reply Quote 0
                                  • P
                                    pfguy2018 @provels
                                    last edited by Jan 17, 2020, 8:49 PM

                                    @provels
                                    Yes I did, and then re-ran the update and those entries disappeared. As I noted above, I also uploaded a custom blocklist following the earlier instructions, which contained all the entries in the second posting in this thread (your post). However, ads are still appearing in Apple News. There must be some other site that is delivering them?

                                    P 1 Reply Last reply Jan 17, 2020, 11:38 PM Reply Quote 0
                                    • provelsP
                                      provels @pfguy2018
                                      last edited by Jan 17, 2020, 11:38 PM

                                      @pfguy2018 Probably. Can you see the properties of the ad in your browser?

                                      Peder

                                      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                      P 1 Reply Last reply Jan 17, 2020, 11:41 PM Reply Quote 0
                                      • P
                                        pfguy2018 @provels
                                        last edited by Jan 17, 2020, 11:41 PM

                                        @provels

                                        No - the ads only show up in the dedicated Apple News app (Mac or iOS). When you click on them, some info comes up from Apple describing what information is shared with the advertiser (as it turns out, not much, and not any personal information), but there is no indication as to the source of the ad.

                                        provelsP 1 Reply Last reply Jan 18, 2020, 10:24 AM Reply Quote 0
                                        • provelsP
                                          provels @pfguy2018
                                          last edited by Jan 18, 2020, 10:24 AM

                                          @pfguy2018 Nothing else to offer, except maybe try in Safari and see if blocked. Maybe they are just built into the app.

                                          Peder

                                          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                          N 1 Reply Last reply Jan 18, 2020, 11:28 AM Reply Quote 0
                                          8 out of 27
                                          • First post
                                            8/27
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.