Sunday, June 1, 2008

Is there a correlation between Socialism and Free Software ?

The word Socialism is a broad term. There are different streams of socialism. On one end of the spectrum, there is the extreme form of socialism known as communism infamous for its stringent following of its ideology, which was practiced by countries such as the erstwhile USSR (present Russia) and currently by China and Cuba. And at the other end, there is the more humane form of socialism as practiced by countries such as India and Sweden. That is right, India is a sovereign socialist democratic republic nation as stated in the constitution of India.

And before any of you point at the problems faced by India, let me tell you most of those problems are due to its burgeoning population and should not be attributed to its socialist aspect. And as far as Sweden is concerned, it is ranked as the 4th least corrupt nation in the world. A clue that it's people lead contented lives. And Sweden enjoys an ultra low unemployment rate of around 4% which is the least in the European Union.

Simply put, socialism is a process of control of resources by a community or state in varying degrees. So the big question is does the Free Software movement enjoy any relation with socialist ideology ?

If you go by the definition of Socialism, I would say yes. The source code is open and is controlled by the Free software community at large. And it is the community which largely decides and dictates the direction of a software's progress. Each decision is taken through consensus and by interacting with its users. Though at times there is bound to be a lot of bickering and clash of egos, for the large part, the job gets done splendidly. And socialism works in the software realm when it is a massive failure when implemented in an extreme form (read communism) in real life is because unlike the resources in real life, software is a replenish-able resource. You can literally make millions of copies of your source code and distribute it to others free of cost and still you will be left holding the original copy of the source code.

Having stated my views about this topic, I came across this lengthy article which talked about the inherent link between Free software and socialism. What held my attention was the insidious way in which they had portrayed the 'X' in Linux with a hammer and sickle - the trademark of communist movement. If anything, Free software movement is far removed from the mess that is communism.

Poll indicates GNOME the most popular desktop environment with KDE close behind

Around one month back, this blog featured a poll that asked you which window manager (Desktop) you used the most. The poll was open roughly for two weeks and closed on 31st of August 2007. In those two weeks, nearly 900 (889 votes) people voted in the polls. And the results are not entirely out of expectation.

GNOME and KDE are neck and neck in the popularity front with GNOME being the favoured window manager by 361 people vs KDE by 335 people. Now it can be stated with certainty that both these window managers (desktops really) are equally popular since the difference is just less than 30 votes. The third place goes to XFCE which is also not a big surprise and it snagged 71 votes (around 7% of the total votes cast). Fluxbox/Blackbox combination takes the 4th place.

What is really surprising is that Enlightenment received 18 votes which is more than what IceWM got. Now, I have not seen that many Linux distributions or Unices which come pre-loaded with Enlightenment window manager, though I have found it a very good one. But many Linux distributions such as the mini ones do bundle IceWM with them.

Fig: Pie chart of the percentage of votes polled

Below are the full results of the polls.

Total votes cast : 889


Window managerVotes% Votes
GNOME36140%
KDE33537%
XFCE717%
Fluxbox, Blackbox444%
Enlightenment182%
IceWM151%
Window maker91%
Fvwm5<>
After step2<>
Some other161%
I don't use a window manager131%

World map of Internet connectivity

Care to know the level of Internet connectivity in your country ? Or rather, you would like to know which all areas in the world are the most densely wired. Well here is a pictorial representation of the density of Internet connection.

Fig: Internet connectivity world map

The aptly named "Internet Map" is the creation of Cris Harrison. To create the set of visual maps, he made use of the data from the DIMES project which is a distributed scientific research project, aimed to study the structure and topology of the Internet - a purely volunteer effort on the lines of SETI@HOME project.

Not surprisingly, Europe, USA and Japan lead in the most wired areas in the world.

View the full set of maps of the internet connectivity across the world at Cris Harrison's site.

Mandriva 2008 release

Mandriva Linux distribution project team has released their latest version namely Mandriva 2008. What is unique about Mandriva is that apart from providing the Free version of Linux, they have also made available a LiveCD version which contain all the proprietary codecs and drivers including the graphics drivers from Nvidia and ATI.

Mandriva 2008 is available in three formats namely :
  1. Mandriva 2008 One - This is a liveCD which can also be installed on the hard disk. Mandriva team recommends that people download this one because it contain all the non-Free bits and pieces like the multimedia codecs, Flash player, Sun's Java, NVIDIA and ATI proprietary drivers and so on. It is available for free download.
  2. Mandriva 2008 Free - This is the same as above but without the proprietary codecs. It is available as a 3-CD / 1-DVD edition made up entirely of free / open source software which also you can download for free.
  3. Mandriva 2008 Power Pack - is a DVD edition which includes support, services, and important third-party proprietary software like LinDVD, Cedega, the Fluendo multimedia codecs, Flash Player, Scilab and 03 Spaces. You have to buy it from the Mandriva store.
