Installing OSSEC on Centos 5.7

OSSEC is an open source host-based IDS that performs log analysis, and is able to correlate and analyse logs for a number of Linux (and Windows, but that is outside the scope of this blog post) servers. The software architecture of OSSEC and the use of agents, lends OSSEC to flexible deployment and management <span class=“Apple-style-span” style=“font-size: xx-small;“>[1]. Set-up the Atomic repository that already has the appropriate OSSEC packages and install them would be the easiest way.

Read More →

Installing Snort 2.9.1.2 on CentOS 5.7

CentOS 5.7 uses an older version of libpcap (0.9.4), but Snort’s Data Acquisition Library (daq) needs a newer version of libpcap (>=1.0.0). The latter is not an issue with the CentOS 6.0. Vishesh Kumar <span class=“Apple-style-span” style=“font-size: xx-small;“>[1] provides an excellent instructions to getting Snort 2.9 to run on RHEL 5 (http://www.linuxmantra.com/2010/10/install-snort-29-on-rhel-5.html). The purpose of this post is not to duplicate his efforts, but to extend it slightly to include instructions for a complete Snort set-up.

Read More →

Gnu Screen

Running some experiment on a VM server I rapidly ran out of patience having to wait for commands to run, and/or switching back and forth using Ctrl+Z, bg, and fg. My thoughts went back to Nick Black who had introduced me to Gnu Screen several years back, alas I has forgotten the short-cuts, Thankfully Google and the man page came to the rescue. Since the VM server was a CentOS 6.

Read More →

APAcite on Mac OS X (Lion) with texlive

I had to recently rebuild my Mac Book Pro (gasp!), and decided to upgrade to Lion. The whole process was relatively painless. Files were copied back from backups, and updated from my SVN repositories, however I had troubles installing the appropriate Mac port package for the APACite classes. sudo port install texlive-bibtex-extra The latter yielded errors, which were logged in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-text-bibtex/p5.12-text-bibtex/main.log Since the dependency p5.12-text-bibtex could not be installed, examination of the log file provided the following clues; error: ‘main’

Read More →

APAcite on Mac OS X with texlive

While compiling a LaTeX document, a blank template of my PhD thesis to be exact, when I got the following error “! LaTeX Error: File `apacite.sty’ not found.” Again a quick search for Mac ports indicated that the texlive-bibtex-extra package was required. It was quickly installed using; sudo port install texlive-bibtex-extra Subsequent compile yielded more errors, this time it was “! Undefined control sequence. \abstract”. This was solved using the

Read More →

Evernote and Nix/NeverNote on Ubuntu 10.04

Evernote is a great tool. I absolutely love it. The only con, is that it’s nto available natively for Linux. So I have to run it under the Windows Emulator or wine. The installation is fairly simple. wget http://evernote.s3.amazonaws.com/win4/public/Evernote_4.5.0.5229.exe wine Evernote_4.5.0.5229.exe Obviously not running natively there is a slight performance lag. This may be attributed to my 5 year old laptop. Although it’s still usable, the slow synchronization soon becomes tiresome.

Read More →

Cisco console from Ubuntu 10.04

It’s pretty easy to set-up Cisco serial console connectivity on Ubuntu 10.04. The usual way is to use minicom. The serial ports usually called COM1-4 usually have the following address range; COM1 - 3E8 COM2 - 2F8 COM3 - 3E8 COM4 - 2E8 To complete the setup first determine the address used for COM1 (or whichever serial port you wish to use) on your machine query the kernel

Read More →

KeePass on Ubuntu 10.04

KeePass is a very popular password management software. One of my client uses this for their systems and I was given a copy of their database. Since I mostly use linux when I am working, I needed a way to get this working on Ubuntu 10.04. Instructions are widely available, but again for my benefit, I have documented them here as step-by-step guide for myself. At the time of this blog post the 2.

Read More →