Free Downloads


GuruLabs.com ldapmigrate script

The Guru Labs GL275 "Enterprise Linux Network Services" class has extensive coverage of LDAP theory, OpenLDAP server configuration, and the use of a LDAP directory as a secure NIS replacement. While we were authoring the course and producing the labs within the class we ran into limitation with the current widely used /etc/* to LDAP migration tools.

We greatly appreciate the Open Source work produced by PADL Software Pty Ltd and we humbly offer the GuruLabs.com ldapmigrate script as an alternative solution to the PADL.COM LDAP migration scripts.

The advantages of "ldapmigrate" over the PADL scripts are as follows:

  • The GuruLabs.com script doesn't have to run on the LDAP server itself, ie, it can migrate /etc/* over the network.
  • It can optionally bind to the LDAP server over SSL/TLS for security.
  • It is a SINGLE ~300 line script versus the ~27 PADL.COM perl and bourne scripts that total over ~3000 lines.
  • It is driven via command line arguments and is self documented via --help. To use the PADL.COM scripts you must edit perl scalar variables in various spots *inside* the scripts.
  • You can easily select the which /etc file you would like to migrate.

Prerequisites:

  • A securely and properly configured LDAP server. As far as instructor led classes go, we recommend the GL275.
  • The Net::LDAP and prerequisite Perl modules.

Download SCRIPT: ldapmigrate
License: GPL
Date: 09/05/2003


American Express - Expense Report to QIF Converter

This is a free utility to convert American Express expense reports to QIF. Why use this utility when AMEX offers QIF file downloads? There are three main reasons:

  1. American Express only offers QIF files for the last 6 months of activity, whereas the expense reports go back 2 years. You can also run a report with a custom period of one to twelve months, within two years of the current calendar month.
  2. American Express QIF files have limited categorization, whereas expense reports categorize each transaction with a "Merchant Category" and "Subcategory".
  3. American Express QIF files do not indicate which credit card in a multi-card account performed the transaction.

This converter supports the following features.

  • Inserts card owner and last 5 digits of the credit card in the memo field
  • Reads config file for user defined rules so transactions can be automatically mapped to different accounts in your accounting software. Mapping can be based on:
    • Credit card owner
    • Vendor name
    • AMEX "Merchant Category" and "Subcategory"
    • Any combination of the above
  • Sanitizes and cleans up vendor names
  • Has the ability to add a prefix to all vendor names

Download: amex-report-2-qif-v1.0.tar.bz2
License: GPL
Date: 01/30/2006


Guru KeyCaps Font

A custom keycaps font based on Courier Dot 15 CPI with minor tweaks to improve the readability of certain characters.

Download: GuruLabsKeyCaps.tar.bz2
License: GPL
Date: 01/25/2006


FLAC to MP3 Script

With the cost of hard drive storage falling under $1 USD per GB, storing audio in a losslessy encoded format is now inexpensive and practical. The FLAC codec is an OpenSource and Free software of very high quality. The FLAC format supports meta-info as ID3v1 tags or OGG comments. FLAC even has plugins for popular audio players such as XMMS and WinAMP. This script also the generation of MP3 files from FLAC while preserving the tags. This way you can easily convert an album from FLAC to MP3 for playing on a mobile audio device. You will need LAME installed and in your $PATH. Using the script is simple:

  • cd /path/to/directory/with/FLACS
  • /path/to/flac2mp3.pl *flac


After after transcoding, you will have matching, tagged MP3 files in the same directory. Note: Only use this script on flac files that you trust to have non-malicous tags (ie, one's that you've created yourself).

Download Script: flac2mp3.pl

License: GPL
Date: 01/26/2003


The Certificate Database Tool for Solaris 9

The Sun ONE products, including the LDAP Directory Server can be configured to use SSL and TLS. When doing so, they store the certificates in a database made up of the files (in the example of the Directory Server) slapd-cert7.db and slapd-key3.db. To manage the database including importing, exporting, trust levels and certificate request generation, the certutil command is used. Unfortunately, Solaris 9 does not ship with this utility. To further complicate matters, a precise, old version of certutil is required that creates the database in a format compatible with the Solaris 9 Sun ONE products and links against the libraries shipped with Solaris 9. To further complicate matters, this old certutil version has bugs which creates malformed certificate requests. The fixes are in the source code of the newer (incompatible with Sun ONE DS). At this point, most people give up. Struggling through this ourselves, we've created a package that provides the proper certutil binary.

After installing the package, type following commands to update the library search path to include the required libraries. WARNING: If you typo it is possible that your normal system binaries will refuse to launch. Retyping the commands properly should fix the problem. TYPE THESE COMMANDS AT YOUR OWN RISK!

  • crle -v -l /usr/lib -l /usr/iplanet/ds5/lib
  • crle -v -u -l /usr/local/lib -l /usr/krb5/lib


Download Solaris 9 Package: certutil-1.0-sol9-sun4u-local.gz

License: MPL
Date: 05/15/2003


00NETINFO-INDEX.TXT

The SRI-NIC server was a DEC-2065, running the TOPS20 operating system located in Menlo Park, California. It contained over 90 Arpanet and Milnet related documents available via FTP. It is particularly famous for being the official source of the HOSTS.TXT file, the original Internet naming service that was later replaced by DNS. Here is the Sept 1989 release of the 00NETINFO-INDEX.TXT file containing a list of available files.

Download TXT File: 00NETINFO-INDEX.TXT
Date: 04/22/2002


Guru Labs GL510 "Network Security" Fedora Core v1 Software


The defensive portion of the Guru Labs GL510 network intrusion detection class uses several open source utilities. We packaged them in easy to install RPM packages for Fedora Core v1. The snort software is available in RPM format from the snort website, but we believe our version to be better packaged. The main packages are:

  • Snort
  • ACID
  • SnortCenter


The other packages are required supporting packages.

Download RPM: snort-1.9.0-GL2.i386.rpm
Download RPM: snort-bloat-1.9.0-GL2.i386.rpm
Download RPM: acid-0.9.6b22-1.noarch.rpm
Download RPM: snortcenter-0.9.6-4.noarch.rpm
Download RPM: snortcenter-agent-0.1.6-2.noarch.rpm

Required for SnortCenter:

Download RPM: perl-Net_SSLeay-1.21-9.i386.rpm

Required for ACID:

Download RPM: adodb-290-1.noarch.rpm
Download RPM: jpgraph-1.10-1.noarch.rpm

SRPMS (not normally needed):

Download SRPM: adodb-372-1.src.rpm
Download SRPM: acid-0.9.6b24cvs-1.src.rpm
Download SRPM: snortcenter-0.9.6-4.src.rpm
Download SRPM: snortcenter-agent-0.1.6-2.src.rpm
Download SRPM: perl-Net_SSLeay.pm-1.25-1.src.rpm
Download SRPM: jpgraph-1.13-1.src.rpm
Download SRPM: snort-1.9.0-GL2.src.rpm

License: GPL
Date: 03/03/2005


Postfix and Mailman Integration

The Postfix mail server and the Mailman are both highly regarded and popular packages. This python script glues Postfix and Mailman together in a way so that a virtual domain such as lists.example.com can be defined and all deliveries are handed off to Mailman. The benefit of this is that it does not require the creation of ANY aliases. Installation and configuration instructions are comments inside the script.

Download SCRIPT: postfix-to-mailman-2.0.py (Mailman 2.0 version)
Download SCRIPT: postfix-to-mailman-2.1.py (Mailman 2.1 version)

License: GPL
Date: 05/29/2002


 

The Certificate Database Tool for Solaris 9

The Sun ONE products, including the LDAP Directory Server can be configured to use SSL and TLS. When doing so, they store the certificates in a database made up of the files (in the example of the Directory Server) slapd-cert7.db and slapd-key3.db. To manage the database including importing, exporting, trust levels and certificate request generation, the certutil command is used. Unfortunately, Solaris 9 does not ship with this utility. To further complicate matters, a precise, old version of certutil is required that creates the database in a format compatible with the Solaris 9 Sun ONE products and links against the libraries shipped with Solaris 9. To further complicate matters, this old certutil version has bugs which creates malformed certificate requests. The fixes are in the source code of the newer (incompatible with Sun ONE DS). At this point, most people give up. Struggling through this ourselves, we've created a package that provides the proper certutil binary.

After installing the package, type following commands to update the library search path to include the required libraries. WARNING: If you typo it is possible that your normal system binaries will refuse to launch. Retyping the commands properly should fix the problem. TYPE THESE COMMANDS AT YOUR OWN RISK!

  • crle -v -l /usr/lib -l /usr/iplanet/ds5/lib
  • crle -v -u -l /usr/local/lib -l /usr/krb5/lib

Download Solaris 9 Package: certutil-1.0-sol9-sun4u-local.gz

License: MPL
Date: 05/15/2003


Oracle9i RHL Run Package

This RPM provides the files to properly integrate Oracle9i into the Red Hat Linux 7/8 SysV init process. It was based on a GPLd RPM provided by SUSE, but has been heavily modified to fit as seamlessly into Red Hat Linux as possible. This RPM provides:

  • /etc/init.d/oracle
  • /etc/profile.d/oracle.sh|csh (requires edits)
  • /etc/sysconfig/oracle (requires edits)
  • /usr/share/doc/oraclerun9i-1.4/INSTALL


Please read the INSTALL file. You will need to edit the files to match your local config.

Download RPM: oraclerun9i-1.4-1.noarch.rpm
Download SRPRM: oraclerun9i-1.4-1.src.rpm

License: GPL
Date: 10/10/2002