Icon UHB - iOS 9/10/11/12 (Untrusted Hosts Blocker)

Informations

  • Identifier com.thireus.untrustedhostsblocker9
  • Added Date 23/11/2015 20:02
  • Updated Date 18/04/2019 13:30
  • Free package
  • 2.89/5 (9 votes)

  • RepositoryThireus Repository
  • Author Thireus
  • SectionSecurity
  • Version 1.7.1
  • Architecture iOS
  • Size 54.35 Kb
  • Installed-Size 69
  • Pre-Depends dpkg (>= 1.14.25-8)
  • Depends firmware (>= 9.0), sed, grep, coreutils, shell-cmds
  • Conflicts com.thireus.untrustedhostsblockerlight, com.thireus.untrustedhostsblocker, com.thireus.hostscleaner, com.reddestdream.minimalhostsblocker, com.sukarodo.notavoke, com.ceadd.blockyou12, com.nathanaccidentally.systemhostsblocker, com.ichitaso.removeadstoggle, com.ichitaso.removeads, com.spinward.hostsfileflipswitch, com.clezz.restorehosts, ro.iphonews.adblock, com.rishanan.hostadblocker, miktr.switch.adblocker, miktr.switch.adblocker2, com.nathanaccidentally.mdnsflush
  • Priority standard
  • Compatibility iOS 9+

Description

