Category

Linux

All things *nix.

82 articles in this category

BIND DNS Security Hole Workaround

October 12, 2012 1 min read

There has been a recent discovery that affects BIND DNS servers. A nameserver can be locked up if it can be induced to load a specially crafted combination…

Testing Disk in Linux using fio

July 24, 2012 3 min read

I recently discovered a utility called fio that allows you to benchmark disk subsystem in Linux. Here are the results for this test. What is fio? fio is…

Cacti Cisco ASA Host Template

July 21, 2012 3 min read

Came across a decent host template for Cisco ASA devices that works well with Cacti. Grab the CISCO-FIREWALL-MIB if you don’t already have them.  Get either Version 1…

Basic Samba Setup on Debian Squeeze

July 18, 2012 2 min read

Notes on how I setup Samba on a test server to play around. This was a quick setup to give a basic outline of how to get this…

How to null route an IP or subnet in Linux

July 16, 2012 1 min read

Quick tip for null routing an IP or subnet in Linux. My method I’ve always used is: route add -host 1.2.3.4 reject For a subnet: route add -net…

New Linux Server Build

June 28, 2012 1 min read

I finished up a new linux server build tonight. Migrated WordPress, DNS, mail, FTP and a handful of other services to this new server as well as installing…

ttyrec Playback using jsttyplay and WordPress

May 19, 2012 1 min read

So I spent a little bit of time tonight tinkering on Linux. I got interested in tty recording/playback after seeing some nethack things. I figured if I could…

MySQL Performance Analysis and Tuning Resources

May 17, 2012 1 min read

Came across a few useful websites with miscellaneous MySQL performance/configuration analysis/testing tools. http://www.day32.com/MySQL/ http://hackmysql.com/mysqlsla http://www.maatkit.org/doc/ http://blog.mysqltuner.com/ Continue reading

Debian Handbook

May 15, 2012 1 min read

I have added the Debian Handbook to my Resources navigation menu. The handbook is available at: https://techish.net/debian-handbook/ You can install it on your Debian system (available in Unstable):…

Limit Bandwidth in Apache2

May 10, 2012 1 min read

Limit bandwidth with Apache using the libapache2-mod-bw package which installs mod-bw. Install Package apt-get install libapache2-mod-bw Load Module a2enmod bw Modify Apache's configuration Add the following in the…

Using Pipe Viewer for File Progress in Linux

May 8, 2012 2 min read

There are numbers of ways of producing a file copy, compression, deletion, decompression dialog progress in Linux. I was looking for a new way of doing it (yes,…

Bind9 Wildcard DNS

May 8, 2012 1 min read

Decided instead of managing all the DNS records for techish.net. that I would just setup wildcard entry for techish.net. In my zone master file, I added the following:…

My .screenrc

May 1, 2012 1 min read

I'm bored, so here's what my current .screenrc is (screenshot included). backtick 1 60 60 /usr/local/bin/checkmail.pl hardstatus alwayslastline hardstatus string '%{= kW}%-Lw%{= KW}%50>%n%f* %t%{= kW}%+Lw%< %{= kG}%-=[Mail: %1`]…