RetroFed Forums
Your home away from modern life.
Can we create a network ad blocker
Post Reply
AuthorMessage
ki4jgt feddit.org ki4jgt@feddit.org
Joined: 2026-07-30
Quote

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.

5   Original
chloroken lemmy.ml chloroken@lemmy.ml
Joined: 2024-11-15
#2 · Quote Reply

Pihole?

9
ki4jgt feddit.org ki4jgt@feddit.org
Joined: 2026-07-30
#3 · Quote Reply

Pihole?

You have to set Pihole up. This would intercept all DNS traffic through a MiTM, and block ads.

1
mlfh lm.mlfh.org mlfh@lm.mlfh.org
Joined: 2026-04-07
#4 · Quote Reply

You have to set Pihole up. This would intercept all DNS traffic through a MiTM, and block ads.

Like, magically?

4
Kyrias lemmy.ca Kyrias@lemmy.ca
Joined: 2026-08-25
#5 · Quote Reply

Like, magically?

It's in the WiFi.

2
mmmm sopuli.xyz mmmm@sopuli.xyz
Joined: 2025-04-07
#6 · (edited) Quote Reply

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

1
MentalEdge sopuli.xyz MentalEdge@sopuli.xyz
Joined: 2023-06-13
#7 · Quote Reply

Hm.

Haven't seen that done.

Also DNS over HTTPS would defeat it, yes?

2
moonpiedumplings programming.dev moonpiedumplings@programming.dev
Joined: 2023-08-10
#8 · Quote Reply

Hm. Haven't seen that done. Also DNS over HTTPS would defeat it, yes?

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...

2
moonpiedumplings programming.dev moonpiedumplings@programming.dev
Joined: 2023-08-10
#9 · Quote Reply

Why not just make the router redirect the dns server somewhere else?

Are you talking about actually hijacking a network?

4
ki4jgt feddit.org ki4jgt@feddit.org
Joined: 2026-07-30
#10 · Quote Reply

Like, magically?

Pretty much. Any ad on that network, using normal DNS would be toast. No router or device configuration.

1
mlfh lm.mlfh.org mlfh@lm.mlfh.org
Joined: 2026-04-07
#11 · Quote Reply

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.

8
ki4jgt feddit.org ki4jgt@feddit.org
Joined: 2026-07-30
#12 · Quote Reply

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.

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.

3
tiptoes sh.itjust.works tiptoes@sh.itjust.works
Joined: 2026-04-20
#13 · Quote Reply

That’s what the Disney Circle parental control device does essentially

1
Post Reply
Back to top