0x9900


Fred's Blog about Ham Radio, Python, Unix and more...

HTTP Status codes

1xx informational 100 Client should continue with request 101 Server is switching protocols 102 Server has received and is processing the request 103 resume aborted PUT or POST requests 104 Connection reset by peer the closing a socket result in a RST rather than FIN. 122 URI is longer than …

Spam filtering with OpenBSD and making spamming a little harder

Spam is the most annoying thing I have to deal with every day on my servers. Only 3-4 spams make it daily all the way to my inbox, but I got tired of thinking about all the energy wasted by sysadmins blocking unwanted messages, so I decided to do something …

Bash Tip - Beware of spaces

Everyone knows that filenames and variables can contain spaces, but when it comes to writing a shell script most of the shell developers seem eager to forget that fact and write scripts that do not safely handle filenames containing spaces. I can't count the numbers of time I saw people …

Bash Tip - The importance of testing that variables are defined.

When writing code it's important to make sure all the variables are defined. Using an undefined variable can lead to all sorts of problems. Your program may fail randomly or run commands with unexpected results. Almost all languages raise an error when the program tries to access a variable that …

Using OpenBSD to build a secure access point

At home I have two networks, one for my family and me and one for my guests. Once you are on the family network you can access our backup server, our music and video server, our printers, etc. The guest network can only access to the internet.

Build you own stratum-1 NTP server for less than $100

You can build a highly accurate Stratum-1 NTP Server for less than $100 using an old Wyse WinTerm, a GPS and a few electronic components.

How SSD works

Everybody thinks SSDs are lightning fast. Of course there are no spinning disk platters and no head positioning. Everything is done in memory therefore they should be fast. But if you use an SSD for your database, you'll start with amazing performance levels that quickly diminish. Here is why. Unlike …