Rust reimplementation of https://github.com/sniner/adnix for educational purposes
Go to file
Harsh Shandilya 0b71c02b3c fix: upgrade to Rust 1.77.2 2024-04-10 22:04:15 +05:30
.github chore(deps): update jamesives/github-pages-deploy-action action to v4.5.0 2023-11-28 08:00:47 +00:00
.idea Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
src fix: upgrade to Rust 1.77.0 2024-03-29 12:12:39 +05:30
test_data adnix: rudimentary tests for config parser 2020-04-29 02:46:06 +05:30
wix fix: dual-license under MIT and Apache 2.0 2023-10-17 14:03:35 +05:30
.git-blame-ignore-revs chore(git): add Alejandra reformat to blame ignore revs 2023-02-22 18:29:18 +00:00
.gitignore refactor(docs): automatically publish docs from CI 2023-11-03 02:04:36 +05:30
Cargo.lock chore(deps): lock file maintenance 2024-04-09 01:12:32 +00:00
Cargo.toml fix(deps): update rust crate regex to 1.10.4 (#77) 2024-04-05 07:32:54 +05:30
LICENSE-APACHE fix: dual-license under MIT and Apache 2.0 2023-10-17 14:03:35 +05:30
LICENSE-MIT fix: dual-license under MIT and Apache 2.0 2023-10-17 14:03:35 +05:30
README.md refactor(docs): automatically publish docs from CI 2023-11-03 02:04:36 +05:30
default.nix fix(flakes): adjust flake-compat URL 2023-06-25 12:27:53 +05:30
flake.lock flake.lock: Update 2024-04-07 00:17:14 +00:00
flake.nix fix: upgrade to Rust 1.77.2 2024-04-10 22:04:15 +05:30
oranda.json refactor(docs): automatically publish docs from CI 2023-11-03 02:04:36 +05:30
rust-toolchain.toml fix: upgrade to Rust 1.77.2 2024-04-10 22:04:15 +05:30
shell.nix fix(flakes): adjust flake-compat URL 2023-06-25 12:27:53 +05:30

README.md

adnix-rs Version info No Maintenance Intended Built with Garnix

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