Mandriva 2008 features at a glance
  • Linux kernel 2.6.22
  • X.org 7.2
  • KDE 3.5.7 with an option to try out KDE 4.0
  • GNOME 2.20.0
  • OpenOffice.org 2.2.1
  • Mozilla Firefox 2.0.0.6 and updated versions of all other software.
  • Compiz Fusion
  • Windows documents and settings migration tool and
  • a new network management tool
Changes in Mandriva 2008 at a glance
  • PHP 4.x has been deprecated
  • Loopback based encrypted file systems as well as XFS file systems support has been removed.
  • A more granular package selection process in place during installation. Also improvement to rpmdrake and urpmi
  • Open SuSE's Aparmor has been included as the new security tool.
  • Liberation fonts have been included.
  • Man pages now compressed with LZMA
  • Compiz Fusion replaces Beryl as Beryl has now merged with Compiz.
  • Alternative open source drivers for ATI graphics cards
All in all, Mandriva 2008 seems to be a robust up to date Linux distribution with out of the box support for all the essential non-Free bits to cater to the general populace, at the same time providing a Free version sans proprietary stuff to satisfy the cravings of the Free software lovers. You can read the full release notes and also download a copy of Mandriva 2008 here.

EnGarde Secure Linux - Installation screenshots

These screenshots describe all the steps required to install EnGarde Secure Linux on your server.

Fig: Booting from the CD-ROM

Fig: Welcome screen

Fig: Set root password for LiveCD

Fig: Configure networking


Fig: Choose between installation and LiveCD mode. I chose the Installation mode.


Fig: Choose the language



Fig: Decide on the partitioning scheme.


Fig: Choose the type of your hard disk

Fig: Point of no return


Fig: Select the packages you want to install.




Fig: Configure the network cards


Fig: Set fully qualified host name for your server.


Fig: Set the primary and secondary name server.


Fig: Installation finished message


Fig: LILO boot loader of EnGarde secure Linux

EnGarde Secure Linux WebTool interface - Administrate your remote machine from within a web browser

One of the USP's of EnGarde Secure Linux is its fabulous WebTool. This tool is so versatile that you can do any and all system administration tasks from within this interface. You access the WebTool from within any web browser. Here are some of the screen shots of this tool. These are just a small subset of the tasks you can achieve using the WebTool interface.

Fig: WebTool main page


Fig: View the log files in real time

Fig: Initial configuration screen - choose the services to run


Fig: Initial configuration screen - Create a GSDN account


Fig: Manage the services on the machine.


Fig: Make a backup of files on your server.


Fig: SSH server configuration page


Fig: General configuration for firewall


Fig: Write firewall rules

Fig: FTP server configuration page

Read more

Review : EnGarde Secure Linux

There are hundreds of Linux distributions targeting a diverse sets of users. While quite a number of these Linux distributions - especially the main stream ones - position themselves as a universal solution to all your Linux expectations, there are some of them which take a specialist role of one form or other, catering to a specific set of Linux users.

One such specialized Linux distribution which is targeted specifically at servers is the EnGarde Secure Linux. As the name indicates, this Linux distribution lays stress on the security aspect because servers should by default be secure out of the box. And EnGarde Secure Linux goes the extra length and pulls all stops to make sure the server is indeed secure. More on that later.

EnGarde Secure Linux is released by its parent company Guardian Digital in two forms - one is the Community edition which is available for free download and the other is the commercial Professional edition. The community edition of EnGarde is full featured, secure and is built entirely from open source and it contain many of the capabilities of the Professional edition. Guardian Digital claims they have over 500 corporate clients across USA, Canada and the rest of the world who use EnGarde Secure Linux.

I decided to install the Community edition of EnGarde Secure Linux on my machine and take it for a spin.

One of the unique aspects of EnGrade Secure Linux is that it ships with only those packages that are absolutely necessary to function as a server. So you won't find software such as a X Windows server or other desktop utilities which is expected in any normal Linux distribution. But EnGarde ships with the necessary databases, web server, mail server and DNS server and you can configure EnGarde to function as any of those or all of them.

Installation of EnGarde Secure Linux
Installation of EnGarde Secure Linux is as such, a trouble free affair and is achieved via its text based installer. On the other hand if you are just interested in trying it out, that is also possible because the ISO also functions as a LiveCD and you can try out all the features that EnGarde has to offer without installing it on your hard disk.

Basically, These are the steps I had to go through in installing EnGarde on my machine.

Fig: Booting from the CD-ROM Check out all of them


