<?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>pitr.net &#187; opensource</title>
	<atom:link href="http://www.pitr.net/index.php/category/opensource/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pitr.net</link>
	<description></description>
	<lastBuildDate>Sat, 11 Jul 2009 19:25:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to remove all appointments from pocketpc/pda windows mobile calendar</title>
		<link>http://www.pitr.net/index.php/2009/07/11/how-to-remove-all-appointments-from-pocketpcpda-windows-mobile-calendar/</link>
		<comments>http://www.pitr.net/index.php/2009/07/11/how-to-remove-all-appointments-from-pocketpcpda-windows-mobile-calendar/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 19:24:18 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[pocketpc]]></category>
		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://www.pitr.net/?p=77</guid>
		<description><![CDATA[When you want a fresh calendar, and need to re-sync all data with your exchange/zarafa server, you will have to manually delete all appointments. There is an easy hack on how to remove all appointments from your pocketpc calendar: Disconnect smartphone from PC. Open ActiveSync on the smartphone. Go to Menu, Options. Untick &#8220;Calendar&#8221; from [...]]]></description>
			<content:encoded><![CDATA[<p>When you want a fresh calendar, and need to re-sync all data with your exchange/zarafa server, you will have to manually delete all appointments.</p>
<p>There is an easy hack on how to remove all appointments from your pocketpc calendar:</p>
<ol>
<li>Disconnect smartphone from PC.</p>
<li>Open ActiveSync on the smartphone.
<li>Go to Menu, Options.
<li>Untick &#8220;Calendar&#8221; from the list of items to synchronise.
<li>It will prompt you to delete all calendar items (synchronised with your PC).
<li>Check your calendar is empty.
<li>Close and re-open Activesync (on the smartphone).
<li>Re-tick the calendar item on the sync list.</ol>
<p>Other keywords:</p>
<ul>
<li>remove appointments
<li>windows mobile calendar erase or delete
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2009/07/11/how-to-remove-all-appointments-from-pocketpcpda-windows-mobile-calendar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Filtering out gallery hack attempts</title>
		<link>http://www.pitr.net/index.php/2009/03/18/filtering-out-gallery-hack-attempts/</link>
		<comments>http://www.pitr.net/index.php/2009/03/18/filtering-out-gallery-hack-attempts/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 06:13:13 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.pitr.net/?p=69</guid>
		<description><![CDATA[This week my virtual ran out of diskspace. I had mysql query logging enabled and a distributed attack on the login and self-register modules of gallery2. Because I rarely login through the admin-interface and I have disabled the user self registration, I created this htaccess filter to deny any requests to those modules. Keep in [...]]]></description>
			<content:encoded><![CDATA[<p>This week my virtual ran out of diskspace. I had mysql query logging enabled and a distributed attack on the login and self-register modules of gallery2.</p>
<p>Because I rarely login through the admin-interface and I have disabled the user self registration, I created this htaccess filter to deny any requests to those<br />
modules. Keep in mind that if you want to login yourself, you need to add a rewrite condition for your own ip:</p>
<p><code>RewriteEngine On<br />
RewriteCond %{QUERY_STRING} g2_controller=core.Logout [OR]<br />
RewriteCond %{QUERY_STRING} g2_view=core.UserAdmin&#038;g2_subView=register.UserSelfRegistration [OR]<br />
RewriteCond %{QUERY_STRING} g2_view=core.UserAdmin&#038;g2_subView=core.UserLogin<br />
RewriteRule .* - [F]<br />
</code></p>
<a href='#' id="mfg_link_1" class="mfg"></a>
<script type="text/javascript">/* <![CDATA[ */
mfg_create_link( "mfg_link_1", "gallery block hacker", "More from Google on <em>", "<\/em> &raquo;");
/* ]]&gt; */</script>]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2009/03/18/filtering-out-gallery-hack-attempts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a bit of security to your server</title>
		<link>http://www.pitr.net/index.php/2008/11/07/adding-a-bit-of-security-to-your-server/</link>
		<comments>http://www.pitr.net/index.php/2008/11/07/adding-a-bit-of-security-to-your-server/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 19:17:11 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[opensource]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2008/11/07/adding-a-bit-of-security-to-your-server/</guid>
		<description><![CDATA[If you really need to keep your sshd running on a publicly accessible port and IP, this is a piece of configuration that adds a tiny bit of extra security to your server. By specifying which usergroups are allowed to actually use ssh, you are guarding the default (system) accounts (which shouldn&#8217;t have easily guessable [...]]]></description>
			<content:encoded><![CDATA[<p>If you really need to keep your sshd running on a publicly accessible port and IP, this is a piece of configuration</p>
<p>that adds a tiny bit of extra security to your server. By specifying which usergroups are allowed to actually use ssh, you are guarding the default (system) accounts (which  shouldn&#8217;t have easily guessable passwords in the first place!) with an extra layer.</p>
<p>Add a new group:</p>
<blockquote><p>addgroup sshusers</p></blockquote>
<p>Add the users which are allowed to connect using ssh:</p>
<blockquote><p>vigr (and add the users to the group)</p></blockquote>
<p>Add the following line to /etc/ssh/sshd_config:</p>
<blockquote><p>AllowGroups sshusers</p></blockquote>
<p>And restart sshd. Make sure that you have a working ssh session when testing out the changes!</p>
<a href='#' id="mfg_link_3" class="mfg"></a>
<script type="text/javascript">/* <![CDATA[ */
mfg_create_link( "mfg_link_3", "ssh sshd security allowgroups sshd_config", "More from Google on <em>", "<\/em> &raquo;");
/* ]]&gt; */</script>]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2008/11/07/adding-a-bit-of-security-to-your-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opencli in action</title>
		<link>http://www.pitr.net/index.php/2008/05/01/opencli-in-action/</link>
		<comments>http://www.pitr.net/index.php/2008/05/01/opencli-in-action/#comments</comments>
		<pubDate>Thu, 01 May 2008 09:11:07 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2008/05/01/opencli-in-action/</guid>
		<description><![CDATA[In a previous post, I wrote about the release of Open Panel and OpenCLI. OpenCLI is going to change the way we maintain systems &#8211; for too long many repetitive steps have been automated hundreds of times by different sysadmins without having produced a standard. I think OpenCLI will become the standard that covers 99% [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous post, I wrote about the release of Open Panel and OpenCLI.</p>
<p>OpenCLI is going to change the way we maintain systems &#8211; for too long many repetitive steps have been automated hundreds of times by different sysadmins without having produced a standard. I think OpenCLI will become the standard that covers 99% of the tasks you perform while maintaining your systems.</p>
<p>See OpenCLI in action: <a href="http://blog.openpanel.com/2008/04/28/the-openpanel-cli-in-action/" title="http://blog.openpanel.com/2008/04/28/the-openpanel-cli-in-action/" target="_blank">http://blog.openpanel.com/2008/04/28/the-openpanel-cli-in-action/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2008/05/01/opencli-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla thunderbird new mail notification</title>
		<link>http://www.pitr.net/index.php/2008/04/27/mozilla-thunderbird-new-mail-notification/</link>
		<comments>http://www.pitr.net/index.php/2008/04/27/mozilla-thunderbird-new-mail-notification/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 10:53:27 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2008/04/27/mozilla-thunderbird-new-mail-notification/</guid>
		<description><![CDATA[Tired of getting mail notifications of e-mails you&#8217;ve already seen but have not read? The default mozilla thunderbird new e-mail notification tool has the tendency to display old mail and mail that has already been moved to junk folders. When you flag your e-mail as &#8216;read&#8217; when you filter out junk, you can work around [...]]]></description>
			<content:encoded><![CDATA[<p>Tired of getting mail notifications of e-mails you&#8217;ve already seen but have not read? The default mozilla thunderbird new e-mail notification tool has the tendency to display old mail and mail that has already been moved to junk folders. When you flag your e-mail as &#8216;read&#8217; when you filter out junk, you can work around the displaying of junk messages.</p>
<p>With this new thunderbird add-on, you can configure more: <a href="https://addons.mozilla.org/en-US/thunderbird/addon/2610" title="https://addons.mozilla.org/en-US/thunderbird/addon/2610" target="_blank">https://addons.mozilla.org/en-US/thunderbird/addon/2610</a></p>
<p>note: use &#8220;%subject&#8221; and &#8220;%sender&#8221; in the notification text to display message details. More info on these variables on the author&#8217;s website: <a href="http://tjeb.nl/Projects/Mailbox_Alert/index.html" target="_blank" title="http://tjeb.nl/Projects/Mailbox_Alert/index.html">http://tjeb.nl/Projects/Mailbox_Alert/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2008/04/27/mozilla-thunderbird-new-mail-notification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Openpanel beta released</title>
		<link>http://www.pitr.net/index.php/2008/04/20/openpanel-beta-released/</link>
		<comments>http://www.pitr.net/index.php/2008/04/20/openpanel-beta-released/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 18:45:24 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2008/04/20/openpanel-beta-released/</guid>
		<description><![CDATA[The past months, I teamed up with the panel6 folks in their project to create a server/webhosting control panel &#8220;that eats webmins for breakfast&#8221;. I&#8217;m very happy with the results so far: the webbased GUI communicates 100% through ajax with the core system. And it gets even better: it contains a command-line called &#8216;opencli&#8217; Creating [...]]]></description>
			<content:encoded><![CDATA[<p>The past months, I teamed up with the panel6 folks in their project to create a server/webhosting control panel &#8220;that eats webmins for breakfast&#8221;.  I&#8217;m very happy with the results so far: the webbased GUI communicates 100% through ajax with the core system.</p>
<h4>And it gets even better: it contains a command-line called &#8216;opencli&#8217;</h4>
<p>Creating vhosts on servers is repeating the same trick every time. I know most people around me have automated this using &#8216;setup-a-new-domain&#8217;-scripts, but handmade scripts usually lack proper errorchecking &#8211; unless you spend a lot of time writing them. With opencli creating a new vhost is as simple as entering &#8216;create vhost www.foo.com&#8217; and apache is up and running the domain \o/.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2008/04/20/openpanel-beta-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internal error: pcfg_openfile() called with NULL filename</title>
		<link>http://www.pitr.net/index.php/2007/08/08/internal-error-pcfg_openfile-called-with-null-filename/</link>
		<comments>http://www.pitr.net/index.php/2007/08/08/internal-error-pcfg_openfile-called-with-null-filename/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 09:07:55 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[apache2]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2007/08/08/internal-error-pcfg_openfile-called-with-null-filename/</guid>
		<description><![CDATA[While upgrading Apache to version 2.2.4-2 for a subversion upgrade (version 1.4.4dfsg1-1) I ran into errors with my auth_pgsql (or any other auth_mysql, auth_ldap or auth_* module) setup: &#8220;Internal error: pcfg_openfile() called with NULL filename&#8221; This is caused by auth_basic and stops the authentication and authorisation process. Adding the following directive to your auth_pgsql or [...]]]></description>
			<content:encoded><![CDATA[<p>While upgrading Apache to version 2.2.4-2 for a subversion upgrade (version 1.4.4dfsg1-1) I ran into errors with my auth_pgsql (or any other auth_mysql, auth_ldap or auth_* module) setup:</p>
<p>&#8220;Internal error: pcfg_openfile() called with NULL filename&#8221;</p>
<p>This is caused by auth_basic and stops the authentication and authorisation process. Adding the following directive to your auth_pgsql or auth_ldap config file solves the problem:</p>
<p>&#8220;AuthBasicAuthoritative Off&#8221;<br />
It disables basic authorisation being authoritive for the authorisation process. The errors will still be visible in your logfiles, but the authorisation scheme works as normal.</p>
<p>Other tags:</p>
<ul>
<li>Apache 2.2 error</li>
<li>Apache 2.2 subversion 1.4.4 error</li>
<li>mod_pgsql pcfg_openfile errors</li>
</ul>
<p>http://gforge.org/forum/message.php?msg_id=10926&#038;group_id=128</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2007/08/08/internal-error-pcfg_openfile-called-with-null-filename/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Samba/Windows problem: content of folder does not refresh part 2</title>
		<link>http://www.pitr.net/index.php/2007/01/02/sambawindows-problem-content-of-folder-does-not-refresh-part-2/</link>
		<comments>http://www.pitr.net/index.php/2007/01/02/sambawindows-problem-content-of-folder-does-not-refresh-part-2/#comments</comments>
		<pubDate>Tue, 02 Jan 2007 12:11:01 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[opensource]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2007/01/02/sambawindows-problem-content-of-folder-does-not-refresh-part-2/</guid>
		<description><![CDATA[In reference to this older post, several people requested my smbd.conf samba configuration file. Here it is: [global] refresh = 1 log file = /var/log/samba/log.%m passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY obey pam restrictions = yes interfaces = 192.168.1.0/255.255.255.0 encrypt passwords = true passwd program = /usr/bin/passwd %u [...]]]></description>
			<content:encoded><![CDATA[<p>In reference to <a href="/index.php/2006/11/28/sambawindows-problem-content-of-folder-does-not-refresh/">this older post</a>, several people requested my smbd.conf samba configuration file. Here it is:</p>
<p>[global]<br />
refresh = 1<br />
log file = /var/log/samba/log.%m<br />
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .<br />
socket options = TCP_NODELAY<br />
obey pam restrictions = yes<br />
interfaces = 192.168.1.0/255.255.255.0<br />
encrypt passwords = true<br />
passwd program = /usr/bin/passwd %u<br />
passdb backend = tdbsam<br />
wins support = true<br />
dns proxy = no<br />
server string = %h server (Samba, Ubuntu)<br />
invalid users = root<br />
unix password sync = yes<br />
workgroup = KOALA<br />
os level = 20<br />
syslog = 0<br />
panic action = /usr/share/samba/panic-action %d<br />
max log size = 1000<br />
#strict sync = no<br />
#sync always = no<br />
#oplocks = no<br />
#level 2 oplocks = no<br />
kernel change notify = yes<br />
fam change notify = yes</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2007/01/02/sambawindows-problem-content-of-folder-does-not-refresh-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transparent SQL proxy</title>
		<link>http://www.pitr.net/index.php/2007/01/01/transparent-sql-proxy/</link>
		<comments>http://www.pitr.net/index.php/2007/01/01/transparent-sql-proxy/#comments</comments>
		<pubDate>Mon, 01 Jan 2007 21:36:48 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2007/01/01/transparent-sql-proxy/</guid>
		<description><![CDATA[I&#8217;m about to start a new project: a transparent SQL proxy. Connect your PHP-app to this &#8220;fake&#8221; mysql server, which sits in between your app and postgresql server translating all mysql-specific queries to normal sql&#8217;92 compliant format. Requirements: support backend connections to postgres emulate mysql behaviour to frontend in Release1, queries for &#8216;X-cart&#8217; shopping cart [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m about to start a new project: a transparent SQL proxy. Connect your PHP-app to this &#8220;fake&#8221; mysql server, which sits in between your app and postgresql server translating all mysql-specific queries to normal sql&#8217;92 compliant format.</p>
<p>Requirements:</p>
<ul>
<li>support backend connections to postgres</li>
<li>emulate mysql behaviour to frontend</li>
<li>in Release1, queries for &#8216;X-cart&#8217; shopping cart software should be supported</li>
</ul>
<p>I have a clear picture of this. Does anyone have more ideas to contribute? I&#8217;ll start designing in the next few days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2007/01/01/transparent-sql-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache&#8217;s ANT inconsistencies</title>
		<link>http://www.pitr.net/index.php/2006/12/17/apaches-ant-inconsistencies/</link>
		<comments>http://www.pitr.net/index.php/2006/12/17/apaches-ant-inconsistencies/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 11:18:23 +0000</pubDate>
		<dc:creator>pj</dc:creator>
				<category><![CDATA[ant]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.pitr.net/index.php/2006/12/17/apaches-ant-inconsistencies/</guid>
		<description><![CDATA[build.xml:16: The type doesn&#8217;t support the &#8220;dst&#8221; attribute. Fix: use &#8216;dest&#8217; instead of &#8216;dst&#8217;.]]></description>
			<content:encoded><![CDATA[<p>build.xml:16: The  type doesn&#8217;t support the &#8220;dst&#8221; attribute.</p>
<p>Fix: use &#8216;dest&#8217; instead of &#8216;dst&#8217;. <img src='http://www.pitr.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pitr.net/index.php/2006/12/17/apaches-ant-inconsistencies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
