Runbooks newest first. By topic: Topics.
Copy files over Telnet/SSH with base64 or uuencode
No SCP or SFTP? Ship the file as text with base64 or uuencode and rebuild it on the other end.
Runbooks newest first. By topic: Topics.
No SCP or SFTP? Ship the file as text with base64 or uuencode and rebuild it on the other end.
Three pieces so a hang costs a minute instead of hours: the watchdog reboots, dropbear in the initramfs lets you type the LUKS passphrase over SSH, and netconsole keeps the kernel’s last messages on another box.
OPNsense adds reply-to to WAN rules and sends replies to the gateway even when the client is on the same segment. Disable it and the firewall goes back to its routing table.
The classic oobe\bypassnro trick, how to revive it via registry after Microsoft removed it, and the modern start ms-cxh:localonly alternative.
NS auth.example.com → acme-dns; POST /register → username, password, fulldomain; CNAME _acme-challenge.example.com → . certbot certonly –manual –manual-auth-hook /etc/letsencrypt/acme-dns-auth.py –preferred-challenges dns -d ‘*.example.com’ -d example.com. On Kubernetes, the dns01.acmeDNS solver with accountSecretRef. acme-dns 2.0.2 (February 2025) is still active.
badblocks -b 4096 -sv /dev/sdX. The block counter is 32-bit and with 1 KiB blocks it stops at 4 TiB; with 4 KiB it covers 16 TiB. -w wipes the disk; for a quick check, smartctl -t long.
kubectl patch prometheus … enableAdminAPI true; POST http://localhost:9090/api/v1/admin/tsdb/snapshot; kubectl exec … tar cf - -C /prometheus/snapshots NAME | tar xf -. Restore = copy the blocks into the root of the new instance’s data dir. The API has no authentication: port-forward and turn it off when done.
{prefix}{significant destination octets}{router} per route, in hex; 0.0.0.0/0 has zero destination octets. Always include the default route in 121, because the client discards the option 3 router when it receives 121. Windows asks for it as 249 besides 121; Kea 2.4+ writes it as ‘192.0.2.0/24 - 192.168.1.254’; MikroTik as 0x… with code=121.
Logs Explorer with resource.type=vpn_gateway and the IKE status text. ‘peer not responding’ = IKE version, PSK, IP or UDP 500/4500; ’traffic selectors narrowed’ = phase 2 subnets that do not match. With pfSense and BGP: permit route maps in/out or no routes are accepted.
Pool + OIDC provider with issuer token.actions.githubusercontent.com and an attribute-condition on repository_owner; roles/iam.workloadIdentityUser to the repo’s principalSet; auth@v3 with workload_identity_provider and service_account. No secrets to rotate.