Kategorier
Okategoriserade

The Dobble-square

There is a great video by Matt Parker, explaining the maths behind the game Dobble. If you haven’t checked it out yet, please do it now, its great fun. The Dobble cards form a finite projective plane of order 7, and Matt visualize the plane by laying out the cards in a 7×7 square. The […]

Kategorier
Okategoriserade

Programmeringsuppgift: Tomtes julshow

Tomten anordnar varje jul en stor gala för alla nissarna för att tacka dem för arbetet med alla julklappar. Alla nissar samlas i den stora aulan. Tyvärr har det i år blivit högsta mode bland nissarna att ha en hög svart cylinderhatt i stället för den traditionella luvan. Detta ställer till problem under julshowen, eftersom […]

Kategorier
Okategoriserade

MySQL ADO.NET tracing from Powershell

I needed to debug at Powershell script that uses MySQL Connectior .Net, and wanted to enable Tracing. This is fairly easy if you are using ODBC, but a little different when using the .Net Connector. The basic outline is to use Tracing in the System.Diagnosticts namespace. All the examples I found was based on using […]

Kategorier
Okategoriserade

Gör din egen datadiod

En datadiod är en nätverkskomponent vars syfte är att garantera enkelriktad närverkskommunikation. Dioder kan användas för att flytta information mellan nätverk som normalt kräver ”fysisk separation”, eller ”galvaniskt skilda nätverk”. Vid de tillfällen du funderar över att använda en datadiod rör du dig förmodligen i riktigt känsliga IT-miljöer. Då är det viktigt att komponenter du […]

Kategorier
Okategoriserade

Creating a new admin account in Clavister CoreOS

Today i struggled with creating a new Admin account in my Clavister Firewall. There where no hits on google on the specific error message, so I decided write about it. After all, this was the original intention of this blog 12 years ago. Since Clavister does not support LetsEncrypt certificates I was trying to make […]

Kategorier
Okategoriserade Retro

iMac G5 20” Hard Drive Replacement

Due to mysterious reasons, I have lately interested myself in old Mac hardware. I suddenly have some PowerPC based iMacs in my basement. I have never been a Mac user, not even during the later i386 era, but I have always been a big fan of Mac hardware. During my journey learning about Mac OS […]

Kategorier
Okategoriserade

Automating Certbot DNS validation with LoopiaDNS (Let’s Encrypt)

Let’s Encrypt is a free, automated, and open Certificate Authority, and it is really great! Automatic renewal has really changed how we think about host certificates in our servers. The primary automation client for Let’s Encrypt is certbot, and is can easily help you with securing your web site with HTTPS if you run one […]

Kategorier
Okategoriserade

Klarna är vidöppet för bedrägerier!

För en vecka sedan fick jag en faktura från Klarna för en vara som jag inte köpt. Jag hade svårt att förstå affärsmodellen bakom detta, då det rörde sig om ett USB-drivet doftljus för 155 kr. Nu har det trillat in ytterligare en faktura, den här gången på 4521 kr. Den här gången lyckades jag […]

Kategorier
Okategoriserade

Klarna är vidöppet för bedrägerier?

TL;DR; Klara erbjuder privatpersoner att e-handla mot faktura. De tillåter att man specificerar en separat leveransadress, som är skild från din folkbokföringsadress, utan autentisering. Det enda du behöver för att skicka fakturan till “någon annan” är ett giltigt svenskt personnummer. Konceptuell POC (proof of concept) Obs! Att köpa saker och skicka fakturan till någon annan […]

Kategorier
Okategoriserade

Configuring CentOS 7 as PPTP router

Anonymizers are services that provide untraceable access to the Internet. Many of them rely on VPN technologies, and the PPTP protocol is still common among theese kind of services. PPTP has many security problems, and support for PPTP in various products are decreasing. This article describes how to use a Linix host in your local […]