• heyeddi@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    17 hours ago

    Calling it ad blocking undersells it. The ad network is the delivery path in that report, so blocking at DNS is a security layer, not tidiness. The thing I’m building goes a step further: it holds tracker connections open instead of refusing them, so they waste their own time instead of retrying instantly. Has anyone tried tarpitting at home? I’m curious whether it broke smart TVs or apps that phone home hard.

    • Wispy2891@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      16 hours ago

      The problem with tarpitting is that apps will try to download the ads before showing you the content, and you will be more annoyed than before

    • andrewoidxyz@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      DNS blockers work so why would I need your solution? I dont care if the sites try to reconnect cause the connection wont work nonetheless

    • MuttMutt@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Absolutely. Remember to enable a cron job in the OpnSense - System > Settings > cron to update the Blocklists. Otherwise you are likely out of date.

    • Unfold1127@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Just moved to an OPNsense network. Setting up unbound was so nice and simple. Much preferred over pihole.

      • trojanbark@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        Agreed. I used pihole initially when I was first learning networking, but when I got a dedicated machine and installed OPNsense, I learned how much easier so many things can be.

        • Unfold1127@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          The downside is OPNsense is it’s information light, and a bit inscrutable lol I’m having an issue with my WAN dhcp going offline, seems to be happening on a cadence. My modem is fine, connection is valid. Rebooting the OPNsense box fixes it. Losing my mind a bit but I’ll figure it out 🙃

          • MuttMutt@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Try setting a tunable of:

            net.link.ether.inet.max_age = 540

            By default FreeBSD sets a 20 minute ARP maximum age while many ONT’s set a 9 minute maximum age. This will show up as performance issues initially then cause other issues.

            Also Realtek NIC’s are notorious for issues with FreeBSD, so if you are using one replacing it with an Intel one is highly recommended.

            • Unfold1127@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              20 hours ago

              I believe it was the realtek NIC and some settings offloading to the hardware I set during troubleshooting. Installed the Realtek driver in the plugins and changed those settings and so far no instability! Thank you for the tunable suggestion though I will also be checking that out!

              • MuttMutt@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                18 hours ago

                No problem.

                Be sure to set a cron job for updating the DNS Blocklists, running zcrubs, smart tests, and trim if you are using a ssd.

                I am working on a way to do snapshots for the system as well for super simple restores that are automatically created. Before an update you WILL want to have a snapshot available. Once snapshots are automated I will probably start doing automatic updates. It basically creates a system similar to how an immutable OS works, if something goofs you can simply roll back to a previous working state and pause updates. I previously had a script I setup via a cron job but the system removed the job during an update.

                • Unfold1127@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  8 hours ago

                  These are huge! Thank you for the suggestions I will get to implementing all of these. The only thing I’ve done so far similar to what’s in this list is backing up to my git repo, which is very nice. Every setting change gets committed. Is that different than snapshotting?

  • LemmyPlaceDN@europe.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    I only know the basics of networking, so I’ve been wondering why this “DNS-sinkhole” functionality can’t simply be implemented directly in private routers (as some kind of blocklist) instead of adding a new device to your network. Do routers not support this for technical or security reasons?

    • glitch1985@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Most consumer routers don’t offer this functionality out of the box, likely because manufacturers don’t consider it essential for most users. There’s no major technical reason it couldn’t be built in though. You can already set up DNS sinkholing with OPNsense or pfSense if you don’t mind running and managing your own router.

    • RememberTheApollo_@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      A Raspberry Pi 3b is adequate to run PiHole to do the job, or implementing AdGuard DNS.

      However, these require a little skill and knowledge to implement.

      Consumer routers aren’t built to do the job.

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I love my Pihole. It blocks ads on my PCs, my iPads, our streaming devices, etc. It also blocks telemetry gathering by other device manufacturers.