Dangerous Things
Custom gadgetry for the discerning hacker

The Store is now open! Check out the gadgetry »
Like what you're reading?
Share It.

software

Getting HTTPS to work for WordPress when behind a reverse proxy

Getting HTTPS to work for WordPress when behind a reverse proxy

Friday, January 4th, 2013

I recently had an issue with https functionality in WordPress when working behind a reverse proxy like Pound or nginx. I’m running Pound, so the solution for me was to add specific proto headers to the pound.cfg file; ## HTTPS listening ports ListenHTTPS HeadRemove “HTTP_X_FORWARDED_PROTO” HeadRemove “X_FORWARDED_PROTO” AddHeader “HTTP_X_FORWARDED_PROTO: https” AddHeader “X_FORWARDED_PROTO: https” ## HTTP […]

How to fix a bum package or force a re-install on CentOS

How to fix a bum package or force a re-install on CentOS

Sunday, December 2nd, 2012

I recently had a package show up in yum as being installed, but it was not or had been manually removed, so the yum removal process was broken and the ghost package was causing a yum update to fail. The solution was to use rpm to simply and safely remove the entry from the database, […]

Extended error logging for QLogic QL4052C in ESX

Thursday, September 13th, 2012

Every piece of documentation online says that do turn on extended logging for the QLA4xxx iSCSI HBA adapters, you issue this command; esxcfg-module -s extended_error_logging=1 qla4xxx However, after many back-and-forths with QLogic support, it turns out the new driver uses a new name for the extended error logging option; esxcfg-module -s ql4xextended_error_logging=1 qla4xxx Furthermore, to […]

ToorCamp 2012 Write Up Wrap Up

ToorCamp 2012 Write Up Wrap Up

Monday, August 13th, 2012

Well ToorCamp 2012 is over, and there is plenty to show for it. I ended up going after winning a ticket by answering a GeekWire tech-tune challenge correctly, and offered to write a few “camp journal” style posts for them while I was at it. GeekWire – Arrival (pdf) – Day 1 (pdf) – Day […]

Compiling Pound reverse proxy on CentOS 5.x

Sunday, July 22nd, 2012

This post is another “just for me” reminder on how to do something, but it might be useful for some people so I’m making it public. To install a current version of Pound on CentOS 5.x, you need to make a couple tweaks; yum install gcc – If you don’t already have the compiler installed, […]

How to compile and deploy an AnyCPU targeted COM DLL built with VB.NET 2010

How to compile and deploy an AnyCPU targeted COM DLL built with VB.NET 2010

Saturday, April 21st, 2012

In moving servers and workstations to the 64 bit architecture, occasionally you run into ridiculous limitations with components you’ve been used to working with for years… namely, they don’t work. Even Microsoft offers 32-bit only components that fail to load when you try to leverage them through IIS on a 64 bit OS. I just […]

Use MRTG to graph OutBack Power system data from the MATE3

Use MRTG to graph OutBack Power system data from the MATE3

Wednesday, November 2nd, 2011

I’ve been using an OutBack Power Systems FW500 inverter system in my funky datacenter for a couple years now. So far I’ve been impressed, but one of the issues I’ve run into has to do with simply pulling power system data from the MATE via RS232 serial connection. I’ve connected the MATE to a USB […]

It's easier being everyone's go-to IT guy with UltraVNC SC

It’s easier being everyone’s go-to IT guy with UltraVNC SC

Wednesday, July 20th, 2011

Being an IT guy these days must be what it was like being a car mechanic in the 50s and 60s… before you needed seriously expensive tools and diagnostic devices that only car shops can afford now. In the IT realm, diagnostics and repair are still done with smarts, experience, and if necessary, free (usually) […]

Roaming profiles and folder redirection for multiple domain forests

Thursday, February 18th, 2010

I started dealing with multi-domained Windows forests and many of the scripts and group policy settings currently being used only work with a single domain set up, or would work better if the domain name was taken into consideration. For example, folder redirection for two users named James Smith, but who work in totally different […]

Resetting Dell DRAC passwords through software

Resetting Dell DRAC passwords through software

Monday, February 1st, 2010

A while back I posted about resetting HP iLO card passwords through software. I’m following that post up with one about doing the same with Dell’s DRAC remote access cards. You may have forgotten the password, mistyped when setting a new password, or even acquired a used DRAC card with unknown an password. The good […]

Get Adobe Flash player