The first real content update in a few years is a new (old) set of photos from 2021 - Durham, North Carolina, USA. There’s a ton more, and a long story to share, but I have to start somewhere. These pictures were picked in 2022, but I never got the publish them until now.
(Permalink)It’s been a while since the last change. A lot has happened. I manage the site content in a Git repository, and just today I commited changes from 2022. It was that bad. Needless to say, it wasn’t exactly smooth sailing upgrade Python from one version to another. For example, Python-markdown was no longer functioning as expected - and I first blamed Sigal instead.
The actual content changes will go out as another post.
(Permalink)Use timeout(1) to terminate application that runs for too long (and to sleep
for a fraction of a second), and stdbuf(1) to disable buffering.
My first trip to anoter country with snow at location, more than 100 km from Finland. Free accommodation was available in Marburg, so that’s where I’d be going. No particular purpose, but local activities may have included a bit of geocaching.
(Permalink)
A seven day roadtrip to Norway. 3500 kilometres by an estate car with three passengers (including driver), a tent, sleeping bags, and great scenery. Admittedly much time was spent driving in Finland but it’s the thought that counts.
(Permalink)OpenSSH has built-in connection multiplexing. I’ve been using SSH for two
decades, and only now I realise SSH comes with connection multiplexing. See
ssh_config option ControlMaster.
I use SSH daily. I create and use SSH tunnels daily. To name a few uses, I use SSH tunnels for database connections, HTTP connections, and for SSH connections. I used to connect to x11vnc over an SSH tunnel. I create tunnels that require two hops. However, never have I used SSH connection multiplexing. Until tonight.
Host foo
Hostname example.com
ControlPath /var/run/user/1000/%r@%h:%p
ControlMaster auto
ControlPersist 10m
This simple config will /automagically/ start a master process on first
connection to foo, and share that for future connections. Master is killed 10
minutes after the last client disconnect.
I am sure there are benefits in having dedicated process for each connection. I am sure there are drawbacks in connection multiplexing. For now, I’m just happy to learn something new.
(Permalink)portscan is super simple TCP port scanner for a particular purpose. It exists because I was too lazy to read nmap manual about timing options and I wanted to scan a host for open ports. Also, it was a perfect opportunity to have another learning experience with Golang. This tool will trigger each and every IDS along the way. You should use nmap instead.
Should you want to proceed against all the odds, you can find the sources at GitLab).
(Permalink)xmlstream is a Golang package for streaming XML output. It was created to replace raw text output of gpx-to-kml. Conveniently both also served as a little exercise at Golang. Little documentation exists as of yet.
You can find the sources at GitLab.
(Permalink)