PoomSmart / LetMeBlock

Make mDNSResponder care more about /etc/hosts
MIT License
64 stars 12 forks source link

No effect on Dopamine device? #20

Closed jebediah2 closed 9 months ago

jebediah2 commented 1 year ago

Very strange that nothing seems to happen after I run a test on an iPhone 13 Mini 15.4.1 with Dopamine.

the hosts file: 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost

127.0.0.1 example.com 0 example.com 0.0.0.0 example.com

Is there something I'm doing wrong?

PoomSmart commented 1 year ago

Your LetMeBlock version?

jebediah2 commented 1 year ago

1.1.0 freshly installed from your repo.

PoomSmart commented 1 year ago
  1. Any jailbreak detection bypass tweaks installed?
  2. What if you reinstall LetMeBlock from your package manager without doing userspace reboot?
jebediah2 commented 1 year ago

I had shadow installed but it wasn't enabled. I uninstalled it nonetheless then reinstalled LetMeBlock, but it didn't change anything. Tried your suggestion to only perform the SpringBoard restart (and to skip it altogether) after reinstalling LetMeBlock, but results are the same.

jebediah2 commented 1 year ago

Is there nay chance adblocker apps interfere? I've got AdBlock, AdBlock Pro and AdGuard Pro installed.

jebediah2 commented 1 year ago

@PoomSmart have you looked into this at all?

jebediah2 commented 1 year ago

I noticed that when I run killall -9 mDNSResponder as root, it works fine. But when I run the same for mDNSResponderHelper I get No matching processes were found

Also, when I replace the hosts file in var/jb/etc/ with my own, which weighs a few megabytes, I can no longer access the internet altogether.

PoomSmart commented 9 months ago

The issue with /var/jb/etc/hosts not being read is fixed in v1.2.0

jebediah2 commented 9 months ago

Fantastic! Thanks for the fix.