READ THE TWEAK DESCRIPTION/FAQ PAGE! Say goodbye to tracking, spies, intrusive ads and untrusted hosts. IPv4 support only. Blocks about 3,000 blacklisted hosts! . This tweak's main goal is to block a maximum of third-party hosts used by your applications that have been identified as collecting personal and confidential data (location, contacts, UDID, etc.) for commercial, tracking or advertising purpose. . This package will add all blacklisted hosts to your /etc/hosts file. It will NOT overwrite your custom hosts file (if you already have custom entries in your hosts file, they will remain untouched)! . If you are unhappy with this tweak you can uninstall this package. It will ONLY remove the installed entries by the tweak and leave untouched any other entries you may have added manually to the hosts file. But make sure to wait until the end of the uninstallation process. In case your hosts file is broken (should never happen), the installation or uninstallation script will repair it. . If your device Internet is not working anymore after installing this tweak, it could mean your /etc/hosts file is too big for mDNSResponder. If that happens (it shouldn't, read FAQ 5.), please uninstall this tweak, then install "Hosts Cleaner" and reinstall this tweak. . Avoid combining this tweak with other hosts blocker tweaks as they may interfere with your customised /etc/hosts file. . IMPORTANT: Due to /etc/hosts memory limitations of mDNSResponder since iOS 9, this version mainly focuses on blocking hosts that can impact your privacy or security. Some of the most common advertisement hosts are still blocked by this version but a lot had to be removed from the previous UHB versions. Therefore, I cannot guarantee that you won't see any ads at all. . This tweak will not work on networks that have IPv6 enabled (i.e. T-Mobile). If you wish to disable IPv6 on cellular data, follow this tutorial: https://goo.gl/rYRwLG . Please only send me blocking requests for intrusive hosts. I will no longer consider requests for harmless advertisement hosts. Sorry. . FAQ: . 1. Many people try to install the "Untrusted Hosts Blocker" version instead of "UHB - iOS 9/10/11/12 (Untrusted Hosts Blocker)". The name of the tweak is "UHB - iOS 9/10/11/12 (Untrusted Hosts Blocker)" compatible with iOS 9/10/11 and iOS 12. The old version "Untrusted Hosts Blocker" is compatible with iOS 8 and below only. Just browse my repository to find the right package. . 2. Still seeing ads? I'm sorry, but there isn't much I can do about it. If you're using a VPN or a Proxy, entries in /etc/hosts will most likely be ignored, so you will see ads. . 3. You might need to reboot your device after installation, especially if you notice the tweak isn't functionning properly. . 4. This tweak has a very good chance to be already compatible with unrealeased iOS versions (i.e. iOS 13, iOS 14, iOS 15, etc.). Just give it a try! . 5. Can't install the package because install fails with an error message stating the hosts file is too heavy? There is a limit to the number of hosts mDNSResponder can handle. Passed that limit your DNS resolver would stop functioning (no Internet access, device becoming hot because 100% CPU usage, etc.). Uninstall your other "ad-blockers" or flush your /etc/hosts file with "Hosts Cleaner". . 6. Does this tweak impact my battery life? No. . 7. If the install or removal process seems stuck and says, "PLEASE WAIT!!!!! (removal can take up to 3 minutes)", you definitely have to wait 3 minutes. If you decide to kill Cydia for some reason that will most likely corrupt your /etc/hosts file, in which case you will have to install "Hosts Cleaner" to revert it back to normal. . 8. Your device runs hot after install? Websites don't load? Install "Hosts Cleaner" to clear your /etc/hosts file (revert it back to Apple stock version) and reinstall Untrusted Hosts Blocker package(s). . 9. Something wrong happened? No panic, no need to restore your device. There are often easy and straightforward solutions to any problems. Just message me to talk about it. . 10. How can I check my installation was successful? Try to access with Safari: www.obdev.at (it is one of the many hosts that UHB blocks). If you cannot access this website (Safari displays a message saying "Safari cannot open the page"), congratulations UHB is successfully installed. . 11. Why is UHB not working when I am using mobile data (3G/4G/LTE)? Some mobile data ISPs will use proxies, DNS resolution can happen through a proxy and bypass /etc/hosts. Some ISPs also use IPv6 networking, in this case you can install the following tweak: "Mega UHB IPv4+6 - iOS 9/10/11/12 - MUHB IPv4+6 (Mega Untrusted Hosts Blocker IPv4 and IPv6)" available on my repo. If you want to verify if this is the reason why UHB is not working for your device: remove your SIM card or disable mobile data completely, use WiFi only and reboot your device (that will clear the DNS cache), then try to access with Safari www.obdev.at (it is one of the many hosts that UHB blocks). If you cannot access this website (Safari displays a message saying "Safari cannot open the page"), congratulations UHB is successfully installed. Note that "MUHB IPv4+6" can consume a lot of memory, so if you'd still like to stick with UHB you can follow this tutorial to disable IPv6: https://goo.gl/rYRwLG. If you are a T-Mobile users who wish to stick with UHB you can reach out to /u/aakashkk on Reddit for his solution: "TMUS IPv4v6 Data.mobileconfig" (for your security, open this file with a text editor before installing it on your device, and make sure it does not contain any IPs, URLs or DNS servers anywhere. MD5: a131d6430eb82795cd30f87c35d6edfb; SHA: 3806b21068e539f01dda15f0f2dda78356e6fdea . 12. The first installation hangs, what should I do? It may happen that your first installation of UHB stays stuck. Wait 2 or 3 minutes. If it is still stuck, kill Cydia and install "Hosts Cleaner", then reinstall UHB. . 13. I have installed UHB on iOS 12, but ads are not blocked, why? Make sure to use the latest unc0ver version (v3.0.0~b33 or higher). A tweak called LetMeBlock is responsible for making hosts blocking work on iOS 12. Make sure this tweak is functionning properly. . 14. Is it compatible with iOS 12? Yes. . 15. I cannot access www.obdev.at (Safari displays a message saying "Safari cannot open the page"), so it means UHB is working. But I can still see some ads, why? Because UHB blocks certain hostnames known to serve ads, not all. This tweak is not a very sophisticated adblocker. If you wish to block ads more efficiently, you can use Brave. . 16. I am on iOS 12. I have enabled tweaks on unc0ver. I am using unc0ver b33 or higher version. I have tried to reboot (not ldrestart, REBOOT). But it seems UHB is still not working, why? Most likely because the LetMeBlock tweak is not loaded properly: Make sure you enable loading both tweaks and daemons! Or maybe it could be an issue with your Jailbreak not loading LetMeBlock properly. If http://ocsp.apple.com (OCSP!!!) on Safari displays "Not Found on Accelerator", then LetMeBlock is NOT working properly (I REPEAT AGAIN: IF "Not Found on Accelerator" DISPLAYED, THEN IT MEANS LetMeBlock NOT WORKING!!!)! When LetMeBlock does its job properly, Safari will display a message saying "Safari cannot open the page". Please raise this issue to @PoomSmart & @Pwn20wnd! In any case, you NEED LetMeBlock to work for your device!!! (FYI ocsp.apple.com is always automatically injected in /etc/hosts by the Jailbreak, this is a host that always needs to be blocked to prevent iOS updates!) . 17. This tweak will not work if your network uses IPv6 instead of IPv4. Adding IPv6 support would mean doubling the number of blocked hosts, which is currently not an option. You should give a try to "Mega UHB IPv4+6 - iOS 9/10/11/12 - MUHB IPv4+6 (Mega Untrusted Hosts Blocker IPv4 and IPv6)" instead which supports IPv6 or follow this tutorial to disable IPv6: https://goo.gl/rYRwLG . 18. Where can I read more about the mDNSResolver limit? 1MB hardcoded for iOS devices. . 19. I'm on iOS 12 and LetMeBlock does not appear to do its job, what else can I try? Try to kill mDNSResponder manually: "killall -9 mDNSResponder; killall -9 mDNSResponderHelper". . 20. I still see ads on Facebook, Youtube, Instagram, Twitter, etc. Why? Some non-intrusive ads cannot be blocked with /etc/hosts. This is the drawback of this blocking technique. The main goal of this tweak is to block a maximum of hosts that are known to leak data, invade your privacy, serve malware, etc. Certain ads cannot be blocked easily, for example Youtube or Twitter ads or other ads in-game. This applies especially to games or other apps that strongly base their revenues on advertisements and/or data collection. Apps of this type will have checkpoints in place to detect if users have been served with the in-app ads or not, and if they haven't they will prevent the user from navigating through the app until the ad is displayed properly. You can attempt to bypass the security measures in place, which would mean "crack" or "patch" the application, for this you'd need custom tweaks, which take time to create and time to keep up to date. Also you can't be sure those tweaks won't do anything nasty in the background such as stealing your app credentials or session tokens... . 21. Some of my "free" applications don't work anymore, why? Some of the malicious hosts UHB blocks might be used in existing AppStore apps... and some apps enforce checkpoints to verify that these malicious hosts have been loaded properly when you navigate through them. Blocking these hosts would often mean preventing the checkpoints to be reached, which would prevent you from using these applications properly. Those "free" apps make a living on your privacy by collecting confidential or sensitive data while you're using them. Maybe you should simply consider uninstalling those apps. Or, if you are happy with data collection, just get rid of UHB. . 22. Can you make a switch (flipswitch) to activate/deactivate it? No. And I strongly discourage you to use any. They'll mess with your /etc/hosts file and you risk losing DNS resolving, which could lead to losing your jailbreak. UHB should be privileged instead of the "free" games that force you to display ads. If you are not convinced, then just uninstall UHB this tweak isn't for you. . 23. I want your tweak to block a lot more hosts, what can I do? You can try the new tweak called "Mega UHB" (Mega Untrusted Hosts Blocker)" which blocks a lot more hosts. . 24. You haven't upgraded this tweak in a while. Does it mean it is outdated? No. It simply means this tweak is working just fine and there is no need to update it at the moment. . 25. I'm on iOS 12, Google Maps and Facebook stopped working, why? Certain applications will crash mDNSResponder, LetMeBlock will attempt to restart and patch mDNSResponder when this occurs. However, there are still known stability issues. Please make sure to upgrade LetMeBlock to the latest version for added stability (Repo: https://poomsmart.github.io/repo/). . 26. How do I know if my network uses IPv6? You can use the following service to verify if IPv6 is detected: https://test-ipv6.com/ . 27. Why does your tweak ask to uninstall other tweaks? These are either bad tweaks or tweaks that are known to cause issues with my tweak, you should not use them. . UPDATED: v1.3.0 (30/03/2018) - Official support for iOS 11. UPDATED: v1.4.0 (24/07/2018) - The new install script will try to prevent installations that would lead to a /etc/hosts file size that iOS can’t handle (install will fail if the size limit is reached and will ask the user to clear the hosts file). For reference, this is a known issue that break iOS domain name resolving once the hosts file reaches a certain size. UPDATED: v1.5.0 (16/03/2019) - Official support for iOS 12. "Minimal Hosts Blocker" hosts moved from "Experimental UHB (Untrusted Hosts Blocker) - EUHB" to this package. Few more hosts (user requests) moved from EUHB to UHB. FAQ added. Youtube history issue resolved. Name changed to "UHB - iOS 9/10/11/12 (Untrusted Hosts Blocker)". UPDATED: v1.5.1 (16/03/2019) - Minor corrections (some hosts cleaned). Fixed the compatibility issue with some older Jailbreaks (deb xz compression not being supported). Updated FAQ to include note for T-Mobile users. UPDATED: v1.5.2 (17/03/2019) - Minor correction in the tweak description. Added points 18 and 19 in the FAQ. UPDATED: v1.5.3 (17/03/2019) - Added points 20, 21 and 22 in the FAQ + minor corrections in the FAQ. UPDATED: v1.5.4 (17/03/2019) - Added conflict control with "Hosts Cleaner". Minor fix in install script. UPDATED: v1.5.5 (17/03/2019) - Fixed issue for iOS 12 where mDNSResponder wouldn't load the /etc/hosts after installation: killall mDNSResponder implemented. UPDATED: v1.5.6 (17/03/2019) - Minor corrections in the FAQ. UPDATED: v1.5.7 (18/03/2019) - Minor corrections in the FAQ. Added point 23 in the FAQ. UPDATED: v1.5.8 (20/03/2019) - Fixed upgrade issue for compatibility with LetMeBlock (mDNSResponderHelper needs to be killed along with mDNSResponder). Users may have experienced a loss of connectivity which required a reboot (only if MUHB was installed). UPDATED: v1.5.9 (20/03/2019) - Force kill is now required for both mDNSResponderHelper and mDNSResponder. Killing order reversed. UPDATED: v1.5.10 (20/03/2019) - Updated FAQ. UPDATED: v1.5.11 (20/03/2019) - Added point 24 to the FAQ. Minor correction in the FAQ. UPDATED: v1.6.0 (23/03/2019) - Improved install/remove log data. Added point 25 in the FAQ. Updated points 11 and 17. Cleanup. Minor additions in the description. UPDATED: v1.6.1 (23/03/2019) - Fixed an issue with the installation detecting experimental hosts instead of its own hosts. UPDATED: v1.6.2 (23/03/2019) - Minor changes in the description. UPDATED: v1.6.3 (24/03/2019) - Increased hosts line limit to 3550 entries. UPDATED: v1.6.4 (25/03/2019) - Fixed typo in installation logs. Updated description. Updated FAQ. UPDATED: v1.6.5 (25/03/2019) - New mDNSResponderHelper killing technique, this should fix issues with LetMeBlock not working after install/upgrade. UPDATED: v1.7.0 (28/03/2019) - Added points 26 and 27 to the FAQ. Added conflict to many other bad tweaks. UPDATED: v1.7.1 (18/04/2019) - Removed ocsp.apple.com (let the JB handle this bit).


Version History

Packages are not hosted on our server, they could be protected or unavailable.

Reviews and ratings