Technology Insights

Install Newest libpcap Version On CentOS Linux

Earlier this evening I needed to install a newer version of libpcap on a CentOS Linux server. The current version available via the yum package manager is libpcap version 0.9.4-15 and I needed something newer than libpcap version 0.9.7. I ended up not being able to find a yum repository or RPM package that included a version newer than 0.9.4-15 so I decided to upgrade to the latest stable version of libpcap currently available which is libpcap version 1.1.1. Below are directions on downloading libpcap, installing it, and then verifying it is installed.

Technology Errors

Building CUDA-Multiforcer Error: /usr/bin/ld: cannot find -lcutil, collect2: ld returned 1 exit status

While building the CUDA Multiforcer on CentOS Linux I ran into a couple of different errors. One of the errors is noted below in more detail along with how I was able to resolve the error. The problem ended up being that I didn’t build the common Nvidia SDK tools before proceeding with installing the CUDA Multiforcer which is compiled from within the Nvidia SDK directory.

Technology Errors

make: *** No rule to make target -largtable2, needed by ../../bin/linux/release/CUDA-Multiforcer. Stop.

When attempting to compile the CUDA Multiforcer on CentOS Linux I ran into an error because the argtable2 package was not installed on the server. The CUDA Multiforcer application is a security audit tool used to check the strength of MD4, MD5, NTLM, and SHA1 password hashes. The CUDA Multiforcer attempts to brute force one of those types of hashes by attempting every combination of characters specified such as lowercase only characters, lowercase characters and numbers, etc. This tool can be extremely beneficial for checking the strength of user passwords for various operating systems and/or applications that store their passwords in a MD4, MD5, NTLM, or SHA1 hash. As you can see in the below error the issue appears to be with argtable2 which is not a package available with the default yum repositories on CentOS. Below I display the error and describe what repository to install to be able to use yum to install the argtable2 RPM package.

Technology Errors

Perl CPAN install XML::LibXML::Common, Error: libxml2 not found

I am working on getting Monarch installed on a server to manage Nagios file. Part of the setup includes installing a bunch of items using Perl’s CPAN. One of the packages I needed to install was called “XML::LibXML::Common” but it failed with an error. The error was overcome on CentOS by installing libxml2-devel using yum. Below are details regarding the error, the yum command to resolve the issue, and the end of a successful install of the initial package.