Rust reimplementation of https://github.com/sniner/adnix for educational purposes
Go to file
Harsh Shandilya ed35a47472 chore(git): add Alejandra reformat to blame ignore revs 2023-02-22 18:29:18 +00:00
.github feat(ci): disable GHA workflow 2023-01-23 18:54:45 +00:00
.idea Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
src Migrate to clap v4 2022-09-29 11:37:09 +05:30
test_data adnix: rudimentary tests for config parser 2020-04-29 02:46:06 +05:30
.git-blame-ignore-revs chore(git): add Alejandra reformat to blame ignore revs 2023-02-22 18:29:18 +00:00
.gitignore Add IntelliJ stuff 2020-03-31 00:14:07 +05:30
Cargo.lock chore(deps): bump cargo deps 2023-02-16 14:23:18 +00:00
Cargo.toml fix(deps): update rust crate clap to 4.1.6 2023-02-15 20:45:14 +00:00
README.md chore(readme): add Built With Garnix badge 2023-02-16 14:13:02 +00:00
default.nix chore: reformat Nix files with `alejandra` 2023-02-22 18:25:01 +00:00
deny.toml fix(deps): allow Unicode-DFS-2016 license for unicode-ident 2022-08-31 11:53:41 +05:30
flake.lock chore(nix): bump flake inputs 2023-02-20 03:27:25 +00:00
flake.nix chore: reformat Nix files with `alejandra` 2023-02-22 18:25:01 +00:00
rust-toolchain.toml rust: add rust-toolchain file 2022-07-05 02:29:28 +05:30
shell.nix chore: reformat Nix files with `alejandra` 2023-02-22 18:25:01 +00:00

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