Rust reimplementation of https://github.com/sniner/adnix for educational purposes
Go to file
Harsh Shandilya b51d35aaea
Add IntelliJ stuff
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-31 00:14:07 +05:30
.github/workflows CI: Disable nightly testing 2020-03-25 19:55:33 +05:30
.idea Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
src Switch from reqwest to ureq 2019-12-25 13:52:06 +05:30
test_data Add dnsmasq formatter tests 2019-10-29 19:12:08 +05:30
.gitignore Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
Cargo.lock Bump regex from 1.3.5 to 1.3.6 2020-03-25 14:39:23 +00:00
Cargo.toml Bump regex from 1.3.5 to 1.3.6 2020-03-25 14:39:23 +00:00
README.md github: Run tests in CI 2019-10-29 19:14:28 +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