Friday, April 11, 2014

'Heartbleed' bug fixed openssl (version:1.0.1g)

What is OpenSSL?
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. The project is managed by a worldwide community of volunteers that use the Internet to communicate, plan, and develop the OpenSSL toolkit and its related documentation.
[ref: https://www.openssl.org/]

What is Heartbleed Bug?
The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).
The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.
[ref: http://heartbleed.com/]

Installing Bug fixed version (OpenSSL 1.0.1g) [Ubuntu 32-bit]
1. sudo apt-get update

2. sudo apt-get dist-upgrade

3. wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz

4. tar xzvf openssl-1.0.1g.tar.gz

5. cd openssl-1.0.1g

6. sudo ./config --prefix=/usr/local --openssldir=/usr/local/openssl

7. make

8. make test

9. make install

10. close the terminal and check version on a new terminal by :
openssl version
output should be : OpenSSL 1.0.1g 7 Apr 2014

Saturday, September 14, 2013

Emacs Problem: "murrine_style_draw_box: assertion `height >= -1'"

Description: 
When using Emacs 23 and a few other applications on Ubuntu running GNOME, we often get error message

 ** (emacs:25074): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed. 

This error is related to the gtk settings related to Ubuntu theme currently applied.  Here are the steps to solve this problem.


Steps:
1. Check the ubuntu theme currently running. ((a) system -> Preferences -> Appearance (b)click on Theme, the highlighted theme is the current theme in use). For eg. it could be Ambiance, Clearlooks, Dust, ... , Radiance. In my case it is "Ambiance" (please change "Ambiance" by "your theme" in the later steps)

2. open the following configuration file as root,
sudo emacs /usr/share/themes/Ambiance/gtk-2.0/gtkrc
Note that I have opened the file related to the “Radiance” theme. Make sure to open the correct file related to the applied theme of yours

3. Change the following,
GtkRange::trough-under-steppers = 0 to
GtkRange::trough-under-steppers = 1

4. This should fix the bug


References:


Root (version 6.04) installation in Ubuntu 16.04

ROOT is an object-oriented program and library developed by CERN. It was originally designed for particle physics data analysis and contains several features specific to this field. (more.. (wiki) (homepage)).

Step 1 : Download root
Latest version of the root can be downloaded from here (http://root.cern.ch/drupal/content/downloading-root).

git installation in ubuntu

Description:


Steps:
1.

sudo apt-get install python-software-properties
2.
sudo add-apt-repository ppa:git-core/ppa
3.
sudo apt-get update
4.
sudo apt-get install git