pfSense and IPv6 in KVM under SmartOS
IPv6 and SmartOS doesn't really get along that well, for instance you'll have to set allowipspoofing to true to even get it to work inside a VM. Now, there's another problem... SmartOS uses the same...
View ArticleHow to do a simple backup of your webserver
I admit I don't backup my data enough, at least not on my servers. My workstations use Time Machine, but my servers tend to not be backuped enough. Today I made a simple backup for my webserver. The...
View ArticleMailserver under SmartOS - The somewhat bumpy road to success
I've been running my own mailserver for ages now, and the most natural thing to do was to migrate it to a SmartOS SmartMachine. Easier to snapshot and hopefully getting better performance since fully...
View ArticleDMZ with SmartOS and pfSense
I've had a single LAN for ages, one router/firewall and the rest of my machines behind it. This is alright, but I've meant to set up a DMZ. The DMZ is now in place, and it resides on a virtual network...
View Articleop5 and SSL errors (once again)
NRPE tends to spew out a lot of "could not complete SSL handshake". One solution is to enable (force) all commands using nrpe in op5 to use SSL. Change them from "checknrpe -H $HOSTADRESS$..." to...
View ArticleUniFi from Ubiquiti, my new access points
Most of us probably don't need more than one AP, me included, but I'm not ashamed to admit it... I'm a nerd. I love gadgets and hardware! It was time for an upgrade of my WiFi. After some research I...
View ArticleMoving the blog to Ghost
I've moved the blog to Ghost, a blogging platform written in Node.js. Why, you might ask? Performance and bloating. Ghost is quicker than Wordpress and also doesn't have a gazillion features I don't...
View ArticleSecuring a SmartOS machine with two factor authentication
Ben Rockwood @benr wrote about Duo Security a couple of years ago (http://cuddletech.com/?p=594) and since then it has been made a part of the SmartOS standard repository. It's quite easy to set up....
View ArticleCreating a custom motd in the SmartOS global zone
I've done this using a custom SMF xml-file and some simple scripts. SMF Add a file in /opt/custom/smf called postboot.xml. The contents should be: <?xml version="1.0"?> <!DOCTYPE...
View ArticleUpdating Graylog2 from 0.90.1 to 0.91.3
Graylog2 is, in my opinion, a wonderful tools for collecting and searching your logs. The only problem I've had so far was updating it in CentOS, which my server is using as OS. Here's a quick guide on...
View ArticleNew job, new workstation
I have left my old position at the Linnaeus University, that means I lost my workstation. I used to have a 15" Macbook Pro Retina, upgraded with max RAM and 512 GB disk. My new job (backend sys tech at...
View ArticleHomeAutomation, tdtool and SELinux
I have a TellStick which I use to control my home lighting. This together with HomeAutomation makes turning on and off light from a phone, computer or script a breeze. But, there is always a but, this...
View ArticleGraylog and clustered Elasticsearch
Graylog is good, great in fact, and one of the reasons it really rocks is Elasticsearch. This nifty search server stores all the log files indexed in Graylog and you most probably will run into trouble...
View ArticlepfSense 2.2 firewall log extractor for Graylog
I've created a simple extractor for pfSense firewall logs. Extractors use regex on incoming logs to extract pieces of information that I want separatley and I will then be able to filter on those...
View ArticleSetting up a HA Graylog cluster
Graylog is one of the best OSS projects I've ever come across. When deployed in a simple setup (all nodes on the same machine) there's a pretty good guide in the Graylog documentation, but I've been...
View Article