<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.townx.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>townx - howtos - Comments</title>
 <link>http://www.townx.org/howtos</link>
 <description>Comments for &quot;howtos&quot;</description>
 <language>en</language>
<item>
 <title>qpdf</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-38430</link>
 <description>&lt;p&gt;qpdf can decrypt a file with password. And don&#039;t have to depend on java crap.&lt;/p&gt;</description>
 <pubDate>Wed, 27 Aug 2008 07:42:09 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 38430 at http://www.townx.org</guid>
</item>
<item>
 <title>Only if you&#039;re running a web</title>
 <link>http://www.townx.org/simple_firewall_for_ubuntu_using_iptables#comment-38371</link>
 <description>&lt;p&gt;Only if you&#039;re running a web server :)&lt;/p&gt;</description>
 <pubDate>Sat, 02 Aug 2008 15:40:41 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38371 at http://www.townx.org</guid>
</item>
<item>
 <title>You&#039;re very welcome. Thanks</title>
 <link>http://www.townx.org/blog/elliot/virtualbox-open-source-virtualisation#comment-38367</link>
 <description>&lt;p&gt;You&#039;re very welcome. Thanks for taking the time to comment.&lt;/p&gt;</description>
 <pubDate>Wed, 30 Jul 2008 16:03:51 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38367 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks for DSL setup</title>
 <link>http://www.townx.org/blog/elliot/virtualbox-open-source-virtualisation#comment-38366</link>
 <description>&lt;p&gt;Thanks a lot for the &lt;span class=&quot;caps&quot;&gt;DSL &lt;/span&gt;setup info. I would be stuck without your blog entry&lt;/p&gt;</description>
 <pubDate>Wed, 30 Jul 2008 14:36:19 -0500</pubDate>
 <dc:creator>Jay</dc:creator>
 <guid isPermaLink="false">comment 38366 at http://www.townx.org</guid>
</item>
<item>
 <title>Xdebug can debug drupal or</title>
 <link>http://www.townx.org/blog/elliot/installing-xdebug-php-5-ubuntu-feisty-fawn#comment-38363</link>
 <description>&lt;p&gt;Xdebug can debug drupal or any php application.&lt;/p&gt;</description>
 <pubDate>Fri, 25 Jul 2008 03:36:12 -0500</pubDate>
 <dc:creator>ydl</dc:creator>
 <guid isPermaLink="false">comment 38363 at http://www.townx.org</guid>
</item>
<item>
 <title>If you have a look in the</title>
 <link>http://www.townx.org/blog/elliot/installing-xdebug-php-5-ubuntu-feisty-fawn#comment-38304</link>
 <description>&lt;p&gt;If you have a look in the sample config. in the post, you should see an example path (&lt;code&gt;/usr/lib/php5/20060613+lfs/xdebug.so&lt;/code&gt;). I can&#039;t be definitive about where it&#039;s located, as the path to the extension (and in some cases, even the name of the file) depends on the version of Linux/PHP/Apache you&#039;re using. But it&#039;s likely to be called something like &lt;strong&gt;xdebug.so&lt;/strong&gt; and be located in your &lt;span class=&quot;caps&quot;&gt;PHP &lt;/span&gt;installation&#039;s extensions directory (look for the &lt;strong&gt;extension_dir&lt;/strong&gt; setting in your php.ini file to work out what the latter is).&lt;/p&gt;</description>
 <pubDate>Fri, 04 Jul 2008 11:59:00 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38304 at http://www.townx.org</guid>
</item>
<item>
 <title>Question...</title>
 <link>http://www.townx.org/blog/elliot/installing-xdebug-php-5-ubuntu-feisty-fawn#comment-38303</link>
 <description>&lt;p&gt;You wrote: &quot;Note you need to use zend_extension= to load the extension, and you should use the absolute path to the module (.so file) to do this. Otherwise it fails.&quot;&lt;/p&gt;

&lt;p&gt;So, what is the name of the extension? Where do I find it?&lt;/p&gt;</description>
 <pubDate>Fri, 04 Jul 2008 11:43:13 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 38303 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks for clarifying.</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-38214</link>
 <description>&lt;p&gt;Thanks for clarifying.&lt;/p&gt;</description>
 <pubDate>Mon, 16 Jun 2008 15:31:44 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38214 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks, I know about Pastie.</title>
 <link>http://www.townx.org/blog/elliot/rake-command-completion-bash-shell#comment-38213</link>
 <description>&lt;p&gt;Thanks, I know about Pastie. Can it be used as a repository and then accessed via an &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;?&lt;/p&gt;</description>
 <pubDate>Mon, 16 Jun 2008 15:30:45 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 38213 at http://www.townx.org</guid>
</item>
<item>
 <title>Try Pastie for sharing code</title>
 <link>http://www.townx.org/blog/elliot/rake-command-completion-bash-shell#comment-38142</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://pastie.caboo.se/&quot;&gt;Pastie&lt;/a&gt; is great for sharing code. It formats, and highlights.&lt;/p&gt;</description>
 <pubDate>Tue, 20 May 2008 10:08:43 -0500</pubDate>
 <dc:creator>Michael Hale</dc:creator>
 <guid isPermaLink="false">comment 38142 at http://www.townx.org</guid>
</item>
<item>
 <title>But pdftk needs OWNER</title>
 <link>http://www.townx.org/blog/elliot/removing-password-pdf-linux#comment-38140</link>
 <description>&lt;p&gt;But pdftk needs &lt;span class=&quot;caps&quot;&gt;OWNER &lt;/span&gt;password and to use the method decribed above you only need &lt;span class=&quot;caps&quot;&gt;USER &lt;/span&gt;pass.&lt;/p&gt;</description>
 <pubDate>Mon, 19 May 2008 11:20:03 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 38140 at http://www.townx.org</guid>
