<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30940040</id><updated>2011-10-25T12:18:58.307+01:00</updated><category term='libewf'/><category term='expert witness format'/><category term='ewf'/><category term='EnCase'/><category term='PS3'/><category term='PlayStation'/><category term='Linux'/><category term='YDL 6.1'/><category term='YellowDog'/><category term='mount'/><title type='text'>Stephen Venter</title><subtitle type='html'>Some techie notes I want to remember... and share.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30940040.post-5310936601643088666</id><published>2009-05-08T18:13:00.007+01:00</published><updated>2009-05-08T19:35:06.195+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='EnCase'/><category scheme='http://www.blogger.com/atom/ns#' term='expert witness format'/><category scheme='http://www.blogger.com/atom/ns#' term='ewf'/><category scheme='http://www.blogger.com/atom/ns#' term='mount'/><category scheme='http://www.blogger.com/atom/ns#' term='libewf'/><title type='text'>Mount EWF (E01) on Linux</title><content type='html'>Mounting Expert Witness Format (EWF) / EnCase (E01) using the latest software.&lt;br /&gt;&lt;br /&gt;I see that the links I included in my last blog posting are no longer available:&lt;br /&gt;&lt;a href="http://stephenventer.blogspot.com/2009/02/mount-ewf-e01-on-linux.html"&gt;http://stephenventer.blogspot.com/2009/02/mount-ewf-e01-on-linux.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So here's a quick update on getting EWF mounting capabilities installed on a new Ubuntu  install [in this case the 64-bit version of Jaunty Jackalope Ubuntu 9.04]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The libewf software is now available at:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://sourceforge.net/projects/libewf/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The files I downloaded were:&lt;/span&gt;&lt;br /&gt;steve@jj:~/software/EWF$ ls -1&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;disktype-libewf.patch&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;EWF_file_format.pdf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;libewf-20080501.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;libewf-beta-20090506.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount_ewf-20080513.py&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;== Install the required build dependencies&lt;br /&gt;-- the &lt;/span&gt;&lt;span style="font-weight: bold;"&gt; required &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Debian packages in Ubuntu are: zlib1g-dev libssl-dev uuid-dev&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo apt-get install zlib1g-dev libssl-dev uuid-dev&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;== Create Debian (.deb) packages to install&lt;/span&gt;&lt;br /&gt;Since the downloads are now standard source code format, I tried to create Debian (.deb) packages using the guidance here: http://www.quietearth.us/articles/2006/08/16/Building-deb-package-from-source&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1: Install required dependency packages:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo apt-get install autotools-dev fakeroot dh-make build-essential&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Copy the source code tarball to /tmp and extract the contents there steve@jj:~/software/EWF$ cp libewf-beta-20090506.tar.gz /tmp/&lt;/span&gt;&lt;br /&gt;steve@jj:~/software/EWF$ cd /tmp/&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:/tmp$ tar -zxf libewf-beta-20090506.tar.gz&lt;/span&gt;&lt;br /&gt;steve@jj:/tmp$ cd libewf-20090506/&lt;br /&gt;steve@jj:/tmp/libewf-20090506$&lt;br /&gt;&lt;br /&gt;Step 3a: No need to make the debian control files, since they are already there [in the debian/ sub-folder]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3b: Build the debian package:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:/tmp/libewf-20090506$ sudo dpkg-buildpackage -rfakeroot&lt;/span&gt;&lt;br /&gt;** this ended with the following output:&lt;br /&gt;signfile libewf_20090506-1.dsc&lt;br /&gt;gpg: WARNING: unsafe ownership on configuration file `/home/steve/.gnupg/gpg.conf'&lt;br /&gt;gpg: skipped "Joachim Metz &lt;forensics@hoffmannbv.nl&gt;": secret key not available&lt;br /&gt;gpg: [stdin]: clearsign failed: secret key not available&lt;br /&gt;&lt;br /&gt;dpkg-genchanges  &gt;../libewf_20090506-1_amd64.changes&lt;br /&gt;dpkg-genchanges: including full source code in upload&lt;br /&gt;dpkg-buildpackage: full upload (original source is included)&lt;br /&gt;dpkg-buildpackage: warning: Failed to sign .dsc and .changes file&lt;br /&gt;steve@jj:/tmp/libewf-20090506$&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3c: List the newly created files:&lt;/span&gt;&lt;br /&gt;steve@jj:/tmp/libewf-20090506$ cd ..&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:/tmp$ ls -ld libewf*&lt;/span&gt;&lt;br /&gt;drwxr-xr-x 15 steve steve   4096 2009-05-08 18:41 libewf-20090506&lt;br /&gt;-rw-r--r--  1 root  root    2262 2009-05-08 18:42 libewf_20090506-1_amd64.changes&lt;br /&gt;-rw-r--r--  1 root  root  177340 2009-05-08 18:42 libewf_20090506-1_amd64.deb&lt;br /&gt;-rw-r--r--  1 root  root     511 2009-05-08 18:40 libewf_20090506-1.diff.gz&lt;br /&gt;-rw-r--r--  1 root  root     826 2009-05-08 18:40 libewf_20090506-1.dsc&lt;br /&gt;-rw-r--r--  1 root  root  810174 2009-05-08 18:40 libewf_20090506.orig.tar.gz&lt;br /&gt;-rw-r--r--  1 steve steve 809523 2009-05-08 18:22 libewf-beta-20090506.tar.gz&lt;br /&gt;-rw-r--r--  1 root  root  222562 2009-05-08 18:42 libewf-dev_20090506-1_amd64.deb&lt;br /&gt;-rw-r--r--  1 root  root  195290 2009-05-08 18:42 libewf-tools_20090506-1_amd64.deb&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;== Install the newly created .deb packages:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:/tmp$ sudo dpkg -i libewf*.deb&lt;/span&gt;&lt;br /&gt;Selecting previously deselected package libewf.&lt;br /&gt;(Reading database ... 109479 files and directories currently installed.)&lt;br /&gt;Unpacking libewf (from libewf_20090506-1_amd64.deb) ...&lt;br /&gt;Selecting previously deselected package libewf-dev.&lt;br /&gt;Unpacking libewf-dev (from libewf-dev_20090506-1_amd64.deb) ...&lt;br /&gt;Selecting previously deselected package libewf-tools.&lt;br /&gt;Unpacking libewf-tools (from libewf-tools_20090506-1_amd64.deb) ...&lt;br /&gt;Setting up libewf (20090506-1) ...&lt;br /&gt;&lt;br /&gt;Setting up libewf-dev (20090506-1) ...&lt;br /&gt;Setting up libewf-tools (20090506-1) ...&lt;br /&gt;Processing triggers for man-db ...&lt;br /&gt;Processing triggers for libc6 ...&lt;br /&gt;ldconfig deferred processing now taking place&lt;br /&gt;steve@jj:/tmp$&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;== To use the mount_ewf script, need to install python-fuse:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:/tmp$ sudo apt-get install python-fuse&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;== Create a mount.ewf executable in the /sbin directory and grant it "execute" permissions:&lt;/span&gt;&lt;br /&gt;steve@jj:/tmp$ cd&lt;br /&gt;steve@jj:~$ cd software/EWF/&lt;br /&gt;steve@jj:~/software/EWF$ cp mount_ewf-20080513.py /sbin/mount.ewf&lt;br /&gt;cp: cannot create regular file `/sbin/mount.ewf': Permission denied&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:~/software/EWF$ sudo cp mount_ewf-20080513.py /sbin/mount.ewf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;steve@jj:~/software/EWF$ sudo chmod +x /sbin/mount.ewf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;== And that's it - ready to go:&lt;/span&gt;&lt;br /&gt;steve@jj:~/software/EWF$ mount.ewf&lt;br /&gt;Using libewf-20090506. Tested with libewf-20080501.&lt;br /&gt;Usage:&lt;br /&gt;  mount.ewf [options] &lt;filename(s)&gt; &lt;mountpoint&gt;&lt;br /&gt;&lt;br /&gt;Note: This utility allows EWF files to be mounted as a filesystem containing a flat disk image. &lt;filename&gt; can be any segment of the EWF file. To be identified, all files need to be in the same directory, have the same root file name, and have the same first character of file extension. Alternatively, multiple filenames can be specified in different locations in the order to be reassembled.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ewf segment filename(s) required.&lt;br /&gt;steve@jj:~/software/EWF$&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;== Refer to this blog posting for how to mount the EWF files: &lt;a href="http://stephenventer.blogspot.com/2009/02/mount-ewf-e01-on-linux.html"&gt;http://stephenventer.blogspot.com/2009/02/mount-ewf-e01-on-linux.html&lt;/a&gt;&lt;/span&gt;&lt;/filename&gt;&lt;/mountpoint&gt;&lt;/filename(s)&gt;&lt;/forensics@hoffmannbv.nl&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-5310936601643088666?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/5310936601643088666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2009/05/mount-ewf-e01-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/5310936601643088666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/5310936601643088666'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2009/05/mount-ewf-e01-on-linux.html' title='Mount EWF (E01) on Linux'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30940040.post-1434605927221911989</id><published>2009-02-09T06:56:00.011Z</published><updated>2009-05-08T19:36:56.940+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='EnCase'/><category scheme='http://www.blogger.com/atom/ns#' term='expert witness format'/><category scheme='http://www.blogger.com/atom/ns#' term='ewf'/><category scheme='http://www.blogger.com/atom/ns#' term='mount'/><category scheme='http://www.blogger.com/atom/ns#' term='libewf'/><title type='text'>Mount EWF (E01) on Linux</title><content type='html'>Note: also refer to &lt;a href="http://stephenventer.blogspot.com/2009/05/mount-ewf-e01-on-linux.html"&gt;http://stephenventer.blogspot.com/2009/05/mount-ewf-e01-on-linux.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To mount and view the contents of a forensically acquired hard disc drive or partition image in an Expert Witness Format (EWF) file, i.e. EnCase (E01) format (including compressed and / or split files), on an Ubuntu Linux system, try the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download the libewf packages&lt;/span&gt;&lt;br /&gt;These packages were obtained from: &lt;a href="https://www.uitwisselplatform.nl/projects/libewf/"&gt;https://www.uitwisselplatform.nl/projects/libewf/&lt;/a&gt;&lt;br /&gt;The download location is: &lt;a href="https://www.uitwisselplatform.nl/frs/?group_id=53&amp;amp;release_id=369"&gt;https://www.uitwisselplatform.nl/frs/?group_id=53&amp;amp;release_id=369&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;The current ones I used were:&lt;br /&gt;&lt;blockquote&gt;libewf_20080501&lt;br /&gt;libewf-devel_20080501&lt;br /&gt;libewf-tools_20080501 and&lt;br /&gt;mount_ewf-20080513.py&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For ease of installation on an Ubuntu system, create Debian package files (.deb) from the Red Hat Package (.rpm) files&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This can be done using the Alien package tools on Ubuntu: &lt;a href="http://www.howtoforge.com/converting_rpm_to_deb_with_alien"&gt;http://www.howtoforge.com/converting_rpm_to_deb_with_alien&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install the packages&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are various dependencies that are needed for these packages, but the package installer application (dpkg) should help you identify and install those.&lt;br /&gt;&lt;br /&gt;The "Install instructions for mount_ewf" are here: &lt;a href="https://www.uitwisselplatform.nl/docman/view.php/53/169/readme.txt"&gt;https://www.uitwisselplatform.nl/docman/view.php/53/169/readme.txt&lt;/a&gt;&lt;br /&gt;Note: the FusePython package in Debian is called "python-fuse", so to install it execute this instruction at a command line: sudo apt-get install python-fuse&lt;br /&gt;Also, in the example below I used the originally downloaded Python script (mount_ewf-20080513.py), but the instructions referenced in the readme.txt above would allow you to use the version copied to the new file: /sbin/mount.ewf&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mount the E01 / EWF contents to the folder&lt;/span&gt;&lt;br /&gt;Note: For this example I will created the folder /mnt/e01 and used it as the mount location to view the contents of the image split files (in this case the image was obtained in thirteen files: imaged-drive.E01 throuth imaged-drive.E13 - so the command executed makes a reference to these files using the wildcard character "*", i.e. "&lt;span style="font-weight: bold;"&gt;imaged-drive.E*&lt;/span&gt;").&lt;br /&gt;&lt;blockquote&gt;steve@ubuntu:/media/source/img$ &lt;span style="font-weight: bold;"&gt;sudo mkdir /mnt/e01&lt;/span&gt;&lt;br /&gt;steve@ubuntu:/media/source/img$ &lt;span style="font-weight: bold;"&gt;sudo /home/steve/software/ewf/mount_ewf-20080513.py imaged-drive.E* /mnt/e01&lt;/span&gt;&lt;br /&gt;steve@ubuntu:/media/source/img$ &lt;span style="font-weight: bold;"&gt;sudo ls -l /mnt/e01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;total 38993865&lt;br /&gt;-r--r--r-- 1 root root 40020664320 1970-01-01 01:00 imaged-drive&lt;br /&gt;-r--r--r-- 1 root root                            339 1970-01-01 01:00 imaged-drive.txt&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;View the partition table structure of the newly mounted image file to identify the start sector location of the partition(s) you want to mount&lt;/span&gt;&lt;br /&gt;Note: in the example below, the drive image file has only one partition ("&lt;span style="color: rgb(0, 204, 204);"&gt;imaged-drive1&lt;/span&gt;") which starts at sector number &lt;span style="color: rgb(255, 102, 0);"&gt;63&lt;/span&gt; - when this is multiplied by the number of bytes per sector of 512, gives you the byte offset value of the start of that partition as: 63*512=32256&lt;br /&gt;&lt;blockquote&gt;steve@ubuntu:/media/source/img$ &lt;span style="font-weight: bold;"&gt;sudo fdisk -lu /mnt/e01/imaged-drive&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You must set cylinders.&lt;br /&gt;You can do this from the extra functions menu.&lt;br /&gt;&lt;br /&gt;Disk /mnt/e01/imaged-drive: 0 MB, 0 bytes&lt;br /&gt;240 heads, 63 sectors/track, 0 cylinders, total 0 sectors&lt;br /&gt;Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;Disk identifier: 0xd6b5d6b5&lt;br /&gt;&lt;br /&gt;                                                                        Device Boot    Start           End        Blocks    Id  System&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;/mnt/e01/&lt;/span&gt;&lt;span style="color: rgb(0, 204, 204);font-size:85%;" &gt;imaged-drive1                       &lt;/span&gt;&lt;span style="font-size:85%;"&gt;*               &lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);font-size:85%;" &gt;63&lt;/span&gt;&lt;span style="font-size:85%;"&gt; 78155279    39077608+   7  HPFS/NTFS&lt;br /&gt;Partition 1 has different physical/logical endings:&lt;br /&gt;phys=(1023, 239, 63) logical=(5168, 239, 63)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Associate the image file (per the EWF contents) with a loop device using losetup &lt;/span&gt;&lt;br /&gt;Note: you should mount this in "read-only" mode (i.e. specify the switch "&lt;span style="font-weight: bold;"&gt;-r&lt;/span&gt;") and per the calculation above, the starting byte offset of this partition, within the drive image, is at: 63*512=&lt;span style="font-weight: bold;"&gt;32256&lt;/span&gt;; If you try this and get the response "Permission denied", check to see you specified "&lt;span style="font-weight: bold;"&gt;-r&lt;/span&gt;"; In this case no loop devices are used, so the first one available for use is "&lt;span style="font-weight: bold;"&gt;loop0&lt;/span&gt;"&lt;br /&gt;&lt;blockquote&gt;steve@ubuntu:/media/source/img$ &lt;span style="font-weight: bold;"&gt;sudo losetup -o32256 -r /dev/loop0 /mnt/e01/imaged-drive&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mount this loop device to a directory&lt;/span&gt;&lt;br /&gt;Note: remember to mount this as "read only", i.e. with option "&lt;span style="font-weight: bold;"&gt;ro&lt;/span&gt;"; The "loop" option will also be needed here to mount this as another loop device&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;on the local system; The next available loop device will automatically be allocated - in this case it was "&lt;span style="font-weight: bold;"&gt;loop1&lt;/span&gt;"; First I created a new directory (/mnt/imaged-drive_c) to use as a mount point location for this step.&lt;br /&gt;&lt;blockquote&gt;$ &lt;span style="font-weight: bold;"&gt;sudo mkdir /mnt/imaged-drive_c&lt;/span&gt;&lt;br /&gt;$ &lt;span style="font-weight: bold;"&gt;sudo mount /dev/loop0 /mnt/imaged-drive_c/ -o loop,ro&lt;/span&gt;&lt;br /&gt;$ df -h&lt;br /&gt;&lt;span style="font-size:85%;"&gt;..&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;/dev/loop1&lt;/span&gt;&lt;span style="font-size:85%;"&gt;             38G   31G  7.1G  81% /mnt/imaged-drive_c&lt;/span&gt;&lt;br /&gt;$ mount&lt;br /&gt;&lt;span style="font-size:85%;"&gt;..&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;/dev/loop1&lt;/span&gt;&lt;span style="font-size:85%;"&gt; on &lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;/mnt/imaged-drive_c&lt;/span&gt;&lt;span style="font-size:85%;"&gt; type fuseblk (ro,nosuid,nodev,allow_other,blksize=4096)&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The file system (NTFS in this case) is now viewable and available for things like anti virus scans, exploring, etc&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;$ &lt;span style="font-weight: bold;"&gt;ls -l /mnt/imaged-drive_c/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;total 964001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;-rwxrwxrwx 1 root root         0 2004-02-06 13:47 AUTOEXEC.BAT&lt;br /&gt;-rwxrwxrwx 1 root root       176 2005-09-12 11:09 boot.ini&lt;br /&gt;-rwxrwxrwx 1 root root       241 2004-09-30 17:10 BOOTLOG.TXT&lt;br /&gt;...snip...&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Note: These steps should work on other Linux distributions, e.g. Fedora, but I have not personally tested it on them yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-1434605927221911989?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/1434605927221911989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2009/02/mount-ewf-e01-on-linux.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/1434605927221911989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/1434605927221911989'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2009/02/mount-ewf-e01-on-linux.html' title='Mount EWF (E01) on Linux'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30940040.post-285545927533850832</id><published>2008-12-22T01:45:00.017Z</published><updated>2008-12-31T12:22:21.506Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='PlayStation'/><category scheme='http://www.blogger.com/atom/ns#' term='YellowDog'/><category scheme='http://www.blogger.com/atom/ns#' term='YDL 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='PS3'/><title type='text'>Getting WPA-PSK working on PS3 - YellowDog 6.1</title><content type='html'>I recently got YDL 6.1 going and was struggling with getting WPA encryption working when connecting to my WiFi router.&lt;br /&gt;&lt;br /&gt;I found that it worked for me when I ran the wpa_supplicant command as follows, and left it running:&lt;br /&gt;[root@ps3ydl devices]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;wpa_supplicant -dd &lt;/span&gt;&lt;span style=""&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;-Dwext -iwlan0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt; -c /etc/wpa_supplicant/wpa_supplicant.conf &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then when I did a restart of networking with "service network restart", now everything stayed connected. So I found that the best way for me to get my wifi connecting correctly at boot time, was by modifying the startup script for the wpa_supplicant service.&lt;br /&gt;&lt;br /&gt;When using "ps" to list processes with "wpa" as part of their name, I saw:&lt;br /&gt;[root@ps3ydl devices]#&lt;span style="font-weight: bold;"&gt; &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ps -ef |grep wpa&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;root     &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;16427&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;     1  0 00:33 ?        00:00:00 wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f /var/log/wpa_supplicant.log&lt;br /&gt;root     &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;17223&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; 29728  0 00:35 pts/1    00:00:00 wpa_supplicant -dd &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;-Dwext -iwlan0&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; -c /etc/wpa_supplicant/wpa_supplicant.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That first one (process ID &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;16427 &lt;/span&gt;above) was started by the /etc/init.d/wpa_supplicant script (this is effectively the same as running: &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;service wpa_supplicant restart&lt;/span&gt; )&lt;br /&gt;&lt;br /&gt;While the second process (&lt;span style="font-weight: bold;"&gt;17223&lt;/span&gt;) is clearly the one I executed myself and left running.&lt;br /&gt;&lt;br /&gt;But the moment I reboot my machine, I obviously only have a process like that first one (i.e. &lt;span style="font-weight: bold;"&gt;16427&lt;/span&gt;) and the wireless LAN connection keeps failing to connect properly.&lt;br /&gt;&lt;br /&gt;So I modified the "&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;daemon&lt;/span&gt;" line in the "&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;start()&lt;/span&gt;" section of my &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;/etc/init.d/wpa_supplicant&lt;/span&gt;&lt;/span&gt; file so that it creates a process with options like the one I ran manually.&lt;br /&gt;This is what the "&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;daemon&lt;/span&gt;" line in the "&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;s&lt;/span&gt;&lt;span class="Apple-style-span" style=""&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;tart()&lt;/span&gt;&lt;/span&gt;" section was BEFORE I changed it:&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;daemon &lt;/span&gt;$prog -c $conf $INTERFACES $DRIVERS -B $OTHER_ARGS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is what it looks like now:&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;daemon&lt;/span&gt; $prog &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style=""&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;-Dwext -iwlan0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; -c $conf $INTERFACES $DRIVERS -B $OTHER_ARGS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And now when I list the processes I get:&lt;br /&gt;[root@ps3ydl devices]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ps -ef |grep wpa&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;root     20247     1  0 00:42 ?        00:00:00 wpa_supplicant &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;-Dwext -iwlan0&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f /var/log/wpa_supplicant.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;== I also had to set the wpa_supplicant service to start at boot time in the two primary runlevels (&lt;a href="http://en.wikipedia.org/wiki/Init"&gt;3 for normal multi-user mode, without graphics; and 5 for full graphical multi-user mode - this is the init default mode&lt;/a&gt;):&lt;br /&gt;-- 1. Created the startup link in runlevel 3 startup rc folder - I chose to start it at number 60 because if I started it too early, it didn't seem to work (the default starting number for networking is 10 - but I changed that to start later too):&lt;br /&gt;[root@ps3ydl ~]#&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;cd /etc/rc3.d/&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]# &lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ln -s ../init.d/wpa_supplicant S60wpa_supplicant &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ls -l S60wpa_supplicant&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;lrwxrwxrwx 1 root root 24 Dec 21 16:39 S60wpa_supplicant -&gt; ../init.d/wpa_supplicant&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]#&lt;br /&gt;&lt;br /&gt;-- 2. I moved the startup script for Networking, from starting at number 10, to rather starting later, in this case at number 99:&lt;br /&gt;2008-12-31 Edit: Initially I had set this to start at number 61, i.e. as &lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;S61network,&lt;/span&gt; &lt;/span&gt; but I do get my wireless / wifi networking to start up more reliably if I have it set to start even later during the boot sequence, i.e. rather as &lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;S99network&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]#&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt; ls -l S10network&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;lrwxrwxrwx 1 root root 17 Dec 21 14:00 S10network -&gt; ../init.d/network&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]# &lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;mv S10network S99network&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ls -l S99network&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;lrwxrwxrwx 1 root root 17 Dec 21 14:00 S99network -&gt; ../init.d/network&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc3.d]#&lt;br /&gt;&lt;br /&gt;-- 3. Similarly, for runlevel 5, I created a startup link to get wpa_supplicant started:&lt;br /&gt;[root@ps3ydl rc3.d]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;cd ../rc5.d/&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc5.d]#&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ln -s ../init.d/wpa_supplicant S60wpa_supplicant &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc5.d]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ls -l S60wpa_supplicant&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;lrwxrwxrwx 1 root root 24 Dec 21 16:40 S60wpa_supplicant -&gt; ../init.d/wpa_supplicant&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc5.d]#&lt;br /&gt;&lt;br /&gt;-- 4. And moved the networking to start after the wpa_supplicant service:&lt;br /&gt;[root@ps3ydl rc5.d]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ls -l S10network&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;lrwxrwxrwx 1 root root 17 Dec 21 14:00 S10network -&gt; ../init.d/network&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc5.d]# &lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;mv S10network S99network&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc5.d]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ls -l S99network&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;lrwxrwxrwx 1 root root 17 Dec 21 14:00 S99network -&gt; ../init.d/network&lt;/span&gt;&lt;br /&gt;[root@ps3ydl rc5.d]#&lt;br /&gt;&lt;br /&gt;== This is my wpa_supplicant.conf file (&lt;span class="Apple-style-span" style="line-height: 20px;font-size:13;" &gt;"&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204); line-height: 20px;font-size:13;" &gt;wifi pre shared key&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 20px;font-size:13;" &gt;"&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204); line-height: 20px;font-size:13;" &gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 20px;font-size:13;" &gt;is obviously not my real WPA key&lt;/span&gt;):&lt;br /&gt;[root@ps3ydl ~]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;cat /etc/wpa_supplicant/wpa_supplicant.conf&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel&lt;br /&gt;network={&lt;br /&gt;ssid="BeBox"&lt;br /&gt;scan_ssid=1&lt;br /&gt;key_mgmt=WPA-PSK&lt;br /&gt;#proto=WPA2&lt;br /&gt;#pairwise=TKIP&lt;br /&gt;#group=TKIP&lt;br /&gt;psk="wifi pre shared key"&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;[root@ps3ydl ~]#&lt;br /&gt;&lt;br /&gt;== In my ifcfg-eth0 I told the system to not start up the eth0 (ethernet LAN port) at boot time, coz without a cable plugged in it wastes time waiting to receive an IP address to be received, by setting this value / option: &lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;ONBOOT=no&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;== My ifcfg-wlan0 looks like this:&lt;br /&gt;[root@ps3ydl ~]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;cat /etc/sysconfig/networking/devices/ifcfg-wlan0&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;DEVICE=wlan0&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ESSID=BeBox&lt;br /&gt;HWADDR=00:19:C5:A1:B2:C3&lt;br /&gt;IPADDR=&lt;br /&gt;IPV6ADDR=&lt;br /&gt;IPV6PREFIX=&lt;br /&gt;IPV6_AUTOCONF=yes&lt;br /&gt;ONBOOT=yes&lt;br /&gt;DHCP_HOSTNAME=ps3ydl&lt;br /&gt;DOMAIN=&lt;br /&gt;NETMASK=&lt;br /&gt;TYPE=Wireless&lt;br /&gt;USERCTL=no&lt;br /&gt;IPV6INIT=no&lt;br /&gt;PEERDNS=yes&lt;br /&gt;CHANNEL=1&lt;br /&gt;#MODE=Master&lt;br /&gt;MODE=Auto&lt;br /&gt;RATE=Auto&lt;/span&gt;&lt;br /&gt;[root@ps3ydl ~]#&lt;br /&gt;&lt;br /&gt;== My keys-wlan0 has the same network password. It doesn't look like i need that IWPRIV line, so that is why it is commented out (there are no spaces in my actual pre shared key value!):&lt;br /&gt;[root@ps3ydl ~]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;cat /etc/sysconfig/networking/devices/keys-wlan0&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;KEY=s:wifi pre shared key&lt;br /&gt;#IWPRIV="set_alg 2"&lt;br /&gt;&lt;/span&gt;[root@ps3ydl ~]#&lt;br /&gt;&lt;br /&gt;== now when I restart the wpa_supplicant service I see this:&lt;br /&gt;[root@ps3ydl ~]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;service wpa_supplicant restart&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;Stopping wpa_supplicant:                                   [  &lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;OK &lt;/span&gt; ]&lt;br /&gt;Starting wpa_supplicant: /etc/wpa_supplicant/wpa_supplicant[  &lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;OK &lt;/span&gt; ]&lt;/span&gt;&lt;br /&gt;[root@ps3ydl ~]#&lt;br /&gt;&lt;br /&gt;== and then when I restart networking I see this at the command line - not sure why I see all those lines of error messages.. but at least I now get an "OK" and no longer get a "FAILED" for the "Determining IP info..." line:&lt;br /&gt;[root@ps3ydl ~]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;service network restart&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;Shutting down interface wlan0:                             [  &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;OK &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; ]&lt;br /&gt;Shutting down loopback interface:                          [  &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;OK &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; ]&lt;br /&gt;Bringing up loopback interface:                            [  &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;OK &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; ]&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;Bringing up interface wlan0:  Error for wireless request "Set Mode" (8B06) :&lt;br /&gt;SET failed on device wlan0 ; Operation not supported.&lt;br /&gt;Error for wireless request "Set Frequency" (8B04) :&lt;br /&gt;SET failed on device wlan0 ; Operation not supported.&lt;br /&gt;Error for wireless request "Set Bit Rate" (8B20) :&lt;br /&gt;SET failed on device wlan0 ; Operation not supported.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Determining IP information for wlan0... done.&lt;br /&gt;                                                  [  &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;OK &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt; ]&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;== While making the changes above, I was monitoring my system messages file in a different terminal window using: &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;tail -f /var/log/messages&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;== These are some of the interesting lines of log messages I saw  during the execution of "&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;service wpa_supplicant restart&lt;/span&gt;":&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;..&lt;br /&gt;Dec 22 01:14:55 ps3ydl avahi-daemon[4085]: Interface wlan0.IPv4 no longer relevant for mDNS.&lt;br /&gt;..&lt;br /&gt;Dec 22 01:14:55 ps3ydl avahi-daemon[4085]: Withdrawing address record for 192.168.1.69 on wlan0.&lt;br /&gt;Dec 22 01:14:56 ps3ydl avahi-daemon[4085]: New relevant interface wlan0.IPv4 for mDNS.&lt;br /&gt;..&lt;br /&gt;Dec 22 01:14:56 ps3ydl avahi-daemon[4085]: Registering new address record for 192.168.1.69 on wlan0.&lt;br /&gt;Dec 22 01:14:57 ps3ydl kernel: gelic_eurus_sync_cmd_worker: cmd issue failed&lt;br /&gt;..&lt;br /&gt;Dec 22 01:14:58 ps3ydl kernel: gelic_eurus_sync_cmd_worker: cmd issue failed&lt;br /&gt;Dec 22 01:14:58 ps3ydl kernel: gelic_eurus_sync_cmd_worker: cmd issue failed&lt;br /&gt;Dec 22 01:14:59 ps3ydl kernel: gelic_wl_associate_bss: connected&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;== before doing the network restart, i see the network is down:&lt;br /&gt;[root@ps3ydl ~]# p&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ing google.com&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;connect: Network is unreachable&lt;/span&gt;&lt;br /&gt;[root@ps3ydl ~]#&lt;br /&gt;&lt;br /&gt;== And then when doing a network restart with "&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;service network restart&lt;/span&gt;" I saw the following interesting system messages:&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;..&lt;br /&gt;Dec 22 01:25:19 ps3ydl avahi-daemon[4085]: Withdrawing address record for 192.168.1.69 on wlan0.&lt;br /&gt;..&lt;br /&gt;Dec 22 01:25:19 ps3ydl avahi-daemon[4085]: iface.c: interface_mdns_mcast_join() called but no local address available.&lt;br /&gt;Dec 22 01:25:19 ps3ydl avahi-daemon[4085]: Interface wlan0.IPv4 no longer relevant for mDNS.&lt;br /&gt;..&lt;br /&gt;Dec 22 01:25:19 ps3ydl avahi-daemon[4085]: iface.c: interface_mdns_mcast_join() called but no local address available.&lt;br /&gt;..&lt;br /&gt;Dec 22 01:25:24 ps3ydl kernel: gelic_wl_assoc_worker: no bss matched. association failed&lt;br /&gt;Dec 22 01:25:24 ps3ydl kernel: gelic_wl_assoc_worker: no bss matched. association failed&lt;br /&gt;Dec 22 01:25:24 ps3ydl kernel: gelic_wl_associate_bss: connected&lt;br /&gt;Dec 22 01:25:25 ps3ydl dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67&lt;br /&gt;Dec 22 01:25:25 ps3ydl dhclient: &lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;DHCPACK from 192.168.1.254&lt;/span&gt;&lt;br /&gt;Dec 22 01:25:25 ps3ydl avahi-daemon[4085]: New relevant interface wlan0.IPv4 for mDNS.&lt;br /&gt;..&lt;br /&gt;Dec 22 01:25:25 ps3ydl avahi-daemon[4085]: &lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;Registering new address record for 192.168.1.69 on wlan0.&lt;br /&gt;&lt;/span&gt;Dec 22 01:25:25 ps3ydl NET[427]: /sbin/dhclient-script : &lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;updated /etc/resolv.conf&lt;/span&gt;&lt;br /&gt;Dec 22 01:25:25 ps3ydl &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(153, 51, 153);"&gt;dhclient: bound to 192.168.1.69 &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;-- renewal in 39187 seconds.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;== and finally when I ping google I get a response.. confirming my wifi network is up and working:&lt;br /&gt;[root@ps3ydl ~]# &lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;ping google.com&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;PING google.com (74.125.45.100) 56(84) bytes of data.&lt;br /&gt;64 bytes from yx-in-f100.google.com (74.125.45.100): icmp_seq=1 ttl=243 time=113 ms&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;P.S. I originally started adding this as a comment to the following blog post, but decided to publish it here too, with additional details.  This one may be helpful in providing you with further background or suggestions if you are having troubles like I was having: &lt;a href="http://dachaac.blogspot.com/2007/08/guide-to-get-wpa-psk-working-on-ps3-ydl.html"&gt;http://dachaac.blogspot.com/2007/08/guide-to-get-wpa-psk-working-on-ps3-ydl.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-285545927533850832?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://stephenventer.blogspot.com/2008/12/getting-wpa-psk-working-on-ps3.html' title='Getting WPA-PSK working on PS3 - YellowDog 6.1'/><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/285545927533850832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2008/12/getting-wpa-psk-working-on-ps3.html#comment-form' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/285545927533850832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/285545927533850832'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2008/12/getting-wpa-psk-working-on-ps3.html' title='Getting WPA-PSK working on PS3 - YellowDog 6.1'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30940040.post-117517067911461731</id><published>2007-03-29T14:15:00.000+01:00</published><updated>2007-03-29T14:34:42.943+01:00</updated><title type='text'>Using [Alt]-[Prnt Scrn]</title><content type='html'>&lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Using [Alt]+[Prnt Scrn] to capture or copy &amp; paste an active window instead of the whole screen&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;In case anyone has not yet learnt this nifty little trick within MS Windows.. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;I find it very useful in the documentation I create, or for adding images to things like emails, etc.&lt;span style=""&gt;  &lt;/span&gt;It makes referring to things so much easier when a picture of only the most relevant window is what is needed.&lt;span style=""&gt;  &lt;/span&gt;A picture of the whole desktop can distract from what you are specifically trying to point out.. or for various other reasons.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Normally to capture a copy of your whole desktop screen, press the [Prnt Scrn] button and then in whatever application you want to paste that image, like MS Word for instance, simply use:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt;"&gt;&lt;span lang="EN-GB"&gt;Edit -&gt; Paste&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;or use the short-cut key sequence on your keyboard:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt;"&gt;&lt;span lang="EN-GB"&gt;[Ctrl]+[V]&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;So now all you do to capture only the currently highlighted / active window (instead of the whole desktop) is:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt;"&gt;&lt;span lang="EN-GB"&gt;[Alt]+[Prnt Scrn]&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;and in the target word / email / whatever app:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt;"&gt;&lt;span lang="EN-GB"&gt;Edit -&gt; Paste&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;or use the short-cut key sequence on your keyboard:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt;"&gt;&lt;span lang="EN-GB"&gt;[Ctrl]+[V]&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;Voila.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-117517067911461731?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/117517067911461731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2007/03/using-alt-prnt-scrn.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/117517067911461731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/117517067911461731'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2007/03/using-alt-prnt-scrn.html' title='Using [Alt]-[Prnt Scrn]'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30940040.post-115330916003977941</id><published>2006-07-19T12:38:00.000+01:00</published><updated>2006-07-19T12:52:23.583+01:00</updated><title type='text'>Public DNS &amp; Network record queries</title><content type='html'>&lt;p style="margin-bottom: 0cm;"&gt;One of the first steps in a security review conducted via the public Internet networks, is to gather the information available publicly about the target of the test.&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;You might also want to query these records to confirm that the information that needs to be publicised about a network is in fact publicly available, or being publicised correctly.&lt;/p&gt;    &lt;p style="margin-bottom: 0cm;"&gt;This information is freely available since it is necessary for devices to be able to resolve IP address details and plot the routes to get to the servers as part of normal communications via the Internet.&lt;/p&gt;&lt;p style="margin-bottom: 0cm;"&gt;There are many places where you can get the information, but I like to make use of these two services:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;a href="http://nwtools.com/"&gt;http://nwtools.com&lt;/a&gt;  – The original site for this was &lt;a href="http://network-tools.com/"&gt;http://network-tools.com/&lt;/a&gt;,  but it was not functioning correctly at the time of me writing this  article.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;&lt;a href="http://geektools.com/"&gt;http://geektools.com&lt;/a&gt;&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0cm;"&gt;Here are some examples of the outputs obtained from them. I will pick on google.com again for my examples:&lt;/p&gt; &lt;p style="margin-bottom: 0cm; font-weight: bold;"&gt; &lt;a href="http://nwtools.com/"&gt;http://nwtools.com&lt;/a&gt; &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;There are a number of  individual  utilities available (e.g. Ping, Lookup, DNS Records, Network Lookup,  etc), but they also have a handy one which executes them all at once  to give you a nice complete output to work with - they call it  Express. The example below is what resulted upon submitting this  request for "&lt;span style="color: rgb(0, 153, 0);"&gt;google.com&lt;/span&gt;":&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;a href="http://nwtools.com/default.asp?prog=express&amp;host=google.com"&gt;http://nwtools.com/default.asp?prog=&lt;span style="color: rgb(153, 51, 0);"&gt;express&lt;/span&gt;&amp;host=&lt;span style="color: rgb(0, 153, 0);"&gt;google.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;table style="color: rgb(0, 0, 0);" border="1" cellpadding="4" cellspacing="0" width="100%"&gt;  &lt;col width="256*"&gt;  &lt;tbody  style="font-family:courier new;"&gt;&lt;tr&gt;   &lt;td valign="top" width="100%"&gt;        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;IP address: 64.233.167.99&lt;br /&gt;Host name: google.com&lt;/span&gt;&lt;/p&gt;                                                                    &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;TraceRoute to 64.233.167.99 [google.com]&lt;br /&gt;Hop (ms) (ms) (ms)  IP Address Host name&lt;br /&gt;1 0 0 0  66.98.244.1 gphou-66-98-244-1.ev1.net&lt;br /&gt;2 0 0 0  66.98.241.16 gphou-66-98-241-16.ev1.net&lt;br /&gt;3 0 0 0  66.98.240.14 gphou-66-98-240-14.ev1.net&lt;br /&gt;4 1 1 1  129.250.11.141 ge-1-3-0.r02.hstntx01.us.bb.gin.ntt.net&lt;br /&gt;5 9 7 7  129.250.5.30 as-0.r20.dllstx09.us.bb.gin.ntt.net&lt;br /&gt;6 8 7 6  193.251.241.189 so-0-1-0-0.dalcr2.dallas.opentransit.net&lt;br /&gt;7 32 32 30  193.251.128.114 po0-0.chicr2.chicago.opentransit.net&lt;br /&gt;8 29 29 27  193.251.249.30 -&lt;br /&gt;9 27 29 29  66.249.95.253 -&lt;br /&gt;10 29 27 27  66.249.95.247 -&lt;br /&gt;11 30 29 30  66.249.94.133 -&lt;br /&gt;12 41 35 37  64.233.175.42 -&lt;br /&gt;13 29 29 30  64.233.167.99 -&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;    &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Trace complete&lt;/span&gt;&lt;/p&gt;                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Xwhois query for google.com...&lt;br /&gt;Results returned from whois.markmonitor.com:&lt;/span&gt;&lt;/p&gt;                            &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;MarkMonitor.com - The Leader in Corporate    Domain Management&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;For Global Domain Consolidation, Research &amp;    Intelligence,&lt;br /&gt;and Enterprise DNS, go to: www.markmonitor.com&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;The Data in MarkMonitor.com's WHOIS database is    provided by MarkMonitor.com&lt;br /&gt;for information purposes, and to assist persons    in obtaining information&lt;br /&gt;about or related to a domain name registration    record.  MarkMonitor.com&lt;br /&gt;does not guarantee its accuracy.  By submitting    a WHOIS query, you agree&lt;br /&gt;that you will use this Data only for lawful    purposes and that, under no&lt;br /&gt;circumstances will you use this Data to: (1)    allow, enable, or otherwise&lt;br /&gt;support the transmission of mass unsolicited,    commercial advertising or&lt;br /&gt;solicitations via e-mail (spam); or  (2) enable    high volume, automated,&lt;br /&gt;electronic processes that apply to    MarkMonitor.com (or its systems).&lt;br /&gt;MarkMonitor.com reserves the right to modify    these terms at any time.&lt;br /&gt;By submitting this query, you agree to abide by    this policy.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Registrant:&lt;br /&gt;Google Inc. (DOM-258879)&lt;br /&gt;Please contact contact-admin@google.com 1600    Amphitheatre Parkway Mountain View CA 94043 US&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;                        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;    Domain Name: google.com&lt;br /&gt;Registrar Name: Markmonitor.com&lt;br /&gt;Registrar Whois: whois.markmonitor.com&lt;br /&gt;Registrar Homepage: http://www.markmonitor.com&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                    &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;    Administrative Contact:&lt;br /&gt;DNS Admin (NIC-14290820)  Google Inc.&lt;br /&gt;1600 Amphitheatre Parkway Mountain View CA    94043 US&lt;br /&gt;dns-admin@google.com +1.6506234000 Fax-    +1.6506188571&lt;br /&gt;Technical Contact, Zone Contact:&lt;br /&gt;DNS Admin (NIC-1340144)  Google Inc.&lt;br /&gt;2400 E. Bayshore Pkwy Mountain View CA 94043    US&lt;br /&gt;dns-admin@google.com +1.6503300100 Fax-    +1.6506181499&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;    Created on..............: 1997-Sep-15.&lt;br /&gt;Expires on..............: 2011-Sep-14.&lt;br /&gt;Record last updated on..: 2006-May-17    11:10:55.&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;    Domain servers in listed order:&lt;br /&gt;NS3.GOOGLE.COM&lt;br /&gt;NS4.GOOGLE.COM&lt;br /&gt;NS1.GOOGLE.COM&lt;br /&gt;NS2.GOOGLE.COM  &lt;/span&gt;&lt;/p&gt;                                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;MarkMonitor.com - The Leader in Corporate    Domain Management&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;For Global Domain Consolidation, Research &amp;    Intelligence,&lt;br /&gt;and Enterprise DNS, go to: www.markmonitor.com&lt;br /&gt;----------------------------------------------------------&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Retrieving DNS records for google.com...&lt;br /&gt;DNS servers&lt;br /&gt;ns4.google.com [216.239.38.10]&lt;br /&gt;ns3.google.com [216.239.36.10]&lt;br /&gt;ns2.google.com [216.239.34.10]&lt;br /&gt;ns1.google.com [216.239.32.10]&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                                                                                                                            &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Answer records&lt;br /&gt;google.com 1 A 72.14.207.99 300s&lt;br /&gt;google.com 1 A 64.233.187.99 300s&lt;br /&gt;google.com 1 A 64.233.167.99 300s&lt;br /&gt;google.com 1 TXT v=spf1 ptr ?all 300s&lt;br /&gt;google.com 1 MX&lt;br /&gt;preference: 10&lt;br /&gt;exchange: smtp1.google.com&lt;br /&gt;3600s&lt;br /&gt;google.com 1 MX&lt;br /&gt;preference: 10&lt;br /&gt;exchange: smtp2.google.com&lt;br /&gt;3600s&lt;br /&gt;google.com 1 MX&lt;br /&gt;preference: 10&lt;br /&gt;exchange: smtp3.google.com&lt;br /&gt;3600s&lt;br /&gt;google.com 1 MX&lt;br /&gt;preference: 10&lt;br /&gt;exchange: smtp4.google.com&lt;br /&gt;3600s&lt;br /&gt;google.com 1 NS ns1.google.com 345600s&lt;br /&gt;google.com 1 NS ns2.google.com 345600s&lt;br /&gt;google.com 1 NS ns3.google.com 345600s&lt;br /&gt;google.com 1 NS ns4.google.com 345600s&lt;br /&gt;google.com 1 SOA&lt;br /&gt;server: ns1.google.com&lt;br /&gt;email: dns-admin@google.com&lt;br /&gt;serial: 2006071803&lt;br /&gt;refresh: 7200&lt;br /&gt;retry: 1800&lt;br /&gt;expire: 1038800&lt;br /&gt;minimum ttl: 60&lt;br /&gt;86400s&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Authority records&lt;br /&gt;google.com 1 NS ns1.google.com 345600s&lt;br /&gt;google.com 1 NS ns2.google.com 345600s&lt;br /&gt;google.com 1 NS ns3.google.com 345600s&lt;br /&gt;google.com 1 NS ns4.google.com 345600s&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Additional records&lt;br /&gt;smtp1.google.com 1 A 216.239.57.25 600s&lt;br /&gt;smtp2.google.com 1 A 64.233.167.25 600s&lt;br /&gt;smtp3.google.com 1 A 64.233.183.25 600s&lt;br /&gt;smtp4.google.com 1 A 66.102.9.25 600s&lt;br /&gt;ns1.google.com 1 A 216.239.32.10 345600s&lt;br /&gt;ns2.google.com 1 A 216.239.34.10 345600s&lt;br /&gt;ns3.google.com 1 A 216.239.36.10 345600s&lt;br /&gt;ns4.google.com 1 A 216.239.38.10 345600s&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Network IP address lookup:&lt;/span&gt;&lt;/p&gt;                            &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;Xwhois query for 64.233.167.99...&lt;br /&gt;Results returned from whois.arin.net:&lt;br /&gt;OrgName:    Google Inc.&lt;br /&gt;OrgID:      GOGL&lt;br /&gt;Address:    1600 Amphitheatre Parkway&lt;br /&gt;City:       Mountain View&lt;br /&gt;StateProv:  CA&lt;br /&gt;PostalCode: 94043&lt;br /&gt;Country:    US&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                                &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;NetRange:   64.233.160.0 - 64.233.191.255&lt;br /&gt;CIDR:       64.233.160.0/19&lt;br /&gt;NetName:    GOOGLE&lt;br /&gt;NetHandle:  NET-64-233-160-0-1&lt;br /&gt;Parent:     NET-64-0-0-0-0&lt;br /&gt;NetType:    Direct Allocation&lt;br /&gt;NameServer: NS1.GOOGLE.COM&lt;br /&gt;NameServer: NS2.GOOGLE.COM&lt;br /&gt;Comment:&lt;br /&gt;RegDate:    2003-08-18&lt;br /&gt;Updated:    2004-03-05&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                                        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;RTechHandle: ZG39-ARIN&lt;br /&gt;RTechName:   Google Inc.&lt;br /&gt;RTechPhone:  +1-650-318-0200&lt;br /&gt;RTechEmail:  arin-contact@google.com&lt;br /&gt;OrgTechHandle: ZG39-ARIN&lt;br /&gt;OrgTechName:   Google Inc.&lt;br /&gt;OrgTechPhone:  +1-650-318-0200&lt;br /&gt;OrgTechEmail:  arin-contact@google.com&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;        &lt;p class="western"&gt;&lt;span style="font-size:78%;"&gt;# ARIN WHOIS database, last updated 2006-07-18    19:10&lt;br /&gt;# Enter ? for additional hints on searching    ARIN's WHOIS database&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://geektools.com/"&gt;http://geektools.com&lt;/a&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;similar information can be obtained by using the tools at &lt;a href="http://geektools.com/"&gt;geektools.com&lt;/a&gt;.  Here is an example of using the “Dig DNS Interface” link on  &lt;a href="http://geektools.com/tools.php"&gt;http://geektools.com/tools.php&lt;/a&gt; which points to:  &lt;a href="http://geektools.com/digtool.php"&gt;http://geektools.com/&lt;span style="color: rgb(153, 51, 0);"&gt;digtool.php&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0cm;"&gt;a query for “&lt;span style="color: rgb(0, 102, 0);"&gt;google.com&lt;/span&gt;”  results in an HTTP POST request which effectively can be represented  as this GET request:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://geektools.com/cgi-bin/do-dig.cgi?domain=google.com&amp;dtype=ANY&amp;amp;target=&amp;dig=Dig"&gt;http://geektools.com/cgi-bin/&lt;span style="color: rgb(153, 51, 0);"&gt;do-dig.cgi&lt;/span&gt;?domain=&lt;span style="color: rgb(0, 102, 0);"&gt;google.com&lt;/span&gt;&amp;dtype=ANY&amp;amp;target=&amp;dig=&lt;span style="color: rgb(153, 51, 0);"&gt;Dig&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt; &lt;table style="color: rgb(0, 0, 0);" border="1" cellpadding="4" cellspacing="0" width="100%"&gt;  &lt;col width="256*"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td valign="top" width="100%"&gt;                                        &lt;p class="western"  style="font-family:courier new;"&gt;; &lt;span style="font-size:78%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;&lt;&gt;&gt; DiG 8.2 &lt;&lt;&gt;&gt; @    google.com ANY&lt;/span&gt;&lt;br /&gt;; Bad server:  -- using default server and    timer opts&lt;br /&gt;; (3 servers found)&lt;br /&gt;;; res options: init recurs defnam dnsrch&lt;br /&gt;;; got answer:&lt;br /&gt;;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY,    status: NOERROR, id: 6 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4,    AUTHORITY: 4, ADDITIONAL: 0 ;; QUERY SECTION: ;; google.com, type = ANY, class = IN&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;                        &lt;p class="western"  style="font-family:courier new;"&gt;&lt;span style="font-size:78%;"&gt;;; ANSWER SECTION:&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns4.google.com.&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns1.google.com.&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns2.google.com.&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns3.google.com.&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;                        &lt;p class="western"  style="font-family:courier new;"&gt;&lt;span style="font-size:78%;"&gt;;; AUTHORITY SECTION:&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns4.google.com.&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns1.google.com.&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns2.google.com.&lt;br /&gt;google.com.  3d13h49m20s IN NS  ns3.google.com.&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;            &lt;p class="western"  style="font-family:courier new;"&gt;&lt;span style="font-size:78%;"&gt;;; Total query time: 0 msec&lt;br /&gt;;; FROM: gp.centergate.com to SERVER: default    -- 204.74.68.5&lt;br /&gt;;; WHEN: Wed Jul 19 04:26:09 2006&lt;/span&gt;&lt;/p&gt;    &lt;p class="western"  style="font-family:courier new;"&gt;&lt;span style="font-size:78%;"&gt;;; MSG SIZE  sent: 28  rcvd: 15&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p style="margin-bottom: 0cm;"&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-115330916003977941?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/115330916003977941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2006/07/public-dns-network-record-queries.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/115330916003977941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/115330916003977941'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2006/07/public-dns-network-record-queries.html' title='Public DNS &amp; Network record queries'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30940040.post-115283884002961781</id><published>2006-07-14T01:09:00.001+01:00</published><updated>2008-12-11T18:07:28.370Z</updated><title type='text'>OpenSSL – cipher strength</title><content type='html'>&lt;p style="margin-bottom: 0cm;"&gt;A vulnerability scanner may identify that the target website supports weak or Null strength ciphers.&lt;/p&gt;  &lt;table border="1" cellpadding="4" cellspacing="0" width="100%"  style="color:#000000;"&gt;   &lt;col width="57*"&gt;  &lt;col width="199*"&gt;  &lt;tbody&gt;     &lt;tr valign="top"&gt;    &lt;td style="font-weight: bold;" width="22%"&gt;           &lt;p class="western"&gt;Vulnerability Scanner&lt;/p&gt;    &lt;/td&gt;    &lt;td style="font-weight: bold;" width="78%"&gt;           &lt;p class="western"&gt;Scanner check Information     &lt;/p&gt;    &lt;/td&gt;   &lt;/tr&gt;   &lt;tr valign="top"&gt;    &lt;td width="22%"&gt;           &lt;p class="western"&gt;Nessus&lt;/p&gt;    &lt;/td&gt;    &lt;td width="78%"&gt;           &lt;p class="western"&gt;&lt;a href="http://www.nessus.org/plugins/index.php?view=single&amp;amp;id=10863"&gt;Nessus    Plugin 10863 “SSL ciphers”&lt;/a&gt;     &lt;/p&gt;                &lt;p class="western"&gt;&lt;a href="http://cgi.nessus.org/nessus_id.php3?id=21643"&gt;Nessus    Plugin 21643 “Supported SSL Ciphers Suites”&lt;/a&gt; may report    “The remote service supports the use of weak SSL ciphers” and    “Solution : Reconfigure the affected application if possible to    avoid use of weak ciphers”&lt;/p&gt;            &lt;p class="western"&gt;&lt;br /&gt;  &lt;/p&gt;    &lt;/td&gt;   &lt;/tr&gt;    &lt;/tbody&gt; &lt;/table&gt;  &lt;p style="margin-bottom: 0cm;"&gt;  &lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;OpenSSL can be used to perform manual tests to confirm what sorts of cipher strengths a website is configured to support.  In the examples below, I have only used a few of the cipher categories available to demonstrate the differences in the responses received.&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;u&gt;&lt;b&gt;Testing connections with Null ciphers&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;When the Null cipher suite is used, there is no encryption taking place, i.e. the messages are being sent in plain text.&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;The examples below show how neither google.com nor the natwest.com site support Null ciphers&lt;/p&gt;  &lt;table border="1" cellpadding="4" cellspacing="0" width="100%"  style="color:#000000;"&gt;   &lt;col width="256*"&gt;  &lt;tbody&gt;     &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;/span&gt;&lt;span style="font-size:-2;color:#944794;"&gt;openssl s_client    -connect www.google.com:443 &lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;-cipher    NULL&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;3716:error:14077410:SSL    routines:SSL23_GET_SERVER_HELLO:&lt;span style="background: rgb(0, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;sslv3    alert handshake failure&lt;/span&gt;:s23_clnt.c:562:&lt;/span&gt;  &lt;br /&gt; &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; $&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;/span&gt;&lt;span style="font-size:-2;color:#944794;"&gt;openssl s_client    -connect www.natwest.com:443 &lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;-cipher    NULL&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;4088:error:140790E5:SSL    routines:SSL23_WRITE:&lt;span style="background: rgb(0, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;ssl    handshake failure&lt;/span&gt;:s23_lib.c:188:&lt;/span&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;    &lt;/span&gt;      &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; $&gt;     &lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;    &lt;/tbody&gt; &lt;/table&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;u&gt;&lt;b&gt;Testing support of LOW encryption (up to 64 bit) ciphers&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;These examples show that google.com does support weak ciphers, but natwest.com does not.&lt;/p&gt;  &lt;table border="1" cellpadding="4" cellspacing="0" width="100%"  style="color:#000000;"&gt;   &lt;col width="256*"&gt;  &lt;tbody&gt;     &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;span style="color: rgb(153, 51, 153);"&gt;openssl s_client -connect    www.google.com:443 &lt;/span&gt;&lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(153, 51, 153);"&gt;-cipher LOW&lt;br /&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;depth=1 /C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify error:num=20:unable to get local issuer    certificate&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify return:0&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;Certificate chain&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 0 s:/C=US/ST=California/L=Mountain    View/O=Google Inc/CN=www.google.com&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;   i:/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 1 s:/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;   i:/C=US/O=VeriSign, Inc./OU=Class 3 Public    Primary Certification Authority&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;[..snip..]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;span style="color: rgb(153, 51, 153);"&gt;openssl s_client -connect    www.natwest.com:443 &lt;/span&gt;&lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(153, 51, 153);"&gt;-cipher LOW&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;   &lt;/span&gt;&lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;1412:error:140920F8:SSL    routines:SSL3_GET_SERVER_HELLO:&lt;span style="background: rgb(0, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;unknown    cipher returned&lt;/span&gt;:s3_clnt.c:728:&lt;/span&gt;  &lt;br /&gt; &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; $&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;    &lt;/tbody&gt; &lt;/table&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;u&gt;&lt;b&gt;Testing support of MEDIUM encryption (128 bit) ciphers&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;Here you can see that both sites support medium strength ciphers.&lt;/p&gt;  &lt;table border="1" cellpadding="4" cellspacing="0" width="100%" color="#000000"&gt;   &lt;col width="256*"&gt;  &lt;tbody&gt;     &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;span style="color: rgb(153, 51, 153);"&gt;openssl s_client -connect    www.google.com:443 &lt;/span&gt;&lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(153, 51, 153);"&gt;-cipher LOW&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;   &lt;/span&gt;&lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;depth=1 /C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify error:num=20:unable to get local issuer    certificate&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify return:0&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;Certificate chain&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 0 s:/C=US/ST=California/L=Mountain    View/O=Google Inc/CN=www.google.com&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;   i:/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 1 s:/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;   i:/C=US/O=VeriSign, Inc./OU=Class 3 Public    Primary Certification Authority&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;[..snip..]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;span style="color: rgb(153, 51, 153);"&gt;openssl s_client -connect    www.natwest.com:443 &lt;/span&gt;&lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(153, 51, 153);"&gt;-cipher    MEDIUM&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;   &lt;/span&gt;&lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;depth=1 /O=VeriSign Trust Network/OU=VeriSign,    Inc./OU=VeriSign International Server CA - Class    3/OU=www.verisign.com/CP&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;S Incorp.by Ref. LIABILITY LTD.(c)97 VeriSign&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify error:num=20:unable to get local issuer    certificate&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify return:0&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;Certificate chain&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 0 s:/C=GB/ST=Lothian/L=Edinburgh/O=Royal Bank    of Scotland Group/OU=E-Services/OU=Terms of use at    www.verisign.co.uk/rpa (c)05/OU=Authenticated by    VeriSign/OU=Member, VeriSign Trust Network/CN=www.natwest.com&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;   i:/O=VeriSign Trust Network/OU=VeriSign,    Inc./OU=VeriSign International Server CA - Class    3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97    VeriSign&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 1 s:/O=VeriSign Trust Network/OU=VeriSign,    Inc./OU=VeriSign International Server CA - Class    3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97    VeriSign&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;   i:/C=US/O=VeriSign, Inc./OU=Class 3 Public    Primary Certification Authority&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;[..snip..]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;    &lt;/tbody&gt; &lt;/table&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;u&gt;&lt;b&gt;Testing support of HIGH encryption (greater than 128 bit) ciphers&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;Obviously both these sites support encryption ciphers of greater than 128 bits in strength.&lt;/p&gt;  &lt;table border="1" cellpadding="4" cellspacing="0" width="100%" style="color:#000000;"&gt;   &lt;col width="256*"&gt;  &lt;tbody&gt;     &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt;&lt;span style="color: rgb(153, 51, 153);"&gt; openssl s_client -connect    www.google.com:443 &lt;/span&gt;&lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(153, 51, 153);"&gt;-cipher HIGH&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;   &lt;/span&gt;&lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;depth=1 /C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify error:num=20:unable to get local issuer    certificate&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify return:0&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;Certificate chain&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 0 s:/C=US/ST=California/L=Mountain    View/O=Google Inc/CN=www.google.com     &lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;[..snip..]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td valign="top" width="100%"&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;$&gt; &lt;span style="color: rgb(153, 51, 153);"&gt;openssl s_client -connect    www.natwest.com:443 &lt;/span&gt;&lt;span style="background: rgb(153, 204, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(153, 51, 153);"&gt;-cipher HIGH&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;&lt;br /&gt;CONNECTED(00000003)&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;depth=1 /O=VeriSign Trust Network/OU=VeriSign,    Inc./OU=VeriSign International Server CA - Class    3/OU=www.verisign.com/CP&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;S Incorp.by Ref. LIABILITY LTD.(c)97 VeriSign&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify error:num=20:unable to get local issuer    certificate&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;verify return:0&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;---&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;Certificate chain&lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt; 0 s:/C=GB/ST=Lothian/L=Edinburgh/O=Royal Bank    of Scotland Group/OU=E-Services/OU=Terms of use at    www.verisign.co.uk/rpa (c)05/OU=Authenticated by    VeriSign/OU=Member, VeriSign Trust Network/CN=www.natwest.com     &lt;/span&gt;  &lt;br /&gt;    &lt;span style="font-size:-2;"&gt;[..snip..]&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/td&gt;   &lt;/tr&gt;    &lt;/tbody&gt; &lt;/table&gt;  &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0cm;"&gt;For further information, you may want to refer to the OpenSSL ciphers manual page:&lt;/p&gt;  &lt;p style="margin-left: 2cm; margin-bottom: 0cm;"&gt;&lt;a href="http://www.openssl.org/docs/apps/ciphers.html"&gt;http://www.openssl.org/docs/apps/ciphers.html&lt;/a&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-115283884002961781?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/115283884002961781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2006/07/openssl-cipher-strength.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/115283884002961781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/115283884002961781'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2006/07/openssl-cipher-strength.html' title='OpenSSL – cipher strength'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30940040.post-115258506061280157</id><published>2006-07-11T03:30:00.000+01:00</published><updated>2006-07-14T00:42:55.943+01:00</updated><title type='text'>Using OpenSSL</title><content type='html'>The &lt;a href="http://www.openssl.org/"&gt;OpenSSL &lt;/a&gt;command-line utility is very useful for testing various aspects of connecting to a website that implements &lt;a href="http://searchsecurity.techtarget.com/sDefinition/0,,sid14_gci343029,00.html"&gt;Secure Socket Layer&lt;/a&gt; or &lt;a href="http://searchsecurity.techtarget.com/sDefinition/0,,sid14_gci557332,00.html"&gt;Transport Layer Security&lt;/a&gt; encryption.&lt;br /&gt;&lt;br /&gt;From a security testing perspective, I use OpenSSL in the following ways:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;* Information Gathering&lt;/span&gt;&lt;br /&gt;Checking connectivity with an encrypted site; viewing the information available within the certificate; confirming what cipher strengths the server permits client browsers to use when communicating with it; etc&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;* Target Identification&lt;/span&gt;&lt;br /&gt;Mostly this step is left to the automated tools like nmap, but connecting to ports that are running SSL (or TLS) services (not only TCP port 443, but many others) could be useful in helping to confirm that you want to include a particular target system as part of a test.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;* Service Enumeration&lt;/span&gt;&lt;br /&gt;Mostly this step is left to the automated tools like nmap, but being able to confirm that a service listening on a target is running SSL/TLS could help narrow the focus of the testing activities performed against the target.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;* Manual Testing&lt;/span&gt;&lt;br /&gt;Being able to manually perform (or re-perform) examples of the communications that normally are automatically performed between a web browser and a web server has become one of the cornerstones of any Web Application Vulnerability Assessment I have ever performed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;* Automated Testing&lt;/span&gt;&lt;br /&gt;Generally, I will use manual testing to validate the key results identified by automated tools, e.g. vulnerability scanners like Nessus, ISS, Retina, WebInspect, AppScan, etc, with a primary aim being to eliminate false-positive results.&lt;br /&gt;&lt;br /&gt;OpenSSL is available for many platforms. I use the OpenSSL package that comes with &lt;a href="http://www.cygwin.com/"&gt;CygWin&lt;/a&gt; on my Microsoft Windows machines.&lt;br /&gt;&lt;br /&gt;For information about command line switches and options available with openssl, refer to: &lt;a href="http://dev.openssl.org/docs/apps/openssl.html"&gt;http://dev.openssl.org/docs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When connecting to a web server, there are two main HTTP protocol standards used: HTTP/1.0 and HTTP/1.1&lt;br /&gt;&lt;br /&gt;The basic command format needed to connect to a website so that you can interact with it as though you were mimicking a web browser is:&lt;br /&gt;openssl s_client -connect web.site.address:port&lt;br /&gt;&lt;br /&gt;== Example 1 Start ==&lt;br /&gt;Example connection to a site, requesting the contents of the default root directory:&lt;span style=";font-family:courier new;font-size:78%;"  &gt;&lt;br /&gt;&lt;/span&gt;-- Step 1: Establish the connection to the site, by inputting "openssl s_client -connect www.google.com:443" at the command prompt and pressing [Enter]&lt;br /&gt;-- Step 2: Issue the basic HTTP command "GET / HTTP/1.o" and press [Enter] twice&lt;br /&gt;&lt;br /&gt; &lt;table style="width: 430px; height: 1380px; color: rgb(0, 0, 0);" border="1" cellpadding="4" cellspacing="0"&gt;&lt;col width="256*"&gt;  &lt;tbody style="font-family: courier new;font-family:Courier New,Courier,monospace;" &gt;&lt;tr&gt;   &lt;td style="width: 100%; vertical-align: top; background-color: rgb(192, 192, 192);"&gt;    &lt;span style=";font-size:78%;" &gt;$ &lt;span style="color: rgb(153, 51, 153);"&gt;openssl s_client -connect www.google.com:443&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;CONNECTED(00000003)&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;depth=1 /C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;verify error:num=20:unable to get local issuer    certificate&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;verify return:0&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;---&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Certificate chain&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;0 s:/C=US/ST=California/L=Mountain    View/O=Google Inc/CN=www.google.com&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;i:/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;1 s:/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;i:/C=US/O=VeriSign, Inc./OU=Class 3 Public    Primary Certification Authority&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;---&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Server certificate&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;-----BEGIN CERTIFICATE-----&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;MIIDITCCAoqgAwIBAgIQS6WuWd7dHMeAfIkikfDiQzANBgkqhkiG9w0BAQQFADBM&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;MQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;THRkLjEWMBQGA1UEAxMNVGhhd3RlIFNHQyBDQTAeFw0wNjA1MTUyMzE4MTFaFw0w&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;NzA1MTUyMzE4MTFaMGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlh&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;MRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRcw&lt;/span&gt;    &lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;FQYDVQQDEw53d3cuZ29vZ2xlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;gYEA5sXGjc0LowME3K7MyUa+vcydvHM0SP7TdWTQycl2J3IPqZYaO4HzFPaukFbn&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;GdJzaKeFpK7KJBQwALroNl2BczpxBY+xrxGH2lzxPr9TUYRvRA636CbXL7Jv8vJd&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;36fPjKXpHm8wSJQhCwGtug5xAQ0Q77/uLNON/lSo/tOXj8sCAwEAAaOB5zCB5DAo&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;BgNVHSUEITAfBggrBgEFBQcDAQYIKwYBBQUHAwIGCWCGSAGG+EIEATA2BgNVHR8E&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;LzAtMCugKaAnhiVodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlU0dDQ0EuY3Js&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;MHIGCCsGAQUFBwEBBGYwZDAiBggrBgEFBQcwAYYWaHR0cDovL29jc3AudGhhd3Rl&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;LmNvbTA+BggrBgEFBQcwAoYyaHR0cDovL3d3dy50aGF3dGUuY29tL3JlcG9zaXRv&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;cnkvVGhhd3RlX1NHQ19DQS5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQF&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;AAOBgQBXS7ykQ+fgAZKgljX5GAiIHXtwGY/5NrIFOgXKFFlNJA7liq9Oh1r3HCqW&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;j8thQJ7StDhAISTBTx/LE0qPlQLfkT3WQOsRb5sQoW/OkV4w9m0TXhWkLsIYngDD&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;2DJnR/y4HprZmo7M/3wStwO/UiDPIfTzd90SFfCU+pDV41logQ==&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;-----END CERTIFICATE-----&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;subject=/C=US/ST=California/L=Mountain    View/O=Google Inc/CN=www.google.com&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;issuer=/C=ZA/O=Thawte Consulting (Pty)    Ltd./CN=Thawte SGC CA&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;---&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;No client certificate CA names sent&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;---&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;SSL handshake has read 1777 bytes and written    340 bytes&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;---&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;New, TLSv1/SSLv3, Cipher is AES256-SHA&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Server public key is 1024 bit&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Compression: NONE&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Expansion: NONE&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;SSL-Session:&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Protocol : TLSv1&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Cipher : AES256-SHA&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Session-ID:    565454E28BCFC41C7704F9E67AD0A0AA70A36995464AE1D1A2C 1450F218F27B7&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Session-ID-ctx:&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Master-Key:    9579BF349BA3A4DFE3EF0E72E63DC3DF5303E33643FC4DC37D3    78ADBABCEFD57EA440EFCEFA39A7E81695DF2A717E999&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Key-Arg : None&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Start Time: 1152582311&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Timeout : 300 (sec)&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Verify return code: 20 (unable to get local    issuer certificate)&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;---&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 51, 153);font-size:78%;" &gt;GET / HTTP/1.0&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&lt;br /&gt;&lt;/span&gt;        &lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;HTTP/1.0 302 Found&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Location: http://www.google.com&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Date: Tue, 11 Jul 2006 01:45:16 GMT&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Content-Type: text/html&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Server: GFE/1.3&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Connection: Close&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;Content-Length: 218&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&lt;br /&gt;&lt;/span&gt;        &lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&amp;lt;HTML&amp;gt;&amp;lt;HEAD&amp;gt;&amp;lt;meta    http-equiv="content-type"    content="text/html;charset=utf-8"&amp;gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&amp;lt;TITLE&amp;gt;302    Moved&amp;lt;/TITLE&amp;gt;&amp;lt;/HEAD&amp;gt;&amp;lt;BODY&amp;gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&amp;lt;H1&amp;gt;302 Moved&amp;lt;/H1&amp;gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;The document has moved&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&amp;lt;A    HREF="http://www.google.com"&amp;gt;here&amp;lt;/A&amp;gt;.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;   &lt;br /&gt;&lt;/span&gt;&lt;span style=";font-size:78%;" &gt;read:errno=0&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;== Example 1 End ==&lt;br /&gt;&lt;br /&gt;P.S. I see there is a new project that is being worked on, which will be interesting to watch: &lt;a href="http://www.opentls.org/"&gt;OpenTLS.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30940040-115258506061280157?l=stephenventer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://stephenventer.blogspot.com/feeds/115258506061280157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://stephenventer.blogspot.com/2006/07/using-openssl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/115258506061280157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30940040/posts/default/115258506061280157'/><link rel='alternate' type='text/html' href='http://stephenventer.blogspot.com/2006/07/using-openssl.html' title='Using OpenSSL'/><author><name>Stephen Venter</name><uri>http://www.blogger.com/profile/12678130247024659821</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
