AdGuard Home filter lists converted from hosts files
Go to file
alexsannikov fe97b7320e 2019-Apr-15/Mon/16:28 2019-04-15 16:28:57 -04:00
extensions 2019-Apr-15/Mon/16:28 2019-04-15 16:28:57 -04:00
LICENSE Initial commit 2019-03-04 10:12:44 -05:00
README.md Update README.md 2019-04-15 12:02:05 -04:00
admalware.txt 2019-Apr-15/Mon/16:22 2019-04-15 16:22:52 -04:00
user-defined.txt 2019-Mar-06/Wed/00:35 2019-03-06 00:36:10 -05:00

README.md

adguardhome-filters

Hosts lists from Steven Black (https://github.com/StevenBlack/hosts)

Cleaned-up from "localhost" records.
127.0.0.1 replaced to 0.0.0.0
Extensions are left unmerged.

Files are used for AdGuard Home DNS filtering.

P.S. Looking for the way to translate easily multiple hostname records to one line accordingly to general AdBlock rules set, i.e.

www.abc.com
abc.com
external.www.abc.com.site

to

||abc.com*^

or similar.

Need to build the following algorithm:

  1. grab original file;
  2. mirror each string and sort ( like 'cat ./file1 | rev | sort > file2' );
  3. moving down, remember each string and compare it with all the rest, deleting all longer ones ( "moc.cba||" -> delete all "moc.cba.*" );
  4. revert strings back and sort;
  5. done.

Better to be written in bash/sed/awk or python or Go.