<?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>Ionut's WebSpace &#187; Security</title>
	<atom:link href="http://www.vioan.ro/wp/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vioan.ro/wp</link>
	<description>Exploring Creativity Is My Passion</description>
	<lastBuildDate>Wed, 05 Oct 2011 14:28:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OpenSUSE 11.1 and Plesk 9.2.1 update</title>
		<link>http://www.vioan.ro/wp/2009/07/10/opensuse-111-and-plesk-921-update/</link>
		<comments>http://www.vioan.ro/wp/2009/07/10/opensuse-111-and-plesk-921-update/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 09:47:10 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=392</guid>
		<description><![CDATA[


After more than three years of using Suse 9.3 with Plesk 8.1 on one of my VPS, I decided that it is time to update to OpenSUSE 11.1 with Plesk 9.2.1 control panel. The update process went very well, here are the steps involved:
1. create a full backup of your vps (databases, websites, accounts, emails, [...]]]></description>
			<content:encoded><![CDATA[<p>After more than three years of using Suse 9.3 with Plesk 8.1 on one of my VPS, I decided that it is time to update to OpenSUSE 11.1 with Plesk 9.2.1 control panel. The update process went very well, here are the steps involved:</p>
<p>1. create a full backup of your vps (databases, websites, accounts, emails, &#8230;). I have used <strong>&#8220;tar&#8221;</strong> command for that.<br />
2. in plesk 8.1 control panel, do a complete backup (you need plesk backup module to be installed), or if you prefer the command line you can use the following command:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/local/psa/bin/pleskbackup all &lt;backup-file&gt;</span></pre></td></tr></table></div>

<p>Since version 9.x, the structure of Parallels Plesk Panel backup has been changed. Plesk backup created with Plesk Backup Manager is not just one file but a number of files and directories under backups directory /var/lib/psa/dumps. So, you will need to convert your backup file created in plesk 8.1 to be compatible with plesk 9.x. It&#8217;s a very simple process, see step 3.</p>
<p>3. convert the created backup file to be compatible with plesk 9.x</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ &lt;backup-file&gt;</span></pre></td></tr></table></div>

<p>where <strong>/var/lib/psa/dumps/</strong> is backups directory on the server with Parallels Plesk Panel 9</p>
<p>4. restore the backup files to use them with plesk 9.x. It can be done using the web interface, <strong>Home -> Backup Manager -> Server Repository</strong>, click the backup name to enter the backup details page and select the required restoration options and click Restore to start the restoration process.</p>
<p>If you would like to use command line to restore your domains, clients, server configuration, &#8230; then you can use the following command:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/&lt;your backup xml file&gt; -level server -verbose -debug</span></pre></td></tr></table></div>

<p>You can restore only clients or domains, for more options see:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/local/psa/bin/pleskrestore --help</span></pre></td></tr></table></div>

<p>Note: I had a small problem and I found that it is not possible to have a client with the same name as your name in Plesk Admin Profile. Maybe it is stupid, but I had some errors and only after I changed the name in Admin Profile (in Plesk control panel) to be different, I could restore without any problem everything.</p>
<p>I think that&#8217;s all what I did, from what I remember. If something is missing I am sure you can find a lot of useful stuff using our friend google.</p>
<p><strong>Other useful stuff:</strong></p>
<p>1. Plesk 9.x support as well postfix, so if you want to change from qmail to postfix, try that:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/local/psa/bin/autoinstaller --select-release-current --install-component postfix</span></pre></td></tr></table></div>

<p>if you are not happy, you can switch back to qmail:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/local/psa/bin/autoinstaller --select-release-current --install-component qmail.</span></pre></td></tr></table></div>

<p>If you are not sure if you are using qmail or postfix there are many ways to find that, one is to look in Plesk Control Panel  on the Services management page  {<strong>Home -> Services Management</strong>} if you have <strong>SMTP Server (Postfix)</strong> or <strong>SMTP Server (QMail)</strong></p>
<p>If you decide you want to switch back, simply, do it, the emails are not lost, don&#8217;t worry.</p>
<p>2. Replace Horde webmail with AtMail</p>
<p>One of the many new features of Plesk 9, is the option to choose a different webmail client. The default webmail client  Horde can be replaced if you are looking for something a bit lighter, AtMail. You need to install from Plesk Control Panel, both webmail clients, and to switch between them:</p>
<ul>
<li>Log into Plesk.</li>
<li>Chose the domain which you want to use another webmail, enter on “Mail Accounts” page</li>
<li>Click the “Mail Settings” icon</li>
<li>Switch the “WebMail” to “AtMail (default is Horde)</li>
<li>Click “OK”</li>
</ul>
<p>If you decide you want to switch back, simply reverse the procedure, the emails are not lost, don&#8217;t worry.</p>
<p>That&#8217;s all.</p>
<p>References:</p>
<p><a href="http://kb.parallels.com/en/5819">http://kb.parallels.com/en/5819</a><br />
<a href="http://kb.parallels.com/en/5801">http://kb.parallels.com/en/5801</a><br />
<a href="http://kb.parallels.com/en/952">http://kb.parallels.com/en/952</a><br />
<a href="http://kb.parallels.com/en/5969">http://kb.parallels.com/en/5969</a><br />
<a href="http://kb.parallels.com/en/5864">http://kb.parallels.com/en/5864</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2009/07/10/opensuse-111-and-plesk-921-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Encrypting External HDD with LUKS</title>
		<link>http://www.vioan.ro/wp/2009/03/28/encrypting-external-hdd-with-luks/</link>
		<comments>http://www.vioan.ro/wp/2009/03/28/encrypting-external-hdd-with-luks/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 20:21:14 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[luks]]></category>
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=367</guid>
		<description><![CDATA[I am using OpenSUSE on my main computers, so LUKS is a good option to encrypt my external hdd. I can use Truecrypt if I want to use the hdd with mac or windows, but here is not the case. You can also use LUKS under windows with FreeOTFE. 
Here are the steps to encrypt [...]]]></description>
			<content:encoded><![CDATA[<p>I am using OpenSUSE on my main computers, so <a href="http://en.wikipedia.org/wiki/LUKS">LUKS</a> is a good option to encrypt my external hdd. I can use <a href="http://www.vioan.ro/wp/2009/03/26/my-usb-memory-stick-companion/">Truecrypt</a> if I want to use the hdd with mac or windows, but here is not the case. You can also use LUKS under windows with <a href="http://en.wikipedia.org/wiki/FreeOTFE">FreeOTFE</a>. </p>
<p>Here are the steps to encrypt the hdd:</p>
<p>1. be sure that the device is not part of filesystem</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1</pre></td></tr></table></div>

<p>2. Option 1: write some random data on hdd if you had critical files before</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#slow method to fill hdd with semi-random data</span>
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>urandom <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1</pre></td></tr></table></div>

<p>3. Option 2:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#use next two commands to fill the hdd with &quot;zero&quot; data, much faster</span>
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>urandom <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1 <span style="color: #007800;">count</span>=<span style="color: #000000;">2</span> <span style="color: #007800;">bs</span>=1M
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1</pre></td></tr></table></div>

<p>3. start the encryption setup</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">cryptsetup <span style="color: #660033;">-v</span> <span style="color: #660033;">--key-size</span> <span style="color: #000000;">256</span> luksFormat <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1
cryptsetup luksDump <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1  <span style="color: #666666; font-style: italic;">#details for encrypted partition</span>
cryptsetup luksOpen <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdd1 buffalo</pre></td></tr></table></div>

<p>4. format hdd as ext3</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>mkfs.ext3 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>buffalo</pre></td></tr></table></div>

<p>5. mount the encrypted hdd</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>buffalo <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>buffalo</pre></td></tr></table></div>

<p>6. add the entry in /etc/fstab</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>buffalo     <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>buffalo      ext3    acl,user_xattr        <span style="color: #000000;">1</span> <span style="color: #000000;">2</span></pre></td></tr></table></div>

<p>7. Optional step: try <strong>tune2fs -L MYLABEL /dev/mapper/buffalo</strong> if you want a nice label for your hdd.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2009/03/28/encrypting-external-hdd-with-luks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Truecrypt and ext2ifs on Vista</title>
		<link>http://www.vioan.ro/wp/2009/03/27/truecrypt-and-ext2ifs-on-vista/</link>
		<comments>http://www.vioan.ro/wp/2009/03/27/truecrypt-and-ext2ifs-on-vista/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 22:12:20 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[ext2ifs]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=346</guid>
		<description><![CDATA[When I built my USB Memory Stick Companion I could not mount the encrypted volume with Truecrypt on Vista, every time I got a &#8220;nice&#8221; blue screen. So, after some search on google I found that the problem is a compatibility issue between  Truecrypt and Ext2ifs, but a simple update for Ext2ifs to the latest [...]]]></description>
			<content:encoded><![CDATA[<p>When I built my <a href="http://www.vioan.ro/wp/2009/03/26/my-usb-memory-stick-companion/">USB Memory Stick Companion</a> I could not mount the encrypted volume with Truecrypt on Vista, every time I got a &#8220;nice&#8221; blue screen. So, after some search on google I found that the problem is a compatibility issue between  Truecrypt and <a href="http://www.fs-driver.org/">Ext2ifs</a>, but a simple update for Ext2ifs to the latest version (1.11a), solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2009/03/27/truecrypt-and-ext2ifs-on-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My USB Memory Stick Companion</title>
		<link>http://www.vioan.ro/wp/2009/03/26/my-usb-memory-stick-companion/</link>
		<comments>http://www.vioan.ro/wp/2009/03/26/my-usb-memory-stick-companion/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 21:53:06 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SciComputing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[portable]]></category>
		<category><![CDATA[rescue]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=343</guid>
		<description><![CDATA[I have a Kingston Data Traveler 4 GB USB Drive, and a few days ago I decided to use it also as a rescue boot device (to be bootable in order to recover data when needed), as storage device (to move around some files, used on windows, mac, linux, freebsd), to have on it some [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Kingston Data Traveler 4 GB USB Drive, and a few days ago I decided to use it also as a rescue boot device (to be bootable in order to recover data when needed), as storage device (to move around some files, used on windows, mac, linux, freebsd), to have on it some personal files which I would like to be encrypted (for example: my ssh private keys, my bookmarks, my passwords, &#8230;), but also to have with me some applications which I use day by day (firefox, thunderbird, keypass, &#8230;).</p>
<p>So here is what I did:</p>
<p>As filesystem I used Fat32. I installed <a href="http://www.sysresccd.org/Main_Page">System RescueCD</a> so I have a bootable linux distro with a lot of useful utilities like Partimage, GNU Parted, TestDisk, kernel for i386 and also for x86-64, &#8230; The instructions to install it on fat32 filesystem are here: <a href="http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick">Installation On USB Memory Stick</a>, I used &#8220;Instalation from Windows&#8221; part.</p>
<p>Next step was to install <a href="http://www.truecrypt.org/">Truecrypt</a> for windows in portable mode, a step by step guide how to do it, is available <a href="http://www.makeuseof.com/tag/encrypt-your-usb-stick-with-truecrypt-60/">here</a>, to be able to open my encrypted volume.</p>
<p>Now I can create an encrypted volume, using truecrypt, where we store all my personal files, let&#8217;s say 2 giga.</p>
<p>In that encrypted volume I also installed <a href="http://portableapps.com/">PortableApps Suite</a> and beeing a LaTeX user I also included <a href="http://www.exomatik.net/LaTeX/USBTeXEnglish">USBTeX.</a></p>
<p>Ok, now I still have space to store some useful small iso images, like Clonezilla, Hiren Boot CD, Acronis True Image BootCD.</p>
<p>That&#8217;s my setup for USB Memory Stick, I have it with me all the time, I can use it on any system, mac, windows, linux, I have a bootable linux disto on it, and also my personal files encrypted with some useful software. Maybe I should mention that Portable Apps Suite works well also with wine on linux.</p>
<p>I did a <strong>dd</strong> copy of my complete usb stick configuration/setup, immediately after I finished to install everything I needed, because if I will lose it, then to be able to recover everything quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2009/03/26/my-usb-memory-stick-companion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Acronis 10 Personal for FREE</title>
		<link>http://www.vioan.ro/wp/2009/02/06/acronis-10-personal-for-free/</link>
		<comments>http://www.vioan.ro/wp/2009/02/06/acronis-10-personal-for-free/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 21:14:59 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=324</guid>
		<description><![CDATA[Acronis is giving away for download copies  of Acronis True Image 10 Personal Edition because a new version is out. That means you  get whole disk image backups from a friendly interface. You may use free utility to clone your hard drive but it may not have many features as compared to paid hard drive [...]]]></description>
			<content:encoded><![CDATA[<p>Acronis is giving away for download copies  of Acronis True Image 10 Personal Edition because a new version is out. That means you  get whole disk image backups from a friendly interface. You may use free utility to clone your hard drive but it may not have many features as compared to paid hard drive cloning utility like Acronis True Image which is a commercial disk cloning utility and costs around $50 per license.  Download Acronis True Image 10 Personal Edition for Free with Serial Key:</p>
<ol>
<li>Go acronis.co.uk website  (http://www.acronis.co.uk/mag/ati10pe)</li>
<li>Fill up the form by entering your name and email address</li>
<li>You will receive an email, so, click on Confirmation Link in your inbox</li>
</ol>
<p>Once you have confirmed your email, you will receive a serial number of Acronis True Image 10 Personal Edition in your inbox and you can download the software from your account on Acronis website.</p>
<p>Now, you have a good piece of software <img src='http://www.vioan.ro/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2009/02/06/acronis-10-personal-for-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick configuration for Munin</title>
		<link>http://www.vioan.ro/wp/2008/09/01/quick-configuration-for-munin/</link>
		<comments>http://www.vioan.ro/wp/2008/09/01/quick-configuration-for-munin/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 21:46:25 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[munin]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=137</guid>
		<description><![CDATA[From project website:
&#8220;Munin the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. Its emphasis is on plug and play capabilities. After completing a installation a high number of monitoring plugins will be playing with no more effort.
Using Munin you can easily [...]]]></description>
			<content:encoded><![CDATA[<p>From project website:</p>
<p>&#8220;<a href="http://munin.projects.linpro.no/">Munin</a> the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. Its emphasis is on plug and play capabilities. After completing a installation a high number of monitoring plugins will be playing with no more effort.</p>
<p>Using Munin you can easily monitor the performance of your computers, networks, SANs, applications, weather measurements and whatever comes to mind. It makes it easy to determine &#8220;what&#8217;s different today&#8221; when a performance problem crops up. It makes it easy to see how you&#8217;re doing capacity-wise on any resources.&#8221;</p>
<p>The configuration file is:</p>
<pre class="code">
/etc/munin/munin.conf
</pre>
<p>The minimal configuration file for server:</p>
<pre class="code">
# Configfile for Munin master
dbdir       /var/lib/munin/
htmldir     /var/www/munin/
logdir      /var/log/munin
rundir      /var/run/munin/

[mynode.mydomain.com]
address 192.168.1.105
</pre>
<p>In the configuration file for server I specified only one single node: mynode.mydomain.com</p>
<p>Next step is to configure the node but the default configuration is fine, only  let the server to acces Munin port 4949:</p>
<pre class="code">
allow ^192\.168\.1\.1$
</pre>
<p>where <em>192.168.1.1</em> is the ip number for server.</p>
<p>The final step si to check their website to read the documentation/faq for more configuration options.</p>
<p>That&#8217;s all</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/09/01/quick-configuration-for-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wiping computer data before sale on linux</title>
		<link>http://www.vioan.ro/wp/2008/04/24/wiping-computer-data-before-sale-on-linux/</link>
		<comments>http://www.vioan.ro/wp/2008/04/24/wiping-computer-data-before-sale-on-linux/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 16:33:11 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=108</guid>
		<description><![CDATA[If you are thinking to sell your computer or only its hard disk then maybe it would be nice to know how to wipe your computer data.
After you followed this procedure there will be no way to recover your data.
The magic command is here, you can use LiveCD (for example Knoppix):

#shred -vz /dev/sda

or

# shred -u [...]]]></description>
			<content:encoded><![CDATA[<p>If you are thinking to sell your computer or only its hard disk then maybe it would be nice to know how to wipe your computer data.</p>
<p>After you followed this procedure there will be no way to recover your data.</p>
<p>The magic command is here, you can use LiveCD (for example Knoppix):</p>
<pre class="code">
#shred -vz /dev/sda
</pre>
<p>or</p>
<pre class="code">
# shred -u -n 30 /dev/hda
</pre>
<p>This will overwrite the data on the drive with garbage using 30 passes. The drive will need to be re-formatted after this as even the filesystem structure will be destroyed.</p>
<p>If you want to read more about this command try  <strong>man shred</strong> or <strong>info shred</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/04/24/wiping-computer-data-before-sale-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOCKS proxy with SSH</title>
		<link>http://www.vioan.ro/wp/2008/03/09/socks-proxy-with-ssh/</link>
		<comments>http://www.vioan.ro/wp/2008/03/09/socks-proxy-with-ssh/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 21:15:29 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/2008/03/09/socks-proxy-with-ssh/</guid>
		<description><![CDATA[Today,  I tried to connect to irc network but I realized that the ports are blocked. Using ssh -X you can forward programs on your computer but if you have a slow connection it doesn&#8217;t work very well. Reading the manual for ssh I found that it is possible to use -D option to [...]]]></description>
			<content:encoded><![CDATA[<p>Today,  I tried to connect to irc network but I realized that the ports are blocked. Using <em>ssh -X</em> you can forward programs on your computer but if you have a slow connection it doesn&#8217;t work very well. Reading the manual for <em>ssh</em> I found that it is possible to use -D option to create a SOCKS proxy. From manual page:</p>
<pre><strong>-D</strong> [<em>bind_address</em>:]<em>port</em></pre>
<pre>
Specifies a local ``dynamic'' application-level port forwarding.
This works by allocating a socket to listen to <em>port</em> on the local
side, optionally bound to the specified <em>bind_address</em>.  Whenever a
connection is made to this port, the connection is forwarded over
the secure channel, and the application protocol is then used to
determine where to connect to from the remote machine.  Currently
the SOCKS4 and SOCKS5 protocols are supported, and <strong>ssh</strong> will act
as a SOCKS server.  Only root can forward privileged ports.  Dy-
namic port forwardings can also be specified in the configuration
file.</pre>
<p>So the magic command is (you need a ssh account on server):</p>
<p><code>$ssh -D 10000 user@ssh-server</code></p>
<p>this will create a SOCKS proxy on port “10000″ of your computer. This is a nice tunnel to the server. Now, all you need to do is to set in xchat to use a SOCKS proxy. The proxy is, “localhost”, with the port 10000. That&#8217;s all, the xchat works and you can spend a lot of time on irc.</p>
<p>Also you can use this kind of tunnel for safe browsing. You have to set your preferences in Firefox to use a SOCKS proxy.  When you browse, all the connections you make to websites will seem to originate from the server to which you SSH-ed. In addition, all outgoing and incoming data for the browsing session will be encrypted since it passes through the SSH connection. I am using this when I need access to some sites and I don&#8217;t have access from home, so I make the ssh-tunnel to university and then I can access them.</p>
<p>There are also applications (email clients) which may also support SOCKS proxy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/03/09/socks-proxy-with-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Truecrypt 5.0 on OpenSuse 10.3</title>
		<link>http://www.vioan.ro/wp/2008/02/10/truecrypt-50-on-opensuse-103/</link>
		<comments>http://www.vioan.ro/wp/2008/02/10/truecrypt-50-on-opensuse-103/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 18:27:45 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/2008/02/10/truecrypt-50-on-opensuse-103/</guid>
		<description><![CDATA[I tried a few days ago to install the new version of truecrypt, 5.0, on my system. So, I downloaded the sources and I compiled them. It didn&#8217;t work. Today I asked for help  on #suse irc channel, there are nice guys ready to help you  if you need. A link where is [...]]]></description>
			<content:encoded><![CDATA[<p>I tried a few days ago to install the new version of <a href="http://www.truecrypt.org/">truecrypt</a>, 5.0, on my system. So, I downloaded the sources and I compiled them. It didn&#8217;t work. Today I asked for help  on #suse irc channel, there are nice guys ready to help you  if you need. A link where is explained what you have to do, the patch,  in order to install it, <a href="http://x.sodpit.com/truecrypt.htm">here</a> . Now you have installed truecrypt also with graphical interface <img src='http://www.vioan.ro/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  A screenshot:</p>
<p><img src="http://www.vioan.ro/wp/wp-content/uploads/2008/02/truecrypt50_small.png" alt="truecrypt50_small.png" /></p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/02/10/truecrypt-50-on-opensuse-103/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

