Skip to content

v0.2.0

Choose a tag to compare

@davewat davewat released this 29 Oct 03:57
· 14 commits to main since this release

New: sudo nebctl audit

Reviews the security of the machine nebula runs on, which matters most on a lighthouse because its UDP port faces the internet. Each finding is FAIL, WARN, info or pass, and every finding that needs work comes with the commands that fix it. The audit only reads and changes nothing.

  • Nebula: checks that the service is running and that no hand-started nebula is running beside it. Also checks the nebula version, cert and CA expiry, that only root owns the keys, config and binaries, whether ca.key is on an internet-facing host, and nebula's own firewall rules.
  • Host (Ubuntu/Debian): checks the host firewall (ufw, nftables or iptables) and whether the lighthouse port is allowed. It also checks public listeners, SSH (passwords, root login, exposure, fail2ban), unattended-upgrades, pending security updates, a pending reboot, kernel network hardening, and UID 0 and empty-password accounts.
  • It exits 1 while any FAIL remains. -json gives machine-readable output, and -offline skips the GitHub version check.
  • It's also in the interactive menu as "Security audit of this machine".

The README's download commands now fetch the latest release.