If available, please prefer the package shipped by operating system. If your operating system has a package but you’re running on older version, please use the build from source instructions instead.
$ pacman -S sn0int
$ brew install sn0int
Note that debian doesn’t ship the geoip2-database so we’re going to download them automatically during the first run.
Using rust+cargo from the repos might work for you, but we only officially support rust+cargo installed with rustup. Have a look at the docker image as an alternative.
$ apt install build-essential libsqlite3-dev libseccomp-dev libsodium-dev publicsuffix $ git clone https://github.com/kpcyrd/sn0int.git $ cd sn0int $ cargo install -f --path .
$ docker run --rm --init -it -v "$PWD/.cache:/cache" -v "$PWD/.data:/data" kpcyrd/sn0int
$ apk add sn0int
$ pkg_add sn0int
layman -f -o https://raw.githubusercontent.com/kpcyrd/overlay/master/overlay.xml -a kpcyrd-overlay emerge --ask net-analyzer/sn0int
This is not recommended and only passively maintained. Please prefer linux in a virtual machine if needed.
Make sure rust is installed and setup.
$ git clone https://github.com/kpcyrd/sn0int.git $ cd sn0int $ cargo install -f --path . --features=sqlite-bundled