</item>
<item>
 <title>firewall</title>
 <link>http://www.townx.org/simple_firewall_for_ubuntu_using_iptables#comment-38131</link>
 <description>&lt;p&gt;Hi,&lt;br /&gt;
Great script - I&#039;ve used it as the starter for my setup.&lt;/p&gt;

&lt;p&gt;ShieldsUP notes that your script shows ports 0 and 1 as closed rather than in stealth mode, and also doesn&#039;t drop &lt;span class=&quot;caps&quot;&gt;ICMP &lt;/span&gt;packets - meaning that if the machines are directly attached to the internet via ppp, or with an &lt;span class=&quot;caps&quot;&gt;ADSL &lt;/span&gt;modem with no firewall, then they can be discovered.&lt;/p&gt;

&lt;p&gt;Also your script doesn&#039;t handle dialup connections.&lt;/p&gt;

&lt;p&gt;The following changes mitigates against these:&lt;/p&gt;


&lt;ol&gt;
&lt;li&gt;drop everything else on ppp&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-i ppp+ -p udp -j &lt;span class=&quot;caps&quot;&gt;DROP&lt;/span&gt;&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-i ppp+ -p tcp -m tcp --syn -j &lt;span class=&quot;caps&quot;&gt;DROP&lt;/span&gt;&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-i ppp+ -p icmp -j &lt;span class=&quot;caps&quot;&gt;DROP&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Explcitly deal with port 0&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p tcp --sport 0&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p udp --sport 0&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p tcp --dport 0&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p udp --dport 0&lt;/li&gt;
&lt;li&gt;Explcitly deal with port 1&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p tcp --sport 1&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p udp --sport 1&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p tcp --dport 1&lt;br /&gt;
iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-j &lt;span class=&quot;caps&quot;&gt;DROP &lt;/span&gt;-p udp --dport 1&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;regards&lt;/p&gt;

&lt;p&gt;Colin&lt;/p&gt;</description>
 <pubDate>Thu, 08 May 2008 03:01:53 -0500</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 38131 at http://www.townx.org</guid>
</item>
<item>
 <title>Spamassassin and Spam Deletion</title>
 <link>http://www.townx.org/blog/elliot/simple_spamassassin_setup_with_postfix_and_dovecot_on_ubuntu_breezy#comment-38125</link>
 <description>&lt;p&gt;&quot;most of it gets stopped by the Postfix server using Spamassassin&quot;&lt;/p&gt;

&lt;p&gt;I don&#039;t think this part is right. From wiki.apache.org/spamassassin:&lt;/p&gt;

&lt;p&gt;&quot;SpamAssassin itself will not delete any emails. It&#039;s only a filter which reads email in, and passes that same email out, modified in some way. If you want to delete emails, or redirect emails, you need to do it in whatever program calls SpamAssassin. &quot;&lt;/p&gt;

&lt;p&gt;The site then goes on to explain how to set up a procmail filter to drop spam at the server, it that is what you want to do.&lt;/p&gt;

&lt;p&gt;In your case, do you think what is happening is that Thunderbird&#039;s Bayesian filter can learn what is junk instantly because of SpamAssassin headers? Thus you can achieve your end result, very little spam in the Inbox, but all the filtering is done by Thunderbird. I don&#039;t see Postfix dropping mail on the floor. Please correct me if I am wrong.&lt;/p&gt;

&lt;p&gt;Thank you for this mini-howto. I used it to set up Spamassassin  on an Ubuntu server running Courrier &lt;span class=&quot;caps&quot;&gt;IMAP &lt;/span&gt;in literally minutes, and it is working great. I also use Thunderbird. It is also easy to set a filter in Squirrelmail (web mail) to filter spamassassinated messages to the Inbox.Junk folder:&lt;/p&gt;

&lt;p&gt;options/message filtering:&lt;/p&gt;

&lt;p&gt;If Header contains X-Spam-Flag: &lt;span class=&quot;caps&quot;&gt;YES &lt;/span&gt;then move to Junk&lt;/p&gt;</description>
 <pubDate>Sat, 03 May 2008 11:03:43 -0500</pubDate>
 <dc:creator>monkster</dc:creator>
 <guid isPermaLink="false">comment 38125 at http://www.townx.org</guid>
</item>
<item>
 <title>Thx ;)</title>
 <link>http://www.townx.org/simple_firewall_for_ubuntu_using_iptables#comment-38122</link>
 <description>&lt;p&gt;thanks!though  iptables -A &lt;span class=&quot;caps&quot;&gt;INPUT &lt;/span&gt;-p tcp -s 0/0 --dport 80 -j &lt;span class=&quot;caps&quot;&gt;ACCEPT &lt;/span&gt;is needed!&lt;/p&gt;</description>
 <pubDate>Wed, 30 Apr 2008 18:18:12 -0500</pubDate>
 <dc:creator>Prakash</dc:creator>
 <guid isPermaLink="false">comment 38122 at http://www.townx.org</guid>
</item>
<item>
 <title>Thanks for the tips. Useful.</title>
 <link>http://www.townx.org/blog/elliot/rake-command-completion-bash-shell#comment-34388</link>
 <description>&lt;p&gt;Thanks for the tips. Useful.&lt;/p&gt;</description>
 <pubDate>Thu, 17 Apr 2008 18:20:19 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 34388 at http://www.townx.org</guid>
</item>
</channel>
</rss>
