Go to file
2024-04-30 22:02:31 +00:00
src init: add code 2024-04-17 21:14:44 +03:00
.gitignore init: add code 2024-04-17 21:14:44 +03:00
.gitlab-ci.yml feat: add cicd pipeline 2024-04-17 18:22:20 +00:00
Cargo.lock init: add code 2024-04-17 21:14:44 +03:00
Cargo.toml init: add code 2024-04-17 21:14:44 +03:00
LICENSE feat: i forgot to add agpl 💀 2024-04-30 22:02:31 +00:00
README.md fix: video not embedding 2024-04-18 11:28:21 +00:00
shell.nix init: add code 2024-04-17 21:14:44 +03:00

pasternakctl

A lightweight dedicated activator for the PASTERNAK Network-Activated High-speed Killswitch

Installation Instructions

Arch Linux

sudo pacman -S rust cargo
git clone https://git.xorycode.dev/xory/pasternakctl
cd pasternakctl
cargo build --release
sudo cp ./target/release/pasternakctl /bin/

Debian Linux & Permutations

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://git.xorycode.dev/xory/pasternakctl
cd pasternakctl
cargo build --release
sudo cp ./target/release/pasternakctl /bin/

Configuration file - MANDATORY

Then, create a configuration file similar at ~/.config/pasternakctl/hosts containing the IP addresses of every computer on your network, with a format similar to this:

192.168.1.2
192.168.1.3
192.168.1.4
127.0.0.1

WARNING: 127.0.0.1 / 0.0.0.0 / localhost MUST be placed last otherwise the program WILL NOT work properly!