Reset Command After A Broken NCurses Session

Probably everyone but me who uses the shell knows this secret but just in case I’m not alone I thought I’d share the following wisdom: Quite often I use ncurses based programs such as htop over an ssh session in a shell. And every now and then, the session is interrupted due to some network problem or remote reboot. This means that the shell returns to the prompt but the ncruses mode is still active. In other words, no cursor and strange characters popping up when special keys are pressed or the mouse is moved over the window. So how does one get back into the normal ‘shell’ mode? Turns out the answer is quite straight forward:

Continue reading Reset Command After A Broken NCurses Session

Book Review – The Unix Haters Handbook

The Unix Haters Handbook - CoverBack in 1994, a book was published that I read at the time and up to this day, I am not sure how serious the people who wrote it were about it. Its title: ‘The Unix Haters Handbook‘. Having been in my bookshelf for the better part of the last 20 years, I recently stumbled over it again because quite some time ago, the authors have made an online version available to download for free.

Continue reading Book Review – The Unix Haters Handbook

Raising the Shields – Part 15b – Email Privacy!

Back in 2013 I set out to decentralize and to end-to-end encrypt as much of my private communication as possible (see here how it all began and here for the overall history). It’s been the year of the Snowden revelations and I was (and still am) more than just a bit concerned. Since then I’ve come a long way. It started with installing the Off-The-Record (OTR) plugin in my XMPP desktop messenger, checking certificates with Certificate Patrol, making sure an encrypted connection is always used when I send emails, using TOR for especially sensitive web sessions, automatically deleting cookies when the browser closes, using Nextcloud (Owncloud back then) for file sharing and synchronizing contacts and calendars between my devices, installing my own XMPP messaging server at home, encrypting my frequent remote screen sharing sessions and I started using my own VPN server at home. Lately, Nextcloud talk has become available for voice and video communication, so I’ve also regained a secure and end-to-end encrypted voice and video channel. There are a lot of other small things I have also implemented over the years but one major service has so far only been inadequately protected: eMail! Well, I’ve finally got a fix for that as well.

Continue reading Raising the Shields – Part 15b – Email Privacy!

Still Lots of ‘Red Text’ in the 5G NR Standalone RRC Spec

These days, there is a lot of hype in the press about the race to get 5G networks off the ground. All press reports I’ve come across so far are about non-standalone network deployments in which the 4G network is the anchor for the connection and 5G resources are added when available. For an intro see my post from back last year on 5G Dual Connectivity (EN-DC). At some point, however, we will also see networks that support 5G in standalone mode in which there will be a 5G core network and devices that only talk to to 5G base stations (the gNode-Bs). Today, I wanted to take a look at how the RRC (Radio Resource Control) specification for 5G standalone looks like and was quite surprised that major parts are still missing from the corresponding specification document 3GPP TS 38.331.

Continue reading Still Lots of ‘Red Text’ in the 5G NR Standalone RRC Spec

Security Headers for the Blog

content security header evaluation

The Internet is a dangerous place, lots of bots have nothing better to do than probe for weaknesses everywhere. As you might know, I use WordPress to run this blog and they are pretty quick to fix security issues when they come up. But since I’m quite a bit on the security conscious side, I decided to add an extra layer of armor with HTTP Security Headers for extra protection for me and of course, you, the reader.

Continue reading Security Headers for the Blog

In-Flight Internet in the EU

ean-onlineI’m on planes quite often and on many intercontinental flights, airlines are offering satellite Internet access these days. Unfortunately, quality over the years has significantly deteriorated, the satellites used for the service are probably quite busy these days or airlines artificially throttle throughput to save costs. Who knows… In the US, ground based Internet connectivity on short-haul flights has been available for many years but in the EU, there was nothing similar up to now. However, this is now changing, and when I recently flew from Dublin to Düsseldorf, I could try the new European Aviation Network (EAN) for the first time as a paying customer.

Continue reading In-Flight Internet in the EU