Run Silent. Run Deep.
InfraPatch is an open-source Linux patch management system. it runs a lightweight Rust daemon on each managed endpoint that automatically applies package updates, tracks patch history, and executes scheduled reboots — all reporting back to a self-hosted PHP web dashboard backed by PostgreSQL.
apt)dnf)Debian / Ubuntu:
sudo apt install ./infrapatch-service_1.0.3-2_amd64.deb sudo infrapatch-cli configure sudo systemctl enable --now infrapatch_service.service sudo systemctl enable --now infrapatch-reboot-check.timer
RHEL / Rocky Linux:
sudo dnf install infrapatch_service-1.0.3-2.el10.x86_64.rpm sudo infrapatch-cli configure sudo systemctl enable --now infrapatch_service.service sudo systemctl enable --now infrapatch-reboot-check.timer
when prompted, enter your customer key from the web dashboard. the agent will connect to your database shard and begin reporting within 60 minutes.
| command | description |
|---|---|
sudo infrapatch-cli configure | initial setup using your customer key |
infrapatch-cli status | show last run time and daemon status |
sudo infrapatch-cli sync | trigger an immediate manual package sync |
sudo infrapatch-cli list-servers | list all reporting endpoints |
sudo infrapatch-cli list-updates [hostname] | show pending updates |
sudo infrapatch-cli set-autopatch [on|off] | enable or disable auto-patching |
sudo infrapatch-cli schedule-reboot "YYYY-MM-DD HH:MM:SS" | schedule a reboot |
sudo infrapatch-cli cancel-reboot [hostname] | cancel a pending reboot |
sudo infrapatch-cli set-license | apply a license key |
sudo infrapatch-cli show-deployment-id | show deployment UUID for licensing |
requires: rust stable toolchain, openssl development headers.
git clone https://github.com/bsmgit/infrapatch_agent_GA.git cd InfraPatchLinuxAgent # debian/ubuntu package cd infrapatch_service_daemon_service_deb cargo build --release cargo deb # rhel/rocky rpm cd ../infrapatch_service cargo build --release cargo rpm build
[agent — github] · [web dashboard — github]
InfraPatch is released under the MIT License. see the LICENSE file in the repository for the full text.
bug reports and pull requests via GitHub. general questions and security disclosures: nixsecops@protonmail.com