Fig: Decide on the partitioning scheme.Check out all of them

  • Change root and webTool password - this is applicable only if you are using EnGarde as a LiveCD.
  • Decide on whether you want DHCP or static networking
  • Choose between running EnGarde in installation or LiveCD mode - Here I chose Installation mode as I wanted to install it on my machine.
  • Choose the language - English is default.
  • Decide on the partitioning of your hard disk. Here there are two choices. One is the automatic one where the installer will create the necessary partitions (usually /,/var and /home). And the other option is manual where you can decide to partition your hard disk as per your requirement. But either way, it is not possible to dual boot between OSes if you are installing EnGarde on your machine as it wipes out your whole disk. So backup your data before you proceed with your installation - you have been warned. I chose automatic partition option here.
  • Decide on the type of hard disk - whether IDE or SCSI.
  • Choose the packages - The packages are broadly classified into 6 sections namely Databases, DNS, Firewall, Mail services, Network Intrusion Detection and Web services. I selected all the packages and pressed OK and the installer started copying all the files to the hard disk.
  • Next I had to configure the network card and provide information such as the IP address, netmask, the default gateway and the network address.
  • Then it prompted me to provide a fully qualified domain name for my machine.
  • Lastly I had to enter the IP address of the primary and secondary name server.
That was it. EnGarde secure Linux was now fully installed on my machine.

By default around 220 packages are bundled with EnGarde and using the versatile webTool you can also install an additional 300 or so packages all of them cherry picked for use at the server end. EnGarde is available for i686 and x86 64 bit architectures and uses RPM packages managed by apt-get.

Security aspect of EnGarde secure Linux
Engarde implements security by following a number of rules.
  1. It locks down the box at the Host level by implementing a number of features such as TCP wrappers, implementing restricted user rights globally and running SELinux policies in enforcing mode.
  2. At the network level, EnGarde ships with a plethora of network tools which allow a system administrator to analyse the security level of his machine and take preventive measures. EnGarde ships with a unique webTool through which you can do any and all system administration tasks from a remote location including rebooting or shutting down the server. This means that after installation, you can safely place the server in a locked room and not worry about its physical security.
  3. Up to date security patches of software are released on a regular basis (more like every month) enabling system administrators to plug any security holes in the server software they run. This is automated to a certain level via the Guardian Digital Secure Network (GSDN). And you are prompted to register and create a GSDN account (for free) - it is not an option.
Webtool in Engarde Secure Linux
At the end of installation, you are notified that the most preferred way of administering the Linux box is via a web browser using the address https://:1023/.

I initially typed the address but missed the 's' in 'https' and was flummoxed but later figured out my mistake and correctly typed the address. That is right, the web tool is accessed via secure http (using SSL).

You log in to the webTool using two different passwords depending on whether you are using EnGarde as a LiveCD or if you have installed it on a machine.

For LiveCD :
The login name is 'admin' and the password is the root password you set while booting the EnGarde Linux CD.

When Installed :
The login name is 'admin' and the password is "lock&%box". And the first time you log into the admin section, you are confronted with an initial configuration screen.

Here the first thing you are prompted to do is register for a GSDN account which is free. EnGarde Secure Linux makes use of the GSDN account to provide up to date automated security fixes to your server. Then specify (or rather change) the root and webTool password, specify the NTP servers as well as your geographic location and lastly fine tune the services you would require to run on your remote server.

Fig: WebTool main page
More screenshots of webtool interface

The web interface can be viewed in three languages at present namely English, Spanish and Italian with work going on to support more languages.

WebTool is the pivot with which you can effectively administer the system remotely from within a web browser.

I was really amazed at the things you can achieve from within the web tool. For instance, you can manage users, manage database servers, manage the web server (Apache), implement DNS, view all the security logs updated in real time, manage mail servers, enable and disable system level services, enable and configure firewall, even run most of the security tools such as Snort bundled with EnGarde and view their output in the web browser. In short the web tool is a one stop shop for troubleshooting and managing your server from a remote location. A very powerful interface indeed.

I can already see the possibilities where choosing EnGarde Secure Linux at the server end could circumvent some hardware limitations. Here is a scenario - Say you are interested in hosting a website on a VPS (Virtual Private Server) account. Now a days, it is possible to get a VPS account for as low as $7/month. While the price is equivalent to any shared hosting price, there is a catch which is that, at that low price, the memory (RAM) allocated to your virtual machine is not more than 64MB and the % of CPU cycles allocated is also limited. You can't possibly run CPanel or Plex in this account as they require at least 256 MB memory be allocated to your server to function efficiently. Since the webTool is integrated with EnGarde Secure Linux and does not utilize much memory, EnGarde turns out to be a viable alternative solution to an automated server not to speak of the importance it gives to security and performance.

To sum up, I found EnGarde Secure Linux to be a unique blend of a robust Linux server topped up with loads of security features coupled with a very powerful webTool which aids in administering the server remotely, all from within a web browser.