<?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"
	>

<channel>
	<title>Hacker's Diary</title>
	<atom:link href="http://www.hackersdiary.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hackersdiary.com</link>
	<description>My Knowledge Database</description>
	<pubDate>Tue, 31 Mar 2009 09:31:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>RoundCube Theme - Cobalt</title>
		<link>http://www.hackersdiary.com/roundcube-theme-cobalt/</link>
		<comments>http://www.hackersdiary.com/roundcube-theme-cobalt/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 09:23:44 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[Mailserver]]></category>

		<category><![CDATA[RoundCube]]></category>

		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=85</guid>
		<description><![CDATA[This theme is based on Cobalt theme for Thunderbird created by Bodizzle.
I use this theme myself with Thunderbird. I like it so much, so I decided to spend some time to extract icons and create a RoundCube theme. My RoundCube includes features, which are not available in default version, thus the icons are still included [...]]]></description>
			<content:encoded><![CDATA[<p>This theme is based on Cobalt theme for <a href="https://addons.mozilla.org/en-US/thunderbird/addon/4384" target="_blank">Thunderbird</a> created by Bodizzle.</p>
<p>I use this theme myself with Thunderbird. I like it so much, so I decided to spend some time to extract icons and create a RoundCube theme. My RoundCube includes features, which are not available in default version, thus the icons are still included in package.</p>
<div id="attachment_86" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-86" title="rc-cobalt" src="http://www.hackersdiary.com/wp-content/uploads/2009/03/rc-cobalt-300x27.jpg" alt="RoundCube Theme - Cobalt" width="300" height="27" /><p class="wp-caption-text">RoundCube Theme - Cobalt</p></div>
<p>The guy who created this theme for Thunderbird, has lost his job recently. So if you like this theme, consider donating him some bucks. <a href="http://blog.virtusdesigns.com/" target="_blank">Bodizzle&#8217;s Blog</a>.</p>
<p>Download here: <a href="http://www.hackersdiary.com/wp-content/uploads/2009/03/cobalt-01.zip">cobalt-01</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/roundcube-theme-cobalt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[HowTo] Bind9+MySQL on Debian</title>
		<link>http://www.hackersdiary.com/howto-bind9mysql-on-debian/</link>
		<comments>http://www.hackersdiary.com/howto-bind9mysql-on-debian/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 09:25:05 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Bind]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[DNS]]></category>

		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=76</guid>
		<description><![CDATA[
Tired of editing Bind zone files? Or you want to create UI for your clients, so they can edit their zones? It can’t be easier, than when you have your zones in MySQL database.
Here I will explain how to install Bind with MySQL database support. After patching, Bind will be able to use both, MySQL [...]]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p>Tired of editing Bind zone files? Or you want to create UI for your clients, so they can edit their zones? It can’t be easier, than when you have your zones in MySQL database.</p>
<p>Here I will explain how to install Bind with MySQL database support. After patching, Bind will be able to use both, MySQL tables and zone files.</p>
<p><strong>Installing packages and getting sources</strong></p>
<p>Get MySQL BIND SDB driver from <a href="http://mysql-bind.sourceforge.net/" target="_blank">http://mysql-bind.sourceforge.net/</a></p>
<p>If you don’t have a Bind server yet, it would be nice to install it. This will create startup scripts, sample configs, etc.</p>
<p style="padding-left: 30px;"><em>apt-get install bind</em></p>
<p>Now set up all other packages need:</p>
<p style="padding-left: 30px;"><em>apt-get install mysql-server-5.0 mysql-client libmysql++-dev dpkg-dev</em></p>
<p>Now, get source of your existing Bind package (the current version is bind9-9.3.4):</p>
<p style="padding-left: 30px;"><em>apt-get source bind</em></p>
<p>Untar both packages, bind9_9.3.4.orig.tar.gz and mysql-bind.tar.gz</p>
<p>There is already a README with mysql-bind package, but I’ll explain here as well.</p>
<p>Copy file <em>mysqldb.c</em> from mysql-bind package to “<em>bind9-9.3.4/bin/named/mysqldb.c</em>” and<br />
<em>mysqldb.h</em> to “<em>bind9-9.3.4/bin/named/include/named/mysqldb.h</em>”</p>
<p><strong>Patching Bind source files</strong></p>
<p>Edit: <em>bind9-9.3.4/bin/named/Makefile.in</em></p>
<p>Under comment “<em># Add database drivers here.” </em>set these:</p>
<p style="padding-left: 30px;"><em>DBDRIVER_OBJS = mysqldb.@O@<br />
DBDRIVER_SRCS = mysqldb.c<br />
DBDRIVER_INCLUDES = -I’/usr/include/mysql’<br />
DBDRIVER_LIBS = -L’/usr/lib/mysql’ -lmysqlclient</em></p>
<p>Where:<br />
DBDRIVER_INCLUES is output of “<em>mysql_config –cflags</em>”<br />
DBDDRIVER_LIBS is output of “<em>mysql_config –libs</em>”</p>
<p>Edit: <em>bind9-9.3.4/bin/named/main.c</em></p>
<p>Add “<em>#include &lt;named/mysqldb.h&gt;</em>” in the beginning of the file, right after this comment “<em>* Include header files for database drivers here.</em>“.</p>
<p>Add “<em>mysqldb_init();</em>” right before “<em>ns_server_create(some params);</em>” and “<em>mysqldb_clear();</em>” after “<em>ns_server_destroy(some params);</em>“.<br />
You’ll see comments like “<em>* Add calls to register/unregister sdb drivers here.</em>”</p>
<p><strong>Compiling Bind</strong></p>
<p>Now go to <em>bind9-9.3.4</em> and configure.</p>
<p>“sysconfdir”, “prefix” and “localstatedir” should much your current configuration. If you installed bind via APT, then these should be the right ones:</p>
<p style="padding-left: 30px;"><em>./configure –sysconfdir=/etc/bind –prefix=/usr  –localstatedir=/var/run/bind<br />
make<br />
make install</em></p>
<p>Now if you restart Bind (<em>/etc/init.d/bind9 restart</em>), it should run without problems.</p>
<p><strong>Creating database and inserting sample data</strong></p>
<p>mysql&gt; <em>create database bind;</em></p>
<p>mysql&gt; <em>use bind;</em></p>
<p>I will create a subzone of hackersdiary.com, test.hackersdiary.com</p>
<p>mysql&gt; <em>CREATE TABLE test_hackersdiary_com (<br />
name varchar(255) default NULL,<br />
ttl int(11) default NULL,<br />
rdtype varchar(255) default NULL,<br />
rdata varchar(255) default NULL<br />
) TYPE=MyISAM;</em></p>
<p>mysql&gt; <em>INSERT INTO test_hackersdiary_com VALUES (’test.hackersdiary.com’, 3600, ‘SOA’, ‘ns.hackersdiary.com. tom.hackersdiary.com. 200902051 28800 7200 86400 28800′);</em><br />
mysql&gt; <em>INSERT INTO test_hackersdiary_com VALUES (’test.hackersdiary.com’, 3600, ‘NS’, ‘ns.hackersdiary.com.’);</em><br />
mysql&gt; <em>INSERT INTO test_hackersdiary_com VALUES (’test.hackersdiary.com’, 3600, ‘NS’, ‘ns2.hackersdiary.com.’);</em><br />
mysql&gt; <em>INSERT INTO test_hackersdiary_com VALUES (’test.hackersdiary.com’, 3600, ‘MX’, ‘10 mail.test.hackersdiary.com.’);</em><br />
mysql&gt; <em>INSERT INTO test_hackersdiary_com VALUES (’mail.test.hackersdiary.com’, 3600, ‘A’, ‘127.0.0.1′);</em></p>
<p>Now setup zone in “<em>/etc/bind/named.conf.local</em>”</p>
<p><em>zone “</em><em>test.hackersdiary.com” {<br />
type master;<br />
database “mysqldb bind test_hackersdiary_com localhost binduser bindpassword”;<br />
};</em></p>
<p>Restart Bind (<em>/etc/init.d/bind9 restart</em>)</p>
<p><strong>Testing zone</strong></p>
<p>Now ask your nameserver to resolve mail.test.hackersdiary.com “<em>dig mail.test.hackersdiary.com @ns.hackersdiary.com</em>”</p>
<p>You should get:<br />
<em>;; ANSWER SECTION:<br />
mail.test.hackersdiary.com.     3600    IN      A       127.0.0.1</em></p>
<p>Now get PhpMyAdmin or create your own UI for zone editing. There is one ready to use <a href="http://dnsqlpanel.sourceforge.net/" target="_blank">dnsSQLpanel</a>, but I haven’t tested it.</p>
<p>Comments? Problems? You’re welcome.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/howto-bind9mysql-on-debian/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[HowTo] Change Windows Remote Desktop port</title>
		<link>http://www.hackersdiary.com/howto-change-windows-remote-desktop-port/</link>
		<comments>http://www.hackersdiary.com/howto-change-windows-remote-desktop-port/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 11:51:31 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Administration]]></category>

		<category><![CDATA[Remote]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=68</guid>
		<description><![CDATA[1. Click Start, click Run, type Regedit.exe, and then click OK.
2. Locate the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3. On the Edit menu, click Modify, then switch Base to Decimal and enter your desired port number.
Restart your computer, to activate changes.
]]></description>
			<content:encoded><![CDATA[<p>1. Click Start, click Run, type Regedit.exe, and then click OK.<br />
2. Locate the following key in the registry:<br />
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber<br />
3. On the Edit menu, click Modify, then switch Base to Decimal and enter your desired port number.</p>
<p>Restart your computer, to activate changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/howto-change-windows-remote-desktop-port/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[KB] The remote session was disconnected</title>
		<link>http://www.hackersdiary.com/kb-the-remote-session-was-disconnected/</link>
		<comments>http://www.hackersdiary.com/kb-the-remote-session-was-disconnected/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 11:28:25 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[KB]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Terminal Server]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=64</guid>
		<description><![CDATA[Problem:
Often after upgrading client machines to XP Service Pack 3, I get problem while connecting to Terminal Server. The connection is refused with following error: &#8220;The remote session was disconnected because the terminal server client access licence stored on this computer has been modified.&#8221;
Solution:
1. Click Start, click Run, type Regedit.exe, and then click OK.
2. Locate [...]]]></description>
			<content:encoded><![CDATA[<p>Problem:</p>
<p>Often after upgrading client machines to XP Service Pack 3, I get problem while connecting to Terminal Server. The connection is refused with following error: &#8220;The remote session was disconnected because the terminal server client access licence stored on this computer has been modified.&#8221;</p>
<p>Solution:</p>
<p>1. Click Start, click Run, type Regedit.exe, and then click OK.<br />
2. Locate the following key in the registry:<br />
HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\Store\<br />
3. Delete the TS CAL key, probably LICENSE001.</p>
<p>NOTE: Typically, LICENSE000 is the license for the operating system and LICENSE001 is the TS CAL. To verify this information, check to see whether the ProductID value is present; this value indicates the license for the operating system.<br />
4. When the client attempts to reconnect to the Terminal server, it will request a new TS CAL.</p>
<p>If deleting the LICENSE000 or LICENSE00x key to troubleshoot connection failures does not let a client connect to a Terminal server, back up the whole MSLICENSING key, and then delete the whole key. Try to connect to a Terminal server. This causes the generation of a new hardware ID. This enables the client to request a new license, and to successfully connect. The MSLICENSING key and all subkeys are recreated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/kb-the-remote-session-was-disconnected/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[HowTo] Debian killall: command not found</title>
		<link>http://www.hackersdiary.com/howto-debian-killall-command-not-found/</link>
		<comments>http://www.hackersdiary.com/howto-debian-killall-command-not-found/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 09:27:07 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[KB]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[killall]]></category>

		<category><![CDATA[pkill]]></category>

		<category><![CDATA[psmisc]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=58</guid>
		<description><![CDATA[Last week our admin from Saint Petersburg&#8217;s office installed Debian on a new router-box. While playing and setting everything up, I noticed that there is no &#8220;killall&#8221; command. What to do?
Alternatively you can use &#8220;pkill&#8221;, like:
pkill apache

In my opinion works even better that killall. If you like the old favorite killall, just install the psmisc [...]]]></description>
			<content:encoded><![CDATA[<p>Last week our admin from Saint Petersburg&#8217;s office installed Debian on a new router-box. While playing and setting everything up, I noticed that there is no &#8220;killall&#8221; command. What to do?</p>
<p>Alternatively you can use &#8220;pkill&#8221;, like:</p>
<address>pkill apache<br />
</address>
<p>In my opinion works even better that killall. If you like the old favorite killall, just install the <strong>psmisc</strong> package:</p>
<address>apt-get install psmisc</address>
<p>Note: this packages also includes command like &#8220;pstree&#8221;, very useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/howto-debian-killall-command-not-found/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[HowTo] Find files that contain a given string</title>
		<link>http://www.hackersdiary.com/howto-find-files-that-contain-a-given-string/</link>
		<comments>http://www.hackersdiary.com/howto-find-files-that-contain-a-given-string/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 09:04:57 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[KB]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[find]]></category>

		<category><![CDATA[grep]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=52</guid>
		<description><![CDATA[If you are searching in current folder, sometimes command like:
cat * &#124; grep -i &#8220;string&#8221; *
will print the filename and a line that matched the string. But this will not &#8220;search&#8221; in subfolders, and will not work on some Linux distros.
The right (my) way would be:
find /path/to/folder -type f -exec grep &#8220;string&#8221; {} \; -print
This [...]]]></description>
			<content:encoded><![CDATA[<p>If you are searching in current folder, sometimes command like:</p>
<address>cat * | grep -i &#8220;string&#8221; *</address>
<p>will print the filename and a line that matched the string. But this will not &#8220;search&#8221; in subfolders, and will not work on some Linux distros.</p>
<p>The right (my) way would be:</p>
<address>find /path/to/folder -type f -exec grep &#8220;string&#8221; {} \; -print</address>
<p>This will print a line that matched the string, and filename on the next line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/howto-find-files-that-contain-a-given-string/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[HowTo] Change a hostname after Linux installation</title>
		<link>http://www.hackersdiary.com/howto-change-a-hostname-after-linux-installation/</link>
		<comments>http://www.hackersdiary.com/howto-change-a-hostname-after-linux-installation/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 08:51:30 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[KB]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[hostname]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=47</guid>
		<description><![CDATA[I usually set hostname during Linux installation, but many people don&#8217;t. Then without a knowledge it could take some time to change it correctly.
Doing so:
hostname newhostname
will only change hostname temporary, after system reboot it will change back to what it was specified during installation.
So the right (my) way of changing hostname:

Some linux systems keep hostname [...]]]></description>
			<content:encoded><![CDATA[<p>I usually set hostname during Linux installation, but many people don&#8217;t. Then without a knowledge it could take some time to change it correctly.</p>
<p>Doing so:</p>
<address>hostname newhostname</address>
<p>will only change hostname temporary, after system reboot it will change back to what it was specified during installation.</p>
<p>So the right (my) way of changing hostname:</p>
<ul>
<li>Some linux systems keep hostname record in <strong>/etc/sysconfig/network<br />
</strong></p>
<pre>HOSTNAME=localhost.localdomain</pre>
</li>
<li>Debian systems <strong>/etc/hostname</strong>
<pre>localhost.localdomain</pre>
</li>
<li>Additionally hostname is kept in <strong>/etc/sysctl.conf</strong>
<pre>kernel.domainname = localdomain (usually uncommented)</pre>
<pre>kernel.hostname = localhost</pre>
</li>
</ul>
<p>And at the end, don&#8217;t forget to add hostname to <strong>/etc/hosts</strong> file like this:</p>
<pre>127.0.0.1       newhostname.localdomain       newhostname</pre>
<p>or</p>
<pre>127.0.0.1       newhostname</pre>
<p>Otherwise services like Apache, Squid and many others won&#8217;t run correctly or won&#8217;t run at all if they can&#8217;t resolve the hostname either by hosts file or DNS server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/howto-change-a-hostname-after-linux-installation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[HowTo] Virtual Machines on Debian using XEN</title>
		<link>http://www.hackersdiary.com/howto-virtual-machines-on-debian-using-xen/</link>
		<comments>http://www.hackersdiary.com/howto-virtual-machines-on-debian-using-xen/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 15:57:16 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[KB]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=35</guid>
		<description><![CDATA[This solution assumes you have already installed Debian Linux with minimum base system.
This solution is made for amd64 system. But others should be the same, just find the correct package for you system.
Setup
First install SSH, so it will be a lot easier to copy/paste commands in console
apt-get install ssh
Remove packages we don&#8217;t need
apt-get remove exim4 [...]]]></description>
			<content:encoded><![CDATA[<p>This solution assumes you have already installed Debian Linux with minimum base system.</p>
<p>This solution is made for amd64 system. But others should be the same, just find the correct package for you system.</p>
<p><strong>Setup</strong></p>
<p>First install SSH, so it will be a lot easier to copy/paste commands in console</p>
<address>apt-get install ssh</address>
<p>Remove packages we don&#8217;t need</p>
<address>apt-get remove exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig</address>
<address>apt-get install screen debootstrap iproute python python-twisted-core python-twisted-conch bridge-utils</address>
<p>XEN related packages</p>
<address>apt-get install xen-linux-system-2.6.18-6-xen-amd64</address>
<address>apt-get install xen-tools</address>
<p>If you wish to use XFS file system, you also need to install xfsprogs</p>
<address>apt-get install xfsprogs</address>
<p><strong>Creating Virtual Machines</strong></p>
<p>The best way of creating up virtual machines is using hard drives LVM volume, thus way you can easly increase partition size of partition where VM is.</p>
<p>Creating virtual machine using LVM volume vs0, and ext3 filesystem. VM will be running minimum base install of Debian Linux</p>
<address>xen-create-image &#8211;hostname=vm1.hackersdiary.com &#8211;size=4Gb &#8211;swap=512Mb &#8211;ide \</address>
<address>&#8211;ip=10.0.0.119 &#8211;netmask=255.255.255.0 &#8211;gateway=10.0.0.1 &#8211;force \</address>
<address>&#8211;lvm=vs0 &#8211;memory=512Mb &#8211;arch=amd64 &#8211;fs=ext3 &#8211;kernel=/boot/vmlinuz-2.6.18-6-xen-amd64 \</address>
<address>&#8211;debootstrap &#8211;dist=etch &#8211;mirror=http://ftp.ee.debian.org/debian/ &#8211;passwd \</address>
<address>&#8211;initrd=/boot/initrd.img-2.6.18-6-xen-amd64</address>
<p>This will create a 4Gb root partition, and 512Mb swap for VM. After the installation of base system, you will be required to input root password for your newly created VM.</p>
<p>To create XFS filesystem on VM, replace the &#8211;fs=ext3 with &#8211;fs=xfs<br />
To use image files instead of LVM volumes replace &#8211;lvm=vs0 with &#8211;dir=/vm/images</p>
<p>Make VM to start automatically on boot</p>
<address>ln -s /etc/xen/vm1.hackersdiary.com.cfg /etc/xen/auto</address>
<p><strong>Starting up VM manually</strong></p>
<address>xm create -c /etc/xen/vm1.hackersdiary.com.cfg</address>
<p>To leave VM&#8217;s shell, type CTRL+] if you are at the console, or CTRL+5 if you&#8217;re connected to main debian using ssh</p>
<p>Shutting down VM</p>
<address>xm shutdown vm1.hackersdiary.com</address>
<p>Also awailable commands</p>
<address>xm reboot vm1.hackersdiary.com</address>
<address>xm list</address>
<p><strong><br />
How to increase VM&#8217;s partition size (Only if using LVM)</strong></p>
<p>XFS Filesystem</p>
<address>lvextend -L+10G /dev/vs0/vm1.hackersdiary.com-disk</address>
<address>xm shutdown vm1.hackersdiary.com</address>
<address>mount /dev/vs0/vm1.hackersdiary.com-disk /vm/base</address>
<address>xfs_growfs /vm/base</address>
<address>umount /vm/base</address>
<address>xm create -c /etc/xen/vm1.hackersdiary.com.cfg</address>
<p>EXT3 Filesystem</p>
<address>lvextend -L+10G /dev/vs0/vm1.hackersdiary.com-disk</address>
<address>xm shutdown vm1.hackersdiary.com</address>
<address>resize2fs /dev/vs0/vm1.hackersdiary.com-disk </address>
<address>e2fsck -f /dev/vs0/vm1.hackersdiary.com-disk</address>
<address>xm create -c /etc/xen/vm1.hackersdiary.com.cfg</address>
<p>Comments? Problems? You&#8217;re welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/howto-virtual-machines-on-debian-using-xen/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PostBlocker for Postfix</title>
		<link>http://www.hackersdiary.com/postblocker-for-postfix/</link>
		<comments>http://www.hackersdiary.com/postblocker-for-postfix/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 04:49:33 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mailserver]]></category>

		<category><![CDATA[anti-flood]]></category>

		<category><![CDATA[anti-spam]]></category>

		<category><![CDATA[block]]></category>

		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=19</guid>
		<description><![CDATA[What&#8217;s new in PostBlocker?

Queue release daemon (releases mail after 2 minutes of hold period)
Queue delete (if IP is blocked, Main daemon starts tool which deletes all mail coming from that IP and dies)

Current release: v0.4a
]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s new in <a href="/postblocker/">PostBlocker</a>?</p>
<ul>
<li>Queue release daemon (releases mail after 2 minutes of hold period)</li>
<li>Queue delete (if IP is blocked, Main daemon starts tool which deletes all mail coming from that IP and dies)</li>
</ul>
<p>Current release: v0.4a</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/postblocker-for-postfix/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RoundCube Webmail addon</title>
		<link>http://www.hackersdiary.com/roundcube-webmail-addon/</link>
		<comments>http://www.hackersdiary.com/roundcube-webmail-addon/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 04:38:09 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
		
		<category><![CDATA[Mailserver]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[mail]]></category>

		<category><![CDATA[virtual mail]]></category>

		<guid isPermaLink="false">http://www.hackersdiary.com/?p=17</guid>
		<description><![CDATA[My addon currently supports:

Forwards (mail forwarding to other accounts)
Spamfilter (set tag, kill, lover points for SpamAssassin)
Whitelist (used by Amavis)
Blacklist (used by Amavis)
Vacation autoreply

New version of addon is comming soon, as the roundcube project has moved quite a bit forward.
]]></description>
			<content:encoded><![CDATA[<p>My addon currently supports:</p>
<ul>
<li>Forwards (mail forwarding to other accounts)</li>
<li>Spamfilter (set tag, kill, lover points for SpamAssassin)</li>
<li>Whitelist (used by Amavis)</li>
<li>Blacklist (used by Amavis)</li>
<li>Vacation autoreply</li>
</ul>
<p>New version of addon is comming soon, as the roundcube project has moved quite a bit forward.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hackersdiary.com/roundcube-webmail-addon/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
