Rust reimplementation of https://github.com/sniner/adnix for educational purposes
Go to file
Harsh Shandilya fe54f00ed9
(cargo-release) version 0.4.2
2022-04-22 22:59:28 +05:30
.github/workflows all: switch from Dependabot to Renovate 2022-02-09 16:32:54 +05:30
.idea Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
src all: update for Embark standard lints v5 2021-11-07 17:40:30 +05:30
test_data adnix: rudimentary tests for config parser 2020-04-29 02:46:06 +05:30
.gitignore Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
Cargo.lock (cargo-release) version 0.4.2 2022-04-22 22:59:28 +05:30
Cargo.toml (cargo-release) version 0.4.2 2022-04-22 22:59:28 +05:30
README.md github: Run tests in CI 2019-10-29 19:14:28 +05:30
deny.toml deny: init 2021-11-06 21:01:21 +05:30
renovate.json all: switch from Dependabot to Renovate 2022-02-09 16:32:54 +05:30
shell.nix nix: add Security framework for Darwin support 2021-12-14 22:27:51 +05:30

README.md

adnix-rs

GitHub workflow Version info

Rust reimplementation of sniner/adnix for educational purposes.

Installation

adnix is available on crates.io and you can install it through cargo.

cargo install adnix

Usage

USAGE:
    adnix [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --formatter <STRING>       Formatter [default: dnsmasq]  [possible values: dnsmasq, dnsmasq-server, unbound]
        --address <ADDRESS>        IPv4 address [default: 127.0.0.1]
        --v6address <ADDRESS>      IPv6 address [default: ::1]
    -o, --output <OUTPUT>          Output file
    -s, --sources_file <STRING>    File to read "name|source url" mappings from

Sample sources file for use with adnix.

Yoyo|http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext
Malware Domain List|http://www.malwaredomainlist.com/hostslist/hosts.txt