Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host Source Compliant with AdAway Syntax, but Not Working #4042

Open
1 task done
ryanbarillosofficial opened this issue Jan 1, 2024 · 0 comments
Open
1 task done
Labels

Comments

@ryanbarillosofficial
Copy link

ryanbarillosofficial commented Jan 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I recently made a Python script that generates a hosts file that blocks Tor nodes (with all IPv4 addresses mapped to 0.0.0.0 and IPv6 to either ::0 or ::1). Even though no errors are displayed—syntax is also in line with current hosts sources on filterlists.com—I see no display of "X Hosts" (where X is the sum of hosts blocked), meaning my hosts file isn't applied.

The behavior is similar to this issue
Screenshot_20240101-162733_AdAway
Screenshot_20240101-162730_AdAway

Expected Behavior

The host source "should effectively block a significant number of [Tor nodes] and update on a regular basis. This would enable users to have a reliable and up-to-date filter for blocking such content" (quote).

Steps To Reproduce

  1. Go to AdAway
  2. Add following source: https://raw.githubusercontent.com/ryanbarillos/dns-blocklists/main/hosts/everyone/tor/nodes.txt
  3. Apply changes
  4. Observe no number of hosts blocked

Device Configuration

  • AdAway version: 6.1.1 (F-Droid version)
  • Ad-blocker mode: root
  • Device: Samsung Galaxy A8+ 2018 (jackpot2lte)
  • Android version: 11
  • Root version: Magisk 26.4

Additional context and screenshots

I've tried another version of the host source without any comments, assuming pure IP addresses will slide and be accepted by AdAway. Unfortunately, outcome remained unchanged. Screenshots are here
Screenshot_20240101-162854_AdAway
Screenshot_20240101-162839_AdAway

In case you'd like to inspect my Python script, I have it linked here for you to check out. Hopefully there's a solution to this.

Tried another device (Samsung Galaxy Note 9 crownlte) with the same configuration as already listed here, and results are the same.

Logcat is here for you to inspect
logcat.txt

Also, kindly not ask my choice on blocking Tor as I choose to. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant