Technical notes

Articles

Security engineering notes, network defense walkthroughs, and practical technical references.

October 10, 2017

Benchmarking Websites with ab and tsung

Everyone appreciates a responsive website, and because I host several, I am always looking for ways to improve their performance. Previously, I was interested in, HTTP, HTTPS, and HTTP…

July 11, 2015

Graphing Namebench Spreadsheet Data with R

In the previous post, I described the process of benchmarking domain name servers for a website domain with a modified version of Namebench. Namebench genera…

June 14, 2015

Benchmarking Website Domain Name Servers

This post evaluates a few methods to benchmark name servers that provide resolution of your website's domain name to its respective IP address. While DNS reso…

February 27, 2015

Building Apache and ModSecurity from source

This article describes how to deploy ModSecurity on a reverse proxy to protect several WordPress sites that I host. There are numerous guides describing how to ModS…

December 30, 2014

Redirect HTTP to HTTPS using Varnish

I recently enabled HTTPS on this site and wanted to use a 301 redirect in order to correctly re-route guests from HTTP to HTTPS (HTTP to SSL/TLS). I original…

December 15, 2014

Making WordPress Fast

This site previously used WordPress as a CMS platform. Quite a bit of time was spent tuning in order to get page load times that were consistently less then …

December 14, 2014

Parsing Microsoft DNS Server Logs

This is a quick post about one of many ways you may want to parse Microsoft DNS server logs. In this case, I simply wanted to know the top talkers. We use she…

January 8, 2014

Detecting Tor network traffic with SiLK

This article continues a series on identifying Tor network traffic. It demonstrates how to build a SiLK IP set containing known Tor relay addresses and compare that set with collected flow records…

June 29, 2013

Installing Xen on CentOS 6 from source

I recently had a need to install Xen hypervisor on CentOS and most of the guides covered using the package maintainer's version. Further, RHEL distributions f…

March 16, 2013

Running Moloch

This is an overview of installing and running Moloch on a single host. After seeing the 2013 ShmooCon presentation, I have been looking forward to giving the…

March 12, 2013

Increment IP packet timestamp

I recently had a need to specify and increment the IP timestamp values of packets in a PCAP. In this example, the starting second value is specified and we i…

February 10, 2012

How-to setup an Upside-Down-Ternet

In an effort to replicate the amusing idea of a transparent proxy that manipulates traffic in a fun way found here and made even better with some great scrip…

December 14, 2009

Google namebench to find optimal nameservers

I was recently checking name servers that I was using to resolve hosts on a network. After using tools such as ping, traceroute, and dig I decided to search …

October 17, 2009

Python File Uploader

I recently had a need to upload large files to a server via HTTP. Most of the solutions required tweaking the web server or PHP. Instead, I found a Python sc…

March 1, 2009

Debian Backup Script

The script is available on GitHub. It can update a Debian system through APT, back up selected filesystems and databases, and transfer the resulting archives to a remote system over SSH…

October 3, 2008

Erase slack space on Microsoft Windows

A lot of information may be stored on a drive's slack space. If you want to get rid of these artifacts then run the usual tools to clean up the system like 'D…

January 31, 2008

NFS howto with static ports

First I am going to edit the /etc/sysconfig/nfs to specify the ports I want to run on. STATDPORT=4000 STATDOUTGOINGPORT=4004 LOCKDTCPPORT=4001 LOCKDUDPP…