Skip to content

Releases

v0.8.0

Choose a tag to compare

@davewat davewat released this 10 Nov 01:42

Signed release. Encrypted CA key by default; superseded certs stay revocable; state-file locking; previous config and binaries kept with restore-config; SSH timeouts and keepalives; console session expiry; a warning before firewall rules drop SSH; nebctl verifies its own release signature and pins Nebula checksums.

v0.7.0

Choose a tag to compare

@davewat davewat released this 30 Oct 20:27

Host firewall kept in step with Nebula

Two firewalls see Nebula traffic. Nebula's own firewall decides what other Nebula hosts may reach. The host firewall (ufw) sees every packet, so it has to let Nebula's traffic in too. nebctl now keeps ufw in step on Linux:

  • For Nebula itself: a lighthouse's UDP port from the internet. A node needs nothing, because replies and hole punching use its outbound traffic.
  • Over Nebula, on nebula1: every port Nebula's firewall lets in, DNS included. Nebula still decides which hosts and groups get in.
  • Only its own rules. nebctl tags its rules nebctl and removes them when the config no longer needs them. It never touches other rules.
  • When it syncs: after every config change, from sudo nebctl firewall (-check to only look), and from the console's new Host firewall panel on the Config page.
  • Audit: it now fails when ufw blocks what Nebula allows over Nebula (for example DNS, which stops .internal names resolving), and points to sudo nebctl firewall.

Update the lighthouse to v0.7.0 (the console offers to), then run sudo nebctl firewall.

Install the Mac app

  1. Download NebulaNode-macos.zip, unzip it, and drag Nebula Node to Applications.
  2. Then run:
sudo xattr -cr "/Applications/Nebula Node.app"
sudo chown -R root:wheel "/Applications/Nebula Node.app"

v0.6.0: keep the CA key offline

Choose a tag to compare

@davewat davewat released this 30 Oct 14:00

Keep the CA key offline

  • Take it off the lighthouse. On the console's Certificates page, Take it off this machine shows ca.key so you can save it. Then you paste your copy back. ca.key is removed only if that copy signs a test cert.
  • Paste it to sign. With the key offline, signing or renewing asks for it first. The console keeps it in memory for 15 minutes after you last sign, or until you click Forget it now. It reaches nebula-cert through a pipe and is never written to disk, here or on the lighthouse.
  • Passphrase-protected keys work too: enter the passphrase with the key.
  • In a terminal, sudo nebctl ca sign asks you to paste the key when ca.key isn't there.

The lighthouse needs nebctl v0.6.0. The console offers to update it when you connect.

Install the Mac app

  1. Download NebulaNode-macos.zip, unzip it, and drag Nebula Node to Applications.
  2. Then run:
sudo xattr -cr "/Applications/Nebula Node.app"
sudo chown -R root:wheel "/Applications/Nebula Node.app"

nebctl v0.5.3

Choose a tag to compare

@davewat davewat released this 29 Oct 20:21

Changes

  • .internal names by default. A new network suggests <name>.internal, for example solidpath.com gives solidpath.internal. The .internal suffix is reserved for private networks, so it never clashes with a real domain.
  • Nebula Node no longer opens an empty Admin Console window at launch.
  • Simpler website and README: install the Mac app, set up the lighthouse, join the Mac, manage it from the console.

Install the Mac app

  1. Download NebulaNode-macos.zip, unzip it, and drag Nebula Node to Applications.
  2. Then run:
sudo xattr -cr "/Applications/Nebula Node.app"
sudo chown -R root:wheel "/Applications/Nebula Node.app"

nebctl v0.5.2

Choose a tag to compare

@davewat davewat released this 29 Oct 19:51

Fixes

  • Audit: fix commands quote paths, so paths with spaces such as /Applications/Nebula Node.app copy and run as they are.
  • Audit: when nebctl runs from inside an app, the audit checks that the whole app is owned by root, because the app runs its nebctl as root. The fix is sudo chown -R root:wheel "/Applications/Nebula Node.app".
  • Linux service status: reads "running" or "stopped" the way it does on macOS. The console showed "Not running" for a running lighthouse.
  • Health, nebula version: the latest-release check is cached for 6 hours and waits 12 seconds instead of 5. When it can't check, it says why and still offers Update nebula.
  • Health, tunnels: says why tunnels can't be counted (for example, admin access is off), with a button to turn it on, instead of showing 0.
  • Nebula 1.12: works with nebula 1.12.0, which now exits with status 1 when an admin command fails. Its own message is shown instead of "Process exited with status 1".
  • Console: passes -repo on to the commands it runs.
  • Install steps: now leave the Mac app owned by root.

Updating the Mac app

sudo ditto -x -k NebulaNode-macos.zip /Applications
sudo chown -R root:wheel "/Applications/Nebula Node.app"
sudo xattr -cr "/Applications/Nebula Node.app"

nebctl v0.5.1

