<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nirlog.com &#187; HowTo</title>
	<atom:link href="http://nirlog.com/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://nirlog.com</link>
	<description>Technology, Life and other stuff that come along...</description>
	<lastBuildDate>Sat, 14 Jan 2012 15:42:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Chrome OS in Vmware</title>
		<link>http://nirlog.com/2009/11/21/google-chrome-os-in-vmware/</link>
		<comments>http://nirlog.com/2009/11/21/google-chrome-os-in-vmware/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:38:08 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[chrome in vmware]]></category>
		<category><![CDATA[chrome shell access]]></category>
		<category><![CDATA[chrome ssh]]></category>
		<category><![CDATA[google chrome os]]></category>

		<guid isPermaLink="false">http://nirlog.com/?p=320</guid>
		<description><![CDATA[I couldn&#8217;t resist myself from trying Google&#8217;s Chrome OS that got everyone buzzing. Engadget has a very helpful video &#8211; How-to: run Chrome OS as a virtual machine. The image they&#8217;ve used is from gdgt. Another useful how to is at TechCrunch &#8211; Want To Try Out Google Chrome OS For Yourself? Here’s How. They&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I couldn&#8217;t resist myself from trying Google&#8217;s Chrome OS that got everyone buzzing.</p>
<p>Engadget has a very helpful video &#8211; <a href="http://www.engadget.com/2009/11/20/how-to-run-chrome-os-as-a-virtual-machine/">How-to: run Chrome OS as a virtual machine</a>. The image they&#8217;ve used is from  <a href="http://gdgt.com/google/chrome-os/download/">gdgt</a>.</p>
<p>Another useful how to is at TechCrunch &#8211; <a href="http://www.techcrunch.com/2009/11/19/guide-install-google-chrome-os/">Want To Try Out Google Chrome OS For Yourself? Here’s How.</a> They&#8217;re running <a href="http://torrents.thepiratebay.org/5170843/chromeos-image-999.999.32309.211410-a1.vmdk.bz2.5170843.TPB.torrent">this Chrome image</a> (downloaded from torrent)  on <a href="http://www.virtualbox.org/wiki/Downloads">Sun VirtualBox</a>.</p>
<p>First I tried the image from gdgt on my Vmware Fusion, it booted ok but couldn&#8217;t detect the network and was impossible to login.</p>
<p>I then downloaded the image from torrent (used by TechCrunch), which detected the network but strangely didn&#8217;t let me login with my google account. I did create a new google account just to try this and to be on a safer side. After reading the comments on torrent site, I figured that you can login with user &#8220;mark&#8221; and password &#8220;chromeos&#8221;. Boom&#8230; that let me in!</p>
<p>The first impression after few minutes of mocking around was that this wasn&#8217;t anywhere like the one <a href="http://www.youtube.com/watch?v=ANMrzw7JFzA">demoed by Google guys</a>. No app menu and panels. It was just like a chrome browser in virtual machine. But after playing for a while and googling around. I figured that &#8220;Ctrl Alt t&#8221; takes you to the terminal &#8211; you can sudo with the same password &#8220;chromeos&#8221;.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2009/11/chrome-shell-reboot-1.png" height="585" width="438" border="1" hspace="4" vspace="4" alt="Chrome-Shell-Reboot-1" /><br />
After rebooting the Chrome OS from command line and re-logging in, the App Menu became available.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2009/11/chrome-app-tabs-1.png" height="370" width="420" border="1" hspace="4" vspace="4" alt="Chrome-App-Tabs-1" /></p>
<p>I could start the sshd</p>
<p><img src="http://nirlog.com/wp-content/uploads/2009/11/chrome-start-ssh.png" height="381" width="438" border="1" hspace="4" vspace="4" alt="Chrome-Start-Ssh" /></p>
<p>And remote login from my Mac<br />
<img src="http://nirlog.com/wp-content/uploads/2009/11/chrome-remote-login.png" height="443" width="433" border="1" hspace="4" vspace="4" alt="Chrome-Remote-Login" /></p>
<p>Personally, I think Chrome is trying to bring thin clients back in from of netbooks. Thin clients failed earlier because the networks were slow and &#8220;cloud&#8221; wasn&#8217;t there. But Chrome stands a chance as cloud is the future and it&#8217;s built with three very important goals in mind &#8211; Security, Speed and Reliability. Having said that, native softwares are absolutely must for it to succeed. Even iPhones need native apps!</p>
<p>As far as user experience is concerned, at the moment Chrome OS is nothing but a browser. If you want to experience the early Chrome OS &#8211; just install Chrome browser and browse your favorite sites <img src='http://nirlog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I&#8217;m sure this is going to change when Chrome OS is finally released for public next year.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2009/11/21/google-chrome-os-in-vmware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Install Windows7 in Mac with Vmware Fusion</title>
		<link>http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/</link>
		<comments>http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 23:16:31 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/</guid>
		<description><![CDATA[I downloaded Windows7 beta on the first day of it&#8217;s public release, but didn&#8217;t get around trying it. Finally I got a chance to install it today. The installation was smooth and straight forward. This is how I installed Windows 7 beta on my Mac with Vmware Fusion. Download The 2.44 GB ISO file can [...]]]></description>
			<content:encoded><![CDATA[<p>I downloaded Windows7 beta on the first day of it&#8217;s public release, but didn&#8217;t get around trying it. Finally I got a chance to install it today. The installation was smooth and straight forward.</p>
<p>This is how I installed Windows 7 beta on my Mac with Vmware Fusion.</p>
<p><strong>Download<br />
</strong><br />
The 2.44 GB ISO file can be downloaded from <a href="http://www.microsoft.com/windows/windows-7/beta-download.aspx">Windows7 beta download page</a>. It took me around 2 hours to download it using my 8MB home broadband. You&#8217;ll also be given a Windows 7 Beta Product Key together with the download to activate windows 7.</p>
<p><strong>Create New Virtual Machine<br />
</strong><br />
Create a new virtual machine by launching the Vmware Fusion and going to <strong>FIle&#8211;&gt;New</p>
<p></strong>Click on <strong>Continue without disk</strong>, because we&#8217;ll be using the ISO image to install Windows 7.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/new-vm.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/002-new-vm.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="002-New-Vm" /></a></p>
<p>Then, click on <strong>Use operating system installation disk image file</strong> and select the Windows 7 ISO file downloaded earlier.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/install-media.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/003-install-media.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="003-Install-Media" /></a></p>
<p>Choose the Operating System. I had downloaded the 64 bit version so, I chose Windows Vista x64 Edition.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/choose-os.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/004-choose-os.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="004-Choose-Os" /></a></p>
<p>Enter the <strong>Account Name, Password</strong> and the <strong>Windows Product Key</strong><br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/win-product-key.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/005-win-product-key.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="005-Win-Product-Key" /></a></p>
<p>I don&#8217;t need file sharing at the moment so, I disabled the windows sharing by choosing <strong>None</strong>.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/win-share.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/006-win-share.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="006-Win-Share" /></a></p>
<p>Default config of the new virtual machine. I wanted to give more RAM to the new vm so, clicked on <strong>Customize Settings</strong><br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/default-config.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/007-default-config.jpg" height="318" width="420" border="1" hspace="4" vspace="4" alt="007-Default-Config" /></a></p>
<p>This is where you can customize the hardware settings for your virtual machine. Click on <strong>Processors &#38; RAM</strong> to increase the RAM size.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/custom-setting.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/008-custom-setting.jpg" height="255" width="420" border="1" hspace="4" vspace="4" alt="008-Custom-Setting" /></a></p>
<p>Increase the RAM to 2048MB (2GB)<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/2GB-RAM.png" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/009-2GB-RAM.jpg" height="263" width="420" border="1" hspace="4" vspace="4" alt="009-2Gb-Ram" /></a></p>
<p>Click on the play button to begin installation<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/start-guest.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/010-start-guest.jpg" height="240" width="420" border="1" hspace="4" vspace="4" alt="010-Start-Guest" /></a></p>
<p>The installation starts&#8230;<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/start-install.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/011-start-install.jpg" height="370" width="420" border="1" hspace="4" vspace="4" alt="011-Start-Install" /></a></p>
<p>After couple of reboots and an approximately half an hour later it&#8217;s done.<br />
<a href="http://nirlog.com/wp-content/uploads/2009/02/installed.jpg" rel="lightbox[win7]"><img src="http://nirlog.com/wp-content/uploads/2009/02/019-installed.jpg" height="360" width="420" border="1" hspace="4" vspace="4" alt="019-Installed" /></a></p>
<p>The installation was seamless and I&#8217;m planning to use Window 7 for some time next week to see how good it is. The immediate next thing is an anti-virus. Complimentary McAfee anti-virus provided by vmware fusion is not compatible with Windows 7 yet, and a quick google showed Kaspersky, so I might install that.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2009/02/01/how-to-install-windows7-in-mac-with-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load balancing web servers with Pound</title>
		<link>http://nirlog.com/2007/11/28/load-balancing-web-servers-with-pound/</link>
		<comments>http://nirlog.com/2007/11/28/load-balancing-web-servers-with-pound/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 22:26:12 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/11/28/load-balancing-web-servers-with-pound/</guid>
		<description><![CDATA[If you&#8217;re running a web site and have come to a point where a single web server cannot handle the traffic, then it&#8217;s time to get multiple web servers and share the loading. To do that you&#8217;ll need a load balancer which distributes the web traffic among multiple web servers. Basically you&#8217;ve two choice &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running a web site and have come to a point where a single web server cannot handle the traffic, then it&#8217;s time to get multiple web servers and share the loading. To do that you&#8217;ll need a load balancer which distributes the web traffic among multiple web servers.</p>
<p>Basically you&#8217;ve two choice &#8212; go for the hardware solutions (expensive with many nice features) or software solutions (possibly free but with limited features). If you want a free and open source solution then Pound is the choice.</p>
<p><a href="http://www.apsis.ch/pound/">Pound is a Free Open Source reverse-proxy, load balancer, SSL wrapper, http/https sanitizer, fail over server and a request redirector</a>:</p>
<blockquote><p>1. a reverse-proxy: it passes requests from client browsers to one or more back-end servers.<br />
2. a load balancer: it will distribute the requests from the client browsers among several back-end servers, while keeping session information.<br />
3. an SSL wrapper: Pound will decrypt HTTPS requests from client browsers and pass them as plain HTTP to the back-end servers.<br />
4. an HTTP/HTTPS sanitizer: Pound will verify requests for correctness and accept only well-formed ones.<br />
5. a fail over-server: should a back-end server fail, Pound will take note of the fact and stop passing requests to it until it recovers.<br />
6. a request redirector: requests may be distributed among servers according to the requested URL.</p></blockquote>
<p>Pound is built with security in mind, it can run as setuid/setgid and/or in a chroot jail. It&#8217;s a very small, robust and efficient program.</p>
<p>It&#8217;s very easy to install and configure.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/11/simple-pound.jpg" height="529" width="320" border="1" hspace="4" vspace="4" alt="Simple-Pound" /></p>
<p><span id="more-271"></span><br />
<strong>Installation</strong></p>
<p>pound can be installed from the source or the binary depending on your os distribution.</p>
<p><strong>Configuration</strong></p>
<p>Here&#8217;s an example of simple configuration to share the loading between two web servers behind the Pound load balancer</p>
<blockquote><p>ListenHTTP<br />
Address &lt;real ip address&gt;<br />
Port 80<br />
End<br />
ListenHTTPS<br />
Address &lt;real ip address&gt;<br />
Port 443<br />
Cert &#8220;/etc/pound/ssl-cert.pem&#8221;<br />
End</p>
<p>Service<br />
BackEnd<br />
Address 192.168.1.2<br />
Port    80<br />
End<br />
BackEnd<br />
Address 192.168.1.3<br />
Port    80<br />
End<br />
End </p></blockquote>
<p>Pound can keep track of sessions between a client and a back-end server by client address, Basic authentication, URL parameter, cookie or header value. Here&#8217;s how we keep the session by cookies</p>
<blockquote><p>Session<br />
Type    Cookie<br />
ID      &#8220;sess&#8221;<br />
TTL     300<br />
End</p></blockquote>
<p>Pound is straight forward to configure and understand. It&#8217;s a perfect choice for free and open source load balancer.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/11/28/load-balancing-web-servers-with-pound/feed/</wfw:commentRss>
		<slash:comments>-2</slash:comments>
		</item>
		<item>
		<title>Upgraded to Leopard but with some hiccups</title>
		<link>http://nirlog.com/2007/10/28/upgraded-to-leopard-but-with-some-hiccups/</link>
		<comments>http://nirlog.com/2007/10/28/upgraded-to-leopard-but-with-some-hiccups/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 14:41:46 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/10/28/upgraded-to-leopard-but-with-some-hiccups/</guid>
		<description><![CDATA[I&#8217;ve just upgraded my MacBook Pro to Leopard. I expected it to be very smooth and painless as many other users have reported, but unfortunately I encountered some problem. I had to spend around extra 4 hours, and was worried about losing my data all the way until the upgrade was complete. So, this is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just upgraded my MacBook Pro to Leopard. I expected it to be very smooth and painless as many other users have reported, but unfortunately I encountered some problem. I had to spend around extra 4 hours, and was worried about losing my data all the way until the upgrade was complete.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/10/leopard.png" height="99" width="420" border="1" hspace="4" vspace="4" alt="Leopard" /></p>
<p>So, this is what happened. I inserted my Leopard DVD and clicked on Install Mac OS X, then my MBP restarted. I chose the option to Upgrade (it actually detected and told me that I wanted to upgrade). It took around 2 hours to complete and asked for a final restart. That was supposed to be the end of upgrade, but after the final restart my MBP was stuck on white screen with apple logo. I waited for half an hour, then it became obvious that nothing was happening,  so I pushed the power button and re-started again, which led to the same white screen. At this point I was quite worried about my data. I had done my last backup 2 months ago. Actually I should have backed up before starting the upgrade, but I thought since everyone is doing it smoothly why would I have a problem? Also I was too excited to experience the Leopard that I didn&#8217;t want to spend time backing up, and neglected the risk of losing 2 months data.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/10/white-screen.JPG" height="315" width="420" border="1" hspace="4" vspace="4" alt="White-Screen" /><br />
Stuck in the white screen forever</p>
<p><span id="more-269"></span><br />
After getting stuck in the white screen twice, I restarted the MBP holding the <strong>C</strong> key, which took me to the Leopard Installation Screen. Then I clicked on <strong>Disk Utility</strong> and chose to <strong>Repair Disk</strong>. The Repair Disk Utility found 2 problems in the Volume and reported that it successfully fixed them.</p>
<blockquote><p>Invalid Volume file count<br />
Invalid directory count</p></blockquote>
<p>I thought that&#8217;s a good news and hoped it would fix the problem. I restarted the MBP, but again got stuck in the same white screen with apple logo. At this point I decided to make a backup of my 2 months data (which I should have done before the upgrade). So, I restarted again holding <strong>C</strong> and connected my external USB hard disk (fortunately it detects the external hard disk and the installation screen has disk utility and terminal shell). I copied my data using command line from my MBP&#8217;s internal hard disk to my external usb hard disk. Now it felt better being sure that my data was in external hard disk.</p>
<p>Then I chose the option to <strong>Archive and Install</strong>, with <strong>Preserve Users and Network Settings</strong> checked. The installation took around 2 hours and finally booted successfully to Leopard. Yes&#8230;! I shouted with delight, the first thing I noticed was the Leopards eye-candy desktop background and the dock. It had preserved all my settings from Tiger. All the applications seem to work perfectly. I haven&#8217;t noticed any difference in performance, it&#8217;s as fast as Tiger. I&#8217;ve already played with some features like Cover Flow, Stacks, Spaces and Mail with todo and note. The Time Machine is very cool and easy to use, I think it is the most painless backup system I&#8217;ve ever seen. The installation has created a folder called Previous Systems where the Tiger (failed Leopard upgrade) is archived.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/10/time-machine1.jpg" height="263" width="420" border="1" hspace="4" vspace="4" alt="Time-Machine" /><br />
Time Machine &#8211; visual backup and recovery</p>
<p>I&#8217;m happy that I&#8217;ve got the latest and greatest OS in my machine but will never attempt another upgrade without fully backing-up the data first <img src='http://nirlog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/10/28/upgraded-to-leopard-but-with-some-hiccups/feed/</wfw:commentRss>
		<slash:comments>-37</slash:comments>
		</item>
		<item>
		<title>Free Web Hosting Management with Virtualmin</title>
		<link>http://nirlog.com/2007/03/21/free-web-hosting-management-with-virtualmin/</link>
		<comments>http://nirlog.com/2007/03/21/free-web-hosting-management-with-virtualmin/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 12:20:22 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/03/21/free-web-hosting-management-with-virtualmin/</guid>
		<description><![CDATA[Few years ago I was looking for a virtual host management system, that&#8217;s when I came across Virtualmin. The features satisfied my requirements and of course you can&#8217;t beat the free, price wise . I&#8217;ve been using it in an environment with 100+ virtual hosts since then, and don&#8217;t have any regret on my choice. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin.png" height="81" width="214" border="1" align="right" hspace="4" vspace="4" alt="Virtualmin" />Few years ago I was looking for a virtual host management system, that&#8217;s when I came across Virtualmin. The features satisfied my requirements and of course you can&#8217;t beat the free, price wise <img src='http://nirlog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I&#8217;ve been using it in an environment with 100+ virtual hosts since then, and don&#8217;t have any regret on my choice. It&#8217;s running all these years without any problem.</p>
<p><strong>What is Virtualmin<br />
</strong></p>
<p>Virtualmin is a free and open-source virtual hosting management system designed to make virtual hosting quick, reliable, and secure. It&#8217;s a <a href="http://nirlog.com/2006/03/03/webmin-web-based-admin-for-novice-and-advanced-admins-2/">Webmin</a> module, which supports the creation and management of Apache virtual hosts, BIND DNS domains, MySQL/PostgresSQL databases, and mailboxes and aliases with Sendmail, Postfix or Qmail. It  utilizes existing Webmin modules for these servers, and works with any existing system configuration, rather than needing it&#8217;s own mail server, web server and so on. There&#8217;s also a commercial version of Virtualmin that you&#8217;ve to pay for, called <a href="http://www.virtualmin.com/">Virtualmin Pro</a>, which includes some extra features and support.</p>
<p><span id="more-240"></span><br />
<strong>Virtualmin Installation</strong></p>
<p>To install the Virtualmin module, first you need a working <a href="http://nirlog.com/2006/03/03/webmin-web-based-admin-for-novice-and-advanced-admins-2/">Webmin</a>, after you&#8217;ve webmin installed it&#8217;s pretty straight forward. Download the latest version of Virtualmin from <a href="http://www.webmin.com/virtualmin.html">Virtualmin&#8217;s site</a> and install it from the webmin&#8217;s Modules installation interface.</p>
<p><strong>Login to Webmin as root &#8211;&gt; Webmin Configuration &#8211;&gt; Webmin Modules<br />
</strong><br />
Choose the Webmin installation file and click <strong>Install Module</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-install.png" height="207" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Install" /></p>
<p>After you complete the installation, click on <strong>Virtualmin Virtual Servers (GPL) </strong>which will lead you to the next interface, where you&#8217;ll need to re-check and refresh configuration. Click on <strong>Re-check and refresh configuration</strong> button. This is to make sure that all the required softwares are installed and configured properly. This step will check for Apache, Webalizer, MySQL, Sendmail and other softwares installation and configuration. If it finds any problem it&#8217;ll report and give you an option to correct it. If everything is ok, you&#8217;ll see a message saying <strong>&#8230;your system is ready for use by Virtualmin</strong>.<br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-recheck-config.png" height="112" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Recheck-Config" /></p>
<p><img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-system-ready.png" height="273" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-System-Ready" /></p>
<p>That&#8217;s it, you&#8217;ve successfully installed Virtualmin. Now adding a new virtual host is very easy. During the addition of a new virtual host you can choose the features that you want to have for this virtual domain, e.g. if you&#8217;ll use this new virtual host for your WordPress blog then you need a MySQL database too, for that you&#8217;ll need to choose <strong>Create MySQL database</strong> from the <strong>Enabled Features</strong> list.<br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-add-vhost.JPG" height="351" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Add-Vhost" /></p>
<p><strong>Virtualmin Features<br />
</strong></p>
<p>Virtualmin is a feature rich hosting management system. Here&#8217;s a <a href="http://www.virtualmin.com/vs/virtualmin-vs-cpanel">feature-to-feature comparition of Virtualmin and cPanel</a> (cPanel is compared with Virtualmin Pro, but most of the features are present in free version too). Here&#8217;re some features that I find useful:</p>
<p><strong>Single Management Interface</strong></p>
<p>All Virtual hosts can be managed from a single interface. You can see the all the existing virtual hosts and their total allocated quota and usage.<br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-main.png" height="237" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Main" /></p>
<p><strong>Backup Restore</strong></p>
<p>It&#8217;s very easy to perform an instant backup of selected or all domains with a single click.<br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-backup.JPG" height="393" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Backup" /><span style="font-size:12pt;"><br />
</span></p>
<p>You can choose a simple scheduled backup. E.g. backup daily at midnight and send you the success or failure report to your email address.<span style="font-size:12pt;"><br />
</span><img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-scheduled-backup.png" height="249" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Scheduled-Backup" /></p>
<p>The restore is as painless as backup, all you need to do is choose the backup file and click restore.</p>
<p><strong>Bandwidth Monitoring</strong></p>
<p>Bandwidth is money. You can conserve it by activating the <strong>Bandwidth Monitoring</strong>, there&#8217;s an option to limit bandwidth usage for each virtual host and you can choose to send an alert to the owner if he&#8217;s nearing the capacity. You can also generate a bandwidth usage graph of all virtual hosts.<br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-traffic-report.png" height="178" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Traffic-Report" /></p>
<p><strong>Configuration</strong></p>
<p>You can fine-tune the Virtualmin for your environment by using the <strong>Module Config</strong> menu. This is the place to setup default parameters for all the virtual hosts. E.g. you can choose to enable MySQL, but not for all virtual hosts by default, this means when you create a new virtual host you&#8217;ll be given a choice to enable or disable MySQL for this particular virtual host. There&#8217;re plenty of other configuration options you can do here.<br />
<img src="http://nirlog.com/wp-content/uploads/2007/03/virtualmin-configuration.png" height="314" width="420" border="1" hspace="4" vspace="4" alt="Virtualmin-Configuration" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/03/21/free-web-hosting-management-with-virtualmin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The 12 steps to cure e-mail addiction</title>
		<link>http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/</link>
		<comments>http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 04:47:10 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/</guid>
		<description><![CDATA[It has changed the way we communicate and do business, with it&#8217;s ease of use, price (free for end users), and effectiveness, e-mail has taken our productivity to a whole new level. But there&#8217;s a darker side to it. Now people are getting addicted to emails. The misuse and addiction is doing just the opposite, [...]]]></description>
			<content:encoded><![CDATA[<p>It has changed the way we communicate and do business, with it&#8217;s ease of use, price (free for end users), and effectiveness, e-mail has taken our productivity to a whole new level. But there&#8217;s a darker side to it. Now people are getting addicted to emails. The misuse and addiction is doing just the opposite, costing businesses millions of dollars in lost productivity. But there&#8217;s a hope, reuters put it this way &#8212; &#8220;Alcoholics have one, and so do drug abusers. Now people addicted to e-mail also have a 12-step program designed to tackle their obsession.&#8221;  <a href="http://www.cnn.com/2007/TECH/internet/02/20/email.addiction.reut/index.html?eref=rss_tech">Here are the 12 steps to manage your e-mail</a>:</p>
<blockquote><p>1. Admit that e-mail is managing you. Let go of your need to check e-mail every ten minutes.<br />
2. Commit to keeping your inbox empty.<br />
3. Create files where you can put inbox material that needs to be acted on.<br />
4. Make broad headings for your filing system so that you have to spend less time looking for filed material.<br />
5. Deal immediately with any e-mail that can be handled in two minutes or less but create a file for mails that will take longer.<br />
6. Set a target date to empty your in box. Don&#8217;t spend more than an hour at a time doing it.<br />
7. Turn off automatic send/receive.<br />
8. Establish regular times to review your e-mail.<br />
9. Involve others in conquering your addiction.<br />
10. Reduce the amount of e-mail you receive.<br />
11. Save time by using only one subject per e-mail; delete extra comments from forwarded e-mail, and  make the subject line detailed.<br />
12. Celebrate taking a new approach to e-mail.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2007/02/21/the-12-steps-to-cure-e-mail-addiction/feed/</wfw:commentRss>
		<slash:comments>-10</slash:comments>
		</item>
		<item>
		<title>OpenVPN Implementation</title>
		<link>http://nirlog.com/2006/11/09/openvpn-implementation/</link>
		<comments>http://nirlog.com/2006/11/09/openvpn-implementation/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 07:35:46 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/11/09/openvpn-implementation/</guid>
		<description><![CDATA[This guide describes how to install and configure the OpenVPN Server in Linux and clients in Windows XP and Mac OSX. There are many advanced features in OpenVPN and if you&#8217;re interested in those advanced stuff, there&#8217;s a more detailed HowTo for you. This guide was created from my successful installation, so it works for [...]]]></description>
			<content:encoded><![CDATA[<p>This guide describes how to install and configure the OpenVPN Server in Linux and clients in Windows XP and Mac OSX. There are many advanced features in OpenVPN and if you&#8217;re interested in those advanced stuff, there&#8217;s a more <a href="http://openvpn.net/howto.html">detailed HowTo</a> for you. This guide was created from my successful installation, so it works for me. If you find any problems or have suggestions please leave a comment. I&#8217;ll try my best to help. I&#8217;m sure, you know that you&#8217;re using this at your own risk <img src='http://nirlog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In our scenario, a small office network is protected by Linux firewall and we&#8217;ll implement the secure OpenVPN to access the internal office network (File Server, Database Server and Desktop PCs) securely from anywhere in the Internet.</p>
<p><img src="http://nirlog.com/wp-content/uploads/2006/11/openvpn.jpg" height="560" width="480" border="1" hspace="4" vspace="4" alt="openvpn" title="openvpn" /></p>
<p><span id="more-204"></span><br />
<strong>OpenVPN Server Installation<br />
</strong>Download the <a href="http://dag.wieers.com/packages/openvpn/">OpenVPN</a> and <a href="http://dag.wieers.com/packages/lzo/">LZO</a> packages, these are packaged RPMs for Fedora/Redhat, which also works for CentOS and Whiteboxlinux.</p>
<p><strong>Install the packages:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/rpm-install.jpg" height="183" width="477" border="1" hspace="4" vspace="4" alt="rpm-install" title="rpm-install" /></p>
<p><strong>Enable packet forwarding between 2 interfaces in OpenVPN Server:</strong></p>
<blockquote><p>#echo 1 &gt; /proc/sys/net/ipv4/ip_forward</p></blockquote>
<p><strong>Master Certificate Authority (CA) Certificate and Key:</strong><br />
A set of scripts bundled with OpenVPN make the PKI management easier. We&#8217;ll use these scripts to generate a master CA certificate/key, a server certificate/key and 2 keys/certificates for separate clients.</p>
<p>Change your directory to <strong>easy-rsa</strong> subdirectory in your OpenVPN installation:</p>
<blockquote><p># cd /usr/share/doc/openvpn-2.0.7/easy-rsa</p></blockquote>
<p>Edit the<strong> vars</strong> file and set the <strong>KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, and KEY_EMAIL</strong> parameters. My vars parameters are as following, you need to setup your own:</p>
<blockquote><p>export KEY_COUNTRY=HK<br />
export KEY_PROVINCE=KLN<br />
export KEY_CITY=Hong Kong<br />
export KEY_ORG=&#8221;OpenVPN-TEST&#8221;<br />
export KEY_EMAIL=&#8221;niranjan.kunwar@gmail.com&#8221;</p></blockquote>
<p><strong>Initialize the PKI:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/build-ca.jpg" height="335" width="480" border="1" hspace="4" vspace="4" alt="build-ca" title="build-ca" /></p>
<p><strong>Generate Certificate and Key for the Server:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/build-key-server.jpg" height="518" width="480" border="1" hspace="4" vspace="4" alt="build-key-server" title="build-key-server" /></p>
<p><strong>Generate Certificates and Keys for 2 clients:</strong></p>
<blockquote><p>#sh build-key client-win<br />
#sh build-key client-osx</p></blockquote>
<p><img src="http://nirlog.com/wp-content/uploads/2006/11/build-key-client.jpg" height="588" width="480" border="1" hspace="4" vspace="4" alt="build-key-client" title="build-key-client" /></p>
<p><strong>Generate Diffie Hellman parameters</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/build-dh.jpg" height="181" width="480" border="1" hspace="4" vspace="4" alt="build-dh" title="build-dh" /></p>
<p><strong>Copy the keys and certificate to /etc/openvpn</strong></p>
<blockquote><p>#cp dh1024.pem server.crt server.key ca.crt /etc/openvpn/</p></blockquote>
<p><strong>Server Configuration file<br />
</strong>A sample configuration file <strong>server.conf </strong>can be found in <strong>/usr/share/doc/openvpn-2.0.7/sample-config-files, </strong>copy it to<strong> /etc/openvpn </strong>and customize it according to your needs<strong>. </strong>There are many possible customizations that you can do to the configuration file. In our case the VPN Server will be listening to <strong>UDP port 1194</strong>, which is the official OpenVPN port number. We&#8217;ll offer the virtual address <strong>192.168.0.0/24</strong> to the vpn clients and push the <strong>route 192.168.1.0</strong>, which is our Office LAN subnet. Following is the contents of our configuration file <strong>server.conf:</strong></p>
<blockquote><p>port 1194<br />
proto udp<br />
dev tun<br />
ca ca.crt<br />
cert server.crt<br />
key server.key  # This file should be kept secret<br />
dh dh1024.pem<br />
server 192.168.0.0 255.255.255.0<br />
ifconfig-pool-persist ipp.txt<br />
push &#8220;route 192.168.1.0 255.255.255.0&#8243;<br />
client-to-client<br />
keepalive 10 120<br />
comp-lzo<br />
user nobody<br />
group nobody<br />
persist-key<br />
persist-tun<br />
status openvpn-status.log<br />
verb 3</p></blockquote>
<p><strong>Start the OpenVpn Server:</strong></p>
<blockquote><p># service openvpn start</p></blockquote>
<p><strong>Windows Client Installation and Configuration<br />
</strong>Download the <a href="http://openvpn.se/download.html">OpenVPN GUI for Windows</a> and install it.<br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/win-install.jpg" height="295" width="377" border="1" hspace="4" vspace="4" alt="Win-Install" /></p>
<p>Copy the <strong>ca.crt, client-win.crt </strong>and<strong> client-win.key</strong> files from OpenVPN Server to the windows pc at <strong>C:\Program Files\OpenVPN\config.</strong> A Sample client configuration file <strong>client.ovpn</strong> can be found in <strong>C:\Program Files\OpenVPN\sample-config</strong> directory, also copy it to <strong>C:\Program Files\OpenVPN\config </strong>and customize it according to your needs. Following is the contents of our client configuration file <strong>client.ovpn</strong>:</p>
<blockquote><p>client<br />
dev tun<br />
proto udp<br />
remote vpn.nirlog.com 1194<br />
resolv-retry infinite<br />
nobind<br />
persist-key<br />
persist-tun<br />
ca ca.crt<br />
cert client-win.crt<br />
key client-win.key<br />
ns-cert-type server<br />
comp-lzo<br />
verb 3</p></blockquote>
<p><strong>Connect:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/win-connect-1.jpg" height="282" width="434" border="1" hspace="4" vspace="4" alt="win-connect" title="win-connect" /></p>
<p><strong>Ping test:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/win-test.jpg" height="220" width="433" border="1" hspace="4" vspace="4" alt="win-test" title="win-test" /><br />
Successful ping to 192.168.0.1 shows that you can reach the server via vpn tunnel. You should be able to ping the Desktops and Servers (192.168.1.x) in the office network too.</p>
<p><strong>OS X Client Installation and Configuration:</strong><br />
Download <a href="http://www.tunnelblick.net/">Tunnelblick </a>and install it by unzipping and dragging the Tunnelblick.app to Applications folder.</p>
<p>Copy the <strong>ca.crt, client-osx.crt </strong>and<strong> client-osx.key</strong> files from OpenVPN Server to the Mac at <strong>/Users/&lt;yourname&gt;/Library/openvpn. </strong> The client configuration file <strong>openvpn.conf</strong> can be found in <strong>/Users/&lt;yourname&gt;/Library/openvpn</strong> directory, customize it according to your needs. Following is the contents of our client configuration file <strong>openvpn.conf</strong>:</p>
<blockquote><p>client<br />
dev tun<br />
proto udp<br />
remote vpn.nirlog.com 1194<br />
resolv-retry infinite<br />
nobind<br />
user nobody<br />
group nobody<br />
persist-key<br />
persist-tun<br />
ca ca.crt<br />
cert client-osx.crt<br />
key client-osx.key<br />
ns-cert-type server<br />
comp-lzo<br />
verb 3</p></blockquote>
<p><strong>Connect:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/tunnelblick-connect.jpg" height="350" width="480" border="1" hspace="4" vspace="4" alt="tunnelblick-connect" title="tunnelblick-connect" /></p>
<p><strong>Ping test:</strong><br />
<img src="http://nirlog.com/wp-content/uploads/2006/11/mac-test.jpg" height="182" width="478" border="1" hspace="4" vspace="4" alt="mac-test" title="mac-test" /><br />
Successful ping to 192.168.0.1 shows that you can reach the server via vpn tunnel. You should be able to ping the Desktops and Servers (192.168.1.xxx) in the office network too.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/11/09/openvpn-implementation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>10 Ways to Exercise the mind</title>
		<link>http://nirlog.com/2006/08/21/10-ways-to-exercise-the-mind/</link>
		<comments>http://nirlog.com/2006/08/21/10-ways-to-exercise-the-mind/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 07:42:03 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/08/21/10-ways-to-exercise-the-mind/</guid>
		<description><![CDATA[Allen suggests that mind is like a muscle and weakens if you don&#8217;t exercise it regularly. He offers very simple 10 ways to exercise our mind. Regularly solve puzzles Play a musical instrument Paint, sketch or draw. Learn a new language. Learn how to juggle. Play Chess, Backgammon, Checkers or even Go! Play computer games. [...]]]></description>
			<content:encoded><![CDATA[<p>Allen suggests that mind is like a muscle and weakens if you don&#8217;t exercise it regularly. He offers very simple <a href="http://shrigley.blogspot.com/2006/08/10-ways-to-exercise-mind.html">10 ways to exercise our mind</a>.</p>
<blockquote>
<ol>
<li>Regularly solve puzzles</li>
<li>Play a musical instrument</li>
<li>Paint, sketch or draw.</li>
<li>Learn a new language.</li>
<li>Learn how to juggle.</li>
<li>Play Chess, Backgammon, Checkers or even Go!</li>
<li>Play computer games.</li>
<li>Write!</li>
<li>Try amateur dramatics.</li>
<li>Travel.</li>
</ol>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/08/21/10-ways-to-exercise-the-mind/feed/</wfw:commentRss>
		<slash:comments>-17</slash:comments>
		</item>
		<item>
		<title>Firewall Analyzer</title>
		<link>http://nirlog.com/2006/08/08/firewall-analyzer/</link>
		<comments>http://nirlog.com/2006/08/08/firewall-analyzer/#comments</comments>
		<pubDate>Tue, 08 Aug 2006 08:35:37 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/08/08/firewall-analyzer/</guid>
		<description><![CDATA[Firewalls have become an integral part of all corporate networks. They&#8217;re the first line of defense against attacks from outside network (Internet) and also the point of control to make sure internal users (employees) are using the Internet as they&#8217;re supposed to. Recently the UTM (United Threat Management) Firewalls have become very popular. They&#8217;ve built [...]]]></description>
			<content:encoded><![CDATA[<p><img height="59" border="" width="289" style="margin: 5px; float: right" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/firewall_login_logo.png" title="" />Firewalls have become an integral part of all corporate networks. They&#8217;re the first line of defense against attacks from outside network (Internet) and also the point of control to make sure internal users (employees) are using the Internet as they&#8217;re supposed to. Recently the <a href="http://en.wikipedia.org/wiki/Unified_Threat_Management">UTM (United Threat Management) Firewalls</a> have become very popular. They&#8217;ve built in gateway anti-virus, anti-spam, web content filtering and IPS (Intrusion Prevention System) on top of traditional firewall functions. These firewalls generate loads and loads of log data and it&#8217;s very difficult to analyze the traffic and security event levels by just looking at the log files. So, a firewall logging and analyzing tool becomes necessary to generate easy to understand reports. After trying few softwares, I came across <a href="http://manageengine.adventnet.com/products/firewall/">Firewall Analyzer</a>, which was the exact tool I was looking for.<br />
<span id="more-182"></span></p>
<p><strong>Architecture</strong><br />Firewall Analyzer is a web based firewall log analysis tool. It has a built-in syslog server to store the logs and comes with an integrated and pre configured MySQL database.</p>
<p><img height="336" border="" width="480" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/architecture.jpg" title="" /></p>
<p><strong>Firewall Compatibility</strong><br />Firewall Analyzer is compatible with most of the popular firewalls like Cisco PIX, Netscreen, Watchguard, Sonicwall, Check Point and <a href="http://manageengine.adventnet.com/products/firewall/compatible-firewalls.html">many more&#8230;</a> , some of them have configuration instruction as well. I&#8217;ve configured mine with the Netscreen firewall.</p>
<p><strong>System Requirements</strong><br />Minimum hardware requirements for installing Firewall Analyzer is:</p>
<blockquote>
<p>1GHz Pentium 4 processor or equivalent<br />512 MB of RAM<br />1 GB of disk space<br />Monitor that supports 1024&#215;768 resolution</p>
</blockquote>
<p>RAM and disk space requirement depends upon the number of devices you&#8217;re logging. They&#8217;ve <a href="http://manageengine.adventnet.com/products/firewall/system_requirement.html">more information</a> on MySql performance improvements and suggestion for RAM and Hard Disk size for different number of devices.</p>
<p><strong>Installation</strong><br />I&#8217;ve installed it in a Linux Server (CentOS 4.x). All you need to do is execute <strong>./ManageEngine_FirewallAnalyzer.bin.</strong> I think it should be fairly easy to install in the Windows too. But why would anyone buy an extra windows license, if it can be done in Linux, which is much secure and stable than Windows <img src='http://nirlog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Configuration</strong><br />The configuration is pretty straight forward. After the installation, you should start the service by executing <strong>run.sh</strong>. By default the run script is installed here:</p>
<p><strong>/root/AdventNet/ME/Firewall/bin/run.sh</strong></p>
<p> The firewall analyzer can now be accessed from a browser by typing:</p>
<p><strong>http://&lt;hostname&gt;:8500</strong></p>
<p>The default <strong>username/password</strong> are <strong>admin/admin</strong>, which can be changed after logging in.</p>
<p><img height="244" border="" width="480" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/login-screen.png" title="" /></p>
<p>You need to configure your firewall and point the logging to this server&#8217;s ip with the port number it&#8217;s listening to. It uses udp port 514 and 1514 by default. In Netscreen firewall, it can be done by going to: <strong>Configuration &gt; Report Settings &gt; Syslog</strong></p>
<p><img height="97" border="" width="480" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/netscreen.png" title="" /></p>
<p><strong>Features</strong></p>
<blockquote>
<ul>
<li>Enterprise-wide View of Network Activity</li>
<li>On-Demand and Real-time Reports</li>
<li>Scheduled Log Archiving</li>
<li>Advanced Data Analysis and Reporting</li>
<li>Support for most Leading Firewalls</li>
<li>Historical trending</li>
<li>Real-time, Threshold-based Alerting</li>
<li>Virus, Attack and Security Analysis</li>
</ul>
</blockquote>
<p>Firewall Analyzer helps to analyze the traffic/bandwidth patterns, identify top users, determine bandwidth usage by hosts, protocols and destinations, generate alerts on specific events, identify potential virus or hack attacks and many more&#8230;</p>
<p><img height="330" border="" width="480" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/dashboard.png" title="" /></p>
<p><img height="330" border="" width="480" style="margin: 5px" class="" alt="" src="http://nirlog.com/wp-content/uploads/2006/08/live-report.png" title="" /></p>
<p>You can visit the <a href="http://demo.fwanalyzer.com/">live demo site</a> to see Firewall Analyzer in action and if you want to try it for yourself, then fully functional 30 day trial software is available for <a href="http://manageengine.adventnet.com/products/firewall/download.html">download</a>. The <a href="https://store.adventnet.com/jsp/fp.jsp?filter=10002&amp;p1=10123">pricing</a> scheme is based on annual subscription, starting at USD 295/year for 1 device pack.</p>
<p>Firewall Analyzer gives you a bird&#8217;s-eye view of your network traffic and is a very useful productivity tool to help identify and troubleshoot network problems. I think it&#8217;s fully worth it&#8217;s price.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/08/08/firewall-analyzer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to restore a hacked Linux Server</title>
		<link>http://nirlog.com/2006/08/03/how-to-restore-a-hacked-linux-server/</link>
		<comments>http://nirlog.com/2006/08/03/how-to-restore-a-hacked-linux-server/#comments</comments>
		<pubDate>Thu, 03 Aug 2006 13:34:28 +0000</pubDate>
		<dc:creator>Niranjan Kunwar</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://nirlog.com/2006/08/03/how-to-restore-a-hacked-linux-server/</guid>
		<description><![CDATA[Marius Ducea has a great article on How to restore a hacked Linux Server. He provides a very practical baseline on how you should develop your own plan of action to restore a hacked Linux Server. These are the steps he recommends: - Don’t panic. Keep your calm and develop a plan of actions- Disconnect [...]]]></description>
			<content:encoded><![CDATA[<p>Marius Ducea has a great article on <a href="http://www.ducea.com/2006/07/17/how-to-restore-a-hacked-linux-server/">How to restore a hacked Linux Server</a>. He provides a very practical baseline on how you should develop your own plan of action to restore a hacked Linux Server. These are the steps he recommends:</p>
<blockquote>
<p><strong>- Don’t panic. Keep your calm and develop a plan of actions<br />- Disconnect the system from the network<br />- Discover the method used to compromise the system<br />- Stop all the attacker scripts and remove his files<br />- Restore not affected services<br />- Fix the problem that caused the compromise<br />- Restore the affected services<br />- Monitor the system</strong></p>
</blockquote>
<p>I&#8217;ve a personal experience of restoring a hacked Linux Server. I agree with all of his recommended steps. Out of them, I think <strong>finding the method (security hole) used to compromise the system</strong> is most important, because if you don&#8217;t know this then the attacker can immediately use the same security hole to attack and compromise the system after you restore.</p>
]]></content:encoded>
			<wfw:commentRss>http://nirlog.com/2006/08/03/how-to-restore-a-hacked-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

