I’m looking for a script that uses arp poisoning to impersonate the network DNS server and blocks all requests to ad servers.

Connect the device to any network and you’ve automatically got ad blockers for all devices without configuring anything.

Hacking for good.

  • mlfh@lm.mlfh.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    Running a constant arp poisoning attack on a whole network trying to mitm the dns server just to block ads is going to be unreliable as hell, and it’ll screw with more than just dns traffic.

    If you control the network, it’s far simpler and more reliable to point clients to a dns server that blocks ads. And if you don’t control the network, probably shouldn’t be attacking it this chaotically.

    • ki4jgt@feddit.orgOP
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Running a constant arp poisoning attack on a whole network trying to mitm the dns server just to block ads is going to be unreliable as hell, and it’ll screw with more than just dns traffic.

      But it would be a fun little project.

      I miss my days of playing with Wireshark and aircrack-ng. Although, now I can just whip up the same thing with Python and raw sockets.

    • moonpiedumplings@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      DNS over HTTPS

      This is probably about blocking ads on IoT devices… like smart TV’s. They don’t usually use DNS over TLS/HTTPS, but sometimes have ads…

  • mmmm@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    The only thing I can think about is BlockAds, but am not sure if it’s what you’re thinking about and that thing is being developed with Claude assistance