Choose a tag to compare

@davewat davewat released this 29 Oct 18:52

Saved key for SSH logins

After the admin console connects to a machine (such as the lighthouse) with a password, it offers to add its own key there. Accept, and the next connection works with Saved key or ssh-agent, without the SSH password. sudo may still ask for its own password.

  • Only the public half is copied, into that user's ~/.ssh/authorized_keys, once.
  • The private half stays in /etc/nebula/admin/console_ed25519 on this machine, readable by root only. Your own SSH keys aren't touched.
  • To revoke it, delete the line ending in nebctl-console@<this machine> from that file.
  • The console tries that key first on every connection. Without an ssh-agent, it now goes on to the other keys instead of stopping.

nebctl v0.5.0

Choose a tag to compare

@davewat davewat released this 29 Oct 15:22

Admin console

sudo nebctl web

Opens a console in your browser, served on 127.0.0.1 only behind a one-time link:

  • Map: the network as this machine sees it, from nebula's own admin server (list-hostmap and the rest). It shows direct and relayed tunnels and hosts still handshaking. Click a host for its cert, addresses and relays, and to close or re-open its tunnel, try another address, or ask the lighthouse where it is.
  • Hosts: the same as a table, plus the lighthouse's address map.
  • Certificates: on the CA host, sign a cert for a new host or sign a request, renew one, or revoke one and push the blocklist to other machines.
  • Config: firewall rules, the lighthouse's DNS, relay and port, a node's lighthouses, log level and format, and Prometheus metrics. Changes must pass nebula -test and apply with a reload where nebula allows.
  • Logs: nebula's log, live, and SIEM forwarding. On Linux, nebula switches to JSON logs and an rsyslog rule sends them to your SIEM's syslog input over UDP, TCP or TLS.
  • Health: versions and updates, the service, cert and CA expiry, metrics, and the security audit.

Lighthouses over SSH: connect the console to another machine with a password, key file or ssh-agent. You confirm its host key the first time. The console runs sudo nebctl app ... there, so the CA key never leaves the lighthouse. If nebctl is missing or older there, it installs a matching one.

Admin access: nebctl now turns on nebula's SSH admin server for new setups, on 127.0.0.1:2242 for a key only nebctl holds. Hosts set up earlier get a Turn on admin access button in the console, which restarts nebula once.

Nebula Node

Open Admin Console starts the console after one password prompt and shows it in its own window, with Open in browser to move it. The app carries Linux builds of its nebctl to install on a lighthouse.

Notes

  • nebctl now depends on golang.org/x/crypto (SSH).
  • Tested against nebula 1.11.2 with a lighthouse and a node on localhost, and with an in-process SSH server. Not yet tried on a real Linux lighthouse: systemd reload, rsyslog, and SSH with sudo there.

nebctl v0.4.0

Choose a tag to compare

@davewat davewat released this 29 Oct 14:00

Nebula Node: a Mac app

NebulaNode-macos.zip holds Nebula Node.app. It runs the same node setup as sudo nebctl node, in a window: install nebula, certificate, lighthouses, firewall, DNS, then apply.

  • It carries its own universal nebctl, so it needs no Terminal steps.
  • Changes go through the standard administrator password prompt.
  • The window also shows the setup, cert expiry and service, with Start, Stop and Restart.
  • Needs macOS 14+, on Apple silicon or Intel.

It is signed ad hoc, not notarized. After downloading:

ditto -x -k NebulaNode-macos.zip /Applications
xattr -cr "/Applications/Nebula Node.app"

nebctl

  • nebctl app state|inspect|check|request|node: the node setup with the answers given up front, printing JSON. This is what the app runs.
  • README: downloads use gh release download --clobber, so updating nebctl replaces the file downloaded last time. Without it, gh leaves the old file in place.

nebctl v0.3.0

Choose a tag to compare

@davewat davewat released this 29 Oct 13:46

Names over Nebula (DNS)

Hosts find each other by name, e.g. ssh fe01.nebula.example.com, without editing any config by hand.

  • A Nebula-only domain. nebctl ca init / ca import ask for it (default nebula.<your domain>). Short names given to ca sign are put under it.
  • Lighthouses answer it. A lighthouse can serve DNS on its Nebula IP, port 53. Nebula's firewall lets udp/53 in; nothing is exposed to the internet.
  • Every host looks the domain up through them. Linux: systemd-resolved, set by the nebula unit each time it starts. macOS: /etc/resolver/<domain>. Only that domain goes to Nebula.
  • Renaming keeps addresses. Signing a short name whose cert sits outside the domain renames it, keeping its IP and groups.
  • sudo nebctl dns turns this on for a network set up before v0.3.0 (see the README, "Turning DNS on for a network set up before v0.3.0").

The Linux resolver path is covered by tests but not yet tried on a real host.

v0.2.0

Choose a tag to compare

@davewat davewat released this 29 Oct 03:57

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.