SSL invalid certs and chrome


If you run into situations where you have a LOT of self signed certs on the sites you’re visiting.

The new way to bypass this screen is to type badidea

SSLgate and F5 Bigip profiles


Over the last year, hopefully you haven’t been under a rock and have been aware of all the issues with SSL attacks. I’m sure this post will be outdated, and it isn’t the end-all and be all of fixing this, but it may help someone.

In the SSL profile section on the big ip, use the following:


This allows the default as set on your F5, allow TLS v1, TLS v1.2 and disallows SSLV3, SSLV2 and RC4. There are of course other vulns out there!

Keeping your JRE updated in ubuntu


With the amount of security fixes coming out for java as of recent, it’s been tough for package maintainers to keep up. As a result, I’ve found it necessary to manually keep track and update java JRE.

There are much simplier ways of keeping up to date however. One such way is to use the dunisoft script by adding their deb respository and installing their update-sun-jre scripts.

My current daily workstation runs Ubuntu 14.04 which is a LTS (Long term support) release and the duinsoft method works best for my needs

Terminating a stuck or frozen ssh session


I thought that I’d enter a quick post tonight about quickly and easily terminating a stuck or frozen ssh terminal. Most people know these keystrokes, so this is geared towards those new to linux and ssh.

If your session is stuck, to terminate the ssh session, type these keystrokes separately:

"Enter" , "Tilde(~)" and "Period(.)"

These three simple keystrokes should then terminate your current ssh session.

To be more adventurous, if you keep ssh sessions open to systems outside your network, you can use autossh with screen. Will cover this in another post

disk cloning


If you use linux, you must have run into the dd command at some point in time.

On most distributions, dd and ddrescue come standard, and with these simple tools, you can zero a disk partition or even copy a disk directly.

For example, in order to copy a disk using dd:

$ dd if=/dev/sda of=/dev/sdb 


$ ddrescue -v --force /dev/sda /dev/sdb

I prefer the second as it will show you the current status.

Other options include using a clonezilla cd which works on multiple platforms, and also allows you to boot to a shell and issue the above commands if needed.

Mechanical Keyboard Review Part 2


So I finally decided to update my post on my search for a great mechanical keyboard.
After more research, I caved in and bought a Filco majestouch 10keyless from

I also ended up picking up a keycool 10keyless as well for work.
All in all, typing on these keyboards seem to have sped up my typing. They also do not seem to exhibit the keystroke issues I noticed.

Mechanical Keyboard Woes


Haven’t posted in a while so I thought I’d share some issues with my quest to purchase a keyboard that would suit an admin and student that is in front of a computer for > 12 hours a day at a time currently. I started finding that my regular membrane keyboard would give me finger fatigue from typing all day long.

Here are a few models I’ve tried and the issues with them so far:

Das Keyboard Model S Professional:
Excellent keyboard with Cherry MX Blue keys.
I honestly loved this keyboard but it was too noisy for an open office environment. I would recommend this to someone that intends to use this for gaming or for their home office. If it weren’t for the fact that the keyboard was too loud for my work environment, I would have kept it.

Corsair Vengeance K60:
Marketed as a gaming keyboard due to the swappable contoured keys with Cherry MX Red switches.
I used this keyboard for quite a few days, the keys are great for someone doing a lot of typing. The main issue that I had with this keyboard may not apply to most people. As an admin, programmer and unix user, I often use the | (pipe) command a lot. I thought I was having a one off issue with my keyboard but today I realized that when I type |, I often hit a shift-pipe-spacebar combination. On this keyboard, the result is the following combination of keys being output:

|| ||

This of course has driven me nuts and I will be returning this keyboard today. Even though the keys are great, I believe I should get a keyboard with cherry mx brown keys.

I will update the post when I find my replacment.

Editting .cpp files in vim with syntax highlighting


Since I do a lot of editing in vim, and I, like many other coders would rather see highlighted syntax instead of plain text. The quick and dirty tip is to issue the following command:

:set syn=cpp since in my case i’m using c++, except for the glomosim network simulator, the file extension is .pc

Hope this helps someone out there.

Using Mplayer to dump a shoutcast audio stream to mp3


Here is an easy and simple way to save an audio stream using mplayer

mplayer -dumpstream  http://URL:PORT/PATH -dumpfile FILE.mp3

Disable IPV6 in Windows 7


So today is IPV6 day. Hopefully you haven’t been living under a rock for the last little while and know about it.
Read the following for instructions on how to disable ipv6 in windows 7:

1. Disable IPv6 for LAN adapter & interfaces

1. Open up the “Control Panel” and then the “Network Sharing Center”:

Network Sharing Center in Windows 7

2. Click on “Change adapter settings”:

Change Network Adapt Settings in Windows 7

3. Right-click on your network adapter, usually “Local Area Connection” and click on “Properties”:

Local Area Connection in Windows 7

4. Uncheck “Internet Protocol Version 6″ and click on “OK”:

Disable Internet Protocol Version 6
2. Disable IPv6 for tunnel adapter & interfaces

If you are not familiar with editing the registry, I created a .reg file for you that you can use to add the registry key and disable IPv6. To verify that this file is ok, open it with a notepad once, it only includes the following lines:

Windows Registry Editor Version 5.00


Link: Download Disable IPv6 Registry Tweak (.reg file)

Alternatively, you can simply do it yourself, it shouldn’t be too difficult:

1. Open up the registry.


2. Uncollapse [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\]

3. Next, we create a new 32-bit registry key: “DisabledComponents”:

By the way, even if you are on 64-bit system you have to create a 32-bit registry key only, because it only reflects the size of the registry key. A 32-bit registry key can store a maximum value of 2,147,483,647.

Create 32-bit DWORD registry key

4. Enter: “DisabledComponents” when prompted for a name.

DisabledComponents Registry Key

5. Double-click the newly created registry key and copy and paste the value: ffffff (8f)

6. Restart your PC and you are done: You just disabled IPv6 in Windows 7!

Go to Top