Aug 15, 2014
Aug 13, 2014

VIM: F1 as Esc

The ergo keyboard I’m trying out has the F1 key directly over the `/~ key. Thankfully the Esc key is still the top-left most key, but my muscle memory keeps hitting the F1 key. I needed to remap this so I wouldn’t go insane dropping into the vim help.

:nmap <F1> 
:imap <F1> 

This link helped figure out the correct mapping to setup:

Jul 9, 2014

Installing Python 2.7.6 on CentOS 6.5 -

Still having to deal with this.

Jun 12, 2014
May 15, 2014

Kings Of Crunk by Lil Jon & The East Side Boyz

One of the best hip-hop albums of all time, not because it’s a showcase of rapping talent, but just because it jams hard.

May 1, 2014
Apr 15, 2014
Mar 6, 2014
dict.copy() always returns a turd-free dictionary
Feb 20, 2014
he’s about to get gang banged on the code review
Feb 20, 2014
Jan 31, 2014

You Might Not Need jQuery

Jan 28, 2014

Debugging SSL traffic with ssldump and nginx

I have recently needed to inspect some SSL traffic to a server and it took me longer than 15 minutes to figure it out. I’ve documented what worked for me here.


ssldump 0.9b3
OpenSSL 1.0.1e-fips 11 Feb 2013

Using a centos VM in EC2, have nginx installed with ssl module receiving traffic on port 443. This is the relevant changes to the conf that I had to make to get it to work:

ssl_ciphers                          MD5;
ssl_protocols                       SSLv3 TLSv1;
ssl_prefer_server_ciphers   on;

Notably I had to dumb down the ciphers nginx was allowed to use and specifically use one that I knew ssldump could decrypt (you can’t use any of the elliptical curve diffie hellman ciphers with ssldump, it just aint gonna work).

I then ran the ssldump command like so:

ssldump -a -A -H -d -k /opt/nginx/ssl/server.key port 443

I was able to see decrypted traffic coming and and continue debugging my problem. Yeehaw.

Jan 27, 2014
Jan 26, 2014
Jan 24, 2014
« To the past Page 1 of 33