Tech Blog   (18 posts)

Random   RSS   Atom

  Searches stay local. No external search engine is involved.

Found 18 results for “category:linux”   Clear search

Disk Caching with SSDs on Linux and Windows

… performance related advances in storage technology, for both Linux and Windows, which I was previously unaware of. The machine dual boots Debian GNU/Linux and Windows 8. I don't normally use Windows for …

Protecting Your GNU/Linux System from Dropbox

… whitelisted files. Non Debian based systems probably want to use SELinux for this instead. There are plenty of AppArmor tutorials out there, so I wont go into details on how to use it. Basically, you use the …

Using Linux to Monitor Room Temperature Remotely and Cheaply

… runs Ubuntu, so I looked for a USB thermometer which is supported under Linux and came across the TEMPer Winter USB Thermometer on Amazon. For only Β£15.49 (including delivery). I decided it was worth a try. It took a …

Smart Cards and SSH Authentication

… which does the same authentication task that gpg-agent provides in the Linux environment. Putty by default attempts to authenticate using "pageant" if it's available, so as long as you make sure it's running, and as …

Daily Automatic Updates, Safely

… some of my self-hosted projects to run on top of Flatcar Container Linux, so my host OS is both minimal and automatically kept up to date, including kernel updates, with automatic rollbacks on failure. The eMudhra …

Sandbox Rust Development with Rust Analyzer

… b.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-linux -o /rust-analyzer RUN chmod 755 /rust-analyzer ENTRYPOINT ["/rust-analyzer"] EOF fi docker run \ -u $(stat -c '%u:%g' .) \ -i --rm \ -v …

Protecting a Laptop from Simple and Sophisticated Attacks

… take advantage of GPS data. Incidently this card also works fine under Linux using MBM. Hopefully, the thief will be too lazy or too dumb to do an immediate full reinstall of the OS, as it will just work out of the …

Immortal SSH Sessions

A tiny sshx wrapper runs mosh with screen, so my SSH sessions survive network changes, sleeping for days and even a laptop reboot.

Self Building and Executing Dockerfiles

A shebang trick that makes a Dockerfile executable: running it builds the image with podman and runs it with your args. My example wraps yt-dlp.

Manage Firewall from Dockerised NodeJS

Running iptables and pcap from a Node app in Docker without root: a setuid xtables binary, setcap on node, NET_ADMIN and NET_RAW, and host networking.

Nginx Restic Backend

I replaced Restic's Rest Server with plain Nginx, using the DAV and Lua modules and JSON autoindex to give append-only backups with per-host credentials.

GPG Agent Forwarding

With OpenSSH 6.7 or later on Debian Stretch, one RemoteForward line in ~/.ssh/config lets me use gpg on a server without my private keys being on it.

New Year Bug in At Command

On Debian Lenny and Ubuntu, running 'at tomorrow' on 31 December 2010 scheduled the job for January 2012, a full year late. Check the date it reports.

Tor Circuits with Two Hops on Ubuntu

Tor is slow with three hops. I patched DEFAULT_ROUTE_LEN and rebuilt the Debian package on Ubuntu Lucid for two-hop circuits, at some cost to anonymity.

Setting up IPv6 is Easier Than You Think

I gave my Linode VPS IPv6 through a free Hurricane Electric tunnel in minutes, then set up AAAA records, reverse DNS, mail, Apache and ip6tables.

Accessing Memcached from Exim

Two Exim macros using the ${readsocket} expansion to set and get values in memcached from ACLs, with expiry, plus a bug in Debian Lenny's package.