Tired of always having to enter your 200+ character password into terminal when you use SSH? Well there is an easier way to do it that requires no password and is still just as secure! Have this nice little tutorial on setting up SSH Public/Private keys so you don’t have to use a password each time you SSH into a system.
For the past month or so my storage box has been driving me insane. Whenever I SSH into the box, after about 30 seconds it would always disconnect me. I checked everything from routes, to firewall rules, and nothing was amiss. I spent weeks looking for the cause of these SSH Disconnects, but to no avail. That is, until recently. After some extreme googling, I was able to figure out the cause and I had to share it. Continue reading
After searching the internet for a monitoring solution for my network, I can finally say I have found the best contender, and its worth sharing. Consider this a update/solution to my previous rant about monitoring software.
How does a painless, easy install sound? How about cross platform support? Would you like Graphing/Logging of network traffic and system resources? What if I said it was based on PHP/SNMP, and it is 100% free and open-source? Ladies and gents, let me introduce you to Observium!
This is technically a continuation of my post Here, but I felt this deserved its own post. If you are like me, and have Samba mounts that HAVE to be in place and ready right after boot, you want a way to make sure the drive is mounted before the system fully starts up. Well, I made a nice little script that will check a samba mount at boot time.
CoovaChilli is an open-source captive portal system for linux that I personally use to run a free wireless access system around my area. The reason I use coovachilli instead of, oh I don’t know, nocatspash, is that with CoovaChilli I can not only limit speed per each connection, but I am also able to log IP and MAC Address’s to prevent abuse. So, lets go install coovachilli.
So I recently invested in a new storage server and set it up as a NFS server so I could set up HA to prevent downtime with my VM’s when I had maintenance to do on my Proxmox Hosts. The problem is that if I use iSCSI it sends the drive as a block device that a single VM can use and the problem with NFS for me is that it was extremely slow (need to do more research on this) but when the server was setup with samba, I was able to get 113MB/s both ways to the box from my desktop (8x 300GB SATA drives in raid 10). So why not just use samba with proxmox?
So I finally decided to make the jump to virtualization. Sure the performance is 1-3% slower then running on raw hardware, but the features gained from this way outweigh the cons. Now I can do backups on the fly, snapshots, quickly move resources around machines, and its all free thanks to Proxmox! Proxmox is a Linux Debian based distro that utilizes a custom kernel with support for OpenVZ and KVM. I’l go more into depth on Proxmox later, but for now here is my situation.
Having trouble with getting FTP to work on a server with iptables? Is your server stalling out when trying to enter passv FTP mode? Well this here is the quick fix for that. Its one of those little things thats nice to keep documented.
Recently for a fun project, I decided to set up an automated shared web host to test my coding abilities. I decided to go with a simple name, similar to one of my other domains. I ended up with Chris Host It. Sure its cheesy and not very professional, but this is just a test project after all. The problem was the back end I went with didn’t secure PHP as well as I wanted it to by default, so I had to fix that up. So here is a quick guide on securing PHP when using Virtualmin.
If you are like me, you always want the latest technology. IPv6 is the next BIG step up for the internet. It is a replacement protocol for the current IPv4 addressing system that is currently close to depletion.
What does this mean? Well with IPv4 the max amount of addresses possible is 4,294,967,296. Problem is they have all been handed out to ISP’s and companies. This is where IPv6 comes in. the IPv4 format is xxx.xxx.xxx.xxx, where xxx = 0,9.
Well, with IPv6 the address format is xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx where xxxx= 0-9 and a-f. This means there are 340,282,366,920,938,463,463,374,607,431,770,000,000 possible IPv6 addresses! With ipv6, address depletion will be a thing of the past.
So to stay with the game, I decided to deploy IPv6 on my servers. The only issue with it though is that my ISP seems to only offer it through a tunnel, or a IPv6 6rd tunnel to be exact. So after spending awhile with trial and error, here is how I access charters IPv6 network.