Repository navigation
fix(security): check the hub's host key, bind Jaeger's UI to the tailnet, turn off the VMs' password - #111
Merged
Conversation
…net, turn off the VMs' password - ansible.cfg checks host keys again. group_vars/hub.yml records the hub's key at the first connection (accept-new); the VM connections keep the check off for the VM only, since a reclone gets a new key. - Jaeger's UI listens on the hub's tailnet address (tailscale ip -4); the OTLP receiver stays on each interface for the VMs. - A play sets the VM user's password to '*' on each run, so running VMs and new clones need no rebake; key login and NOPASSWD sudo are unchanged. - The firewall's block-all change is kept and documented in specs. Closes #87 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Specs: osapi-io/specs#690
The four settings of #87, as the owner approved:
ansible.cfgchecks host keys again.group_vars/hub.ymlrecords the hub's key at the first connection (StrictHostKeyChecking=accept-new) and refuses a changed key. The VM connections (vm_inventory,lab_vm,client's ssh_config) keep the check off for the VM only; the jump to the hub reads~/.ssh/known_hosts.tailscale ip -4. The OTLP receiver stays on each interface, because the VMs send on the vmnet bridge.lab.ymlsetsadmin's password to*on each run, so running VMs and new clones get it with no rebake.*matches no password and, unlike a lock (!), leaves key login when sshd runs without PAM. I did not changepacker/: any change there makes eachjust bumprefuse until a fulljust deployreclones the VMs. Recovery istart exec lab-<vm> <command>on the hub.Lab check (session osapi-lab-87,
just deploy jaeger && just restart vmsfrom this branch): failed=0 on the hub and all five VMs, with host key checking on. Jaeger listens on100.67.100.96:16686(tailnet) and*:4317. The UI answers 200 on the tailnet name, nothing on the LAN name or on the vmnet.1; OTLP 4317 is open from ubuntu-1. On all five VMs key SSH andsudo -nwork andadmin's hash is*; a password login withadminis refused. Not seen: an agent span in Jaeger, because every job fails while the job store is full (osapi#1714); the controller and CLI spans arrive.Closes #87
🤖 Generated with Claude Code