You are hereubuntu

ubuntu


Installing Nmap 5.0 on Ubuntu Jaunty (9.04)

As of this post the current version of nmap in the ubuntu repositories is 4.76. Here are the steps I used to install the new version 5.0 on Ubuntu Jaunty 9.04.

  1. sudo aptitude install build-essential
  2. sudo apt-get install libssl-dev
  3. mkdir src
  4. cd src
  5. wget -c http://nmap.org/dist/nmap-5.00.tar.bz2
  6. bzip2 -cd nmap-5.00.tar.bz2 | tar xvf -
  7. cd nmap-5.00/
  8. ./configure
  9. make
  10. sudo make install

To run go to Applications > Internet > Zenmap (as root).

Using stunnel to telnet into GMail IMAP

Here is a case study of how stunnel can be used to test an SSL based protocol. We will create an stunnel configuration that reroutes the IMAP port (TCP 143) to the Secure IMAP port (TCP 993) on GMail's IMAP server (imap.gmail.com). We will than test the setup by using telnet.

I will be using Ubuntu 8.10 (Intrepid Ibex).

First, let's install stunnel.

sudo apt-get install stunnel

Edit /etc/default/stunnel4, change ENABLED=0 to ENABLED=1