<?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>Phocean.net / Computer Security &#187; Firewall</title>
	<atom:link href="http://www.phocean.net/tag/firewall/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net</link>
	<description>&#34;A defense that hedgehogs possess is the ability to roll into a tight ball, causing all of the spines to point outwards.&#34; -- Wikipedia</description>
	<lastBuildDate>Wed, 30 Nov 2011 22:02:47 +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>ModSecurity 2.5 review</title>
		<link>http://www.phocean.net/2009/12/10/modsecurity-2-5-review.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=modsecurity-2-5-review</link>
		<comments>http://www.phocean.net/2009/12/10/modsecurity-2-5-review.html#comments</comments>
		<pubDate>Thu, 10 Dec 2009 14:12:56 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Firewalling]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[IDS / IPS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[ModSecurity]]></category>
		<category><![CDATA[Regex]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=555</guid>
		<description><![CDATA[I finished reading the ModSecurity 2.5 book, written by Magnus Mischell and published by Packt Publishing. I found a lot of interest reading it as I was already using ModSecurity &#8211; and I think anyone exposing an Apache web server should. I was actually using it partially. It is not trivial to secure a web [...]]]></description>
			<content:encoded><![CDATA[<p>I finished reading the <strong>ModSecurity 2.5</strong> book, written by <strong>Magnus Mischell</strong> and published by <strong>Packt Publishing</strong>.</p>
<p style="text-align: center;"><a title="Modsecurity 2.5" href="http://www.packtpub.com/modsecurity-2-5/book" target="_blank"><img class="size-full wp-image-521  aligncenter" title="ModSecurity 2.5" src="http://www.phocean.net/wp-content/uploads/2009/11/1847194745.jpg" alt="ModSecurity 2.5" width="200" height="247" /></a></p>
<p>I found a lot of interest reading it as I was already using ModSecurity &#8211; and I think anyone exposing an Apache web server should.<br />
I was actually using it partially. It is not trivial to secure a web application, and the rule engine of ModSecurity is very powerful but it is also quite complex.</p>
<p>So this book was a good opportunity for me to dig into it further.</p>
<p>The book covers all topics : from the set-up to a real use-case.<br />
The author explains how to write rules, how to deal with the performance impact, logging and gives us a range of various core rules to implement to get a good security basis.</p>
<p>The difficulty goes up progressively and the author doesn&#8217;t forget the beginners.<br />
The set-up of the module is precisely described. All requirements are also explained and there are some good recalls about regular expressions, common attacks on systems, server and client sides, and other stuff like that.</p>
<p>After reading the book, I could harden my rules, reorganize and optimize them for better performance &#8211; something I hadn&#8217;t cared about before.</p>
<p>So I have nothing else to say but to recommend this book.<br />
It is definitely <strong>a great handbook about ModSecurity</strong> that&#8217;s worth having next to you. The variety of configuration patterns makes it a reference.</p>
<p>Check it <a title="Modsecurity 2.5" href="http://www.packtpub.com/modsecurity-2-5/book" target="_blank">there</a>. I also appreciated the availability of PDF version, so that I can carry it everywhere with my laptop and index it with Beagle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/12/10/modsecurity-2-5-review.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New book about ModSecurity</title>
		<link>http://www.phocean.net/2009/11/15/new-book-about-modsecurity.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-book-about-modsecurity</link>
		<comments>http://www.phocean.net/2009/11/15/new-book-about-modsecurity.html#comments</comments>
		<pubDate>Sun, 15 Nov 2009 13:49:48 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Firewalling]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[mod-security]]></category>
		<category><![CDATA[ModSecurity]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=520</guid>
		<description><![CDATA[There will be a new book about mod-security coming out :  ModSecurity 2.5. ModSecurity is essential when it comes to secure any web site. It will make the work of the attacker much harder and  it may save you even if your favorite dynamic pages have a security hole. However, it must be configured wisely [...]]]></description>
			<content:encoded><![CDATA[<p>There will be a new book about mod-security coming out :  <a title="Modsecurity 2.5" href="http://www.packtpub.com/modsecurity-2-5/book" target="_blank">ModSecurity 2.5</a>.</p>
<p style="text-align: center;"><a href="http://www.phocean.net/wp-content/uploads/2009/11/1847194745.jpg"><img class="size-full wp-image-521 aligncenter" title="1847194745" src="http://www.phocean.net/wp-content/uploads/2009/11/1847194745.jpg" alt="1847194745" width="200" height="247" /></a></p>
<p>ModSecurity is essential when it comes to secure any web site.</p>
<p>It will make the work of the attacker much harder and  it may save you even if your favorite dynamic pages have a security hole.<br />
However, it must be configured wisely to be efficient. It is just a firewall that works at the application layer : you need to know the attacker point of view and the basics before writing any mod-security rules, otherwise at best it will useless (and at worst, it will kick legitimate traffic off).</p>
<p>So, stay tuned :  I will talk more about the ModSecurity stuff and publish a review about this book soon.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://www.packtpub.com/modsecurity-2-5/book</div>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/11/15/new-book-about-modsecurity.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix : TLS not working outside my network</title>
		<link>http://www.phocean.net/2008/06/11/postfix-tls-not-working-outside-my-network.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=postfix-tls-not-working-outside-my-network</link>
		<comments>http://www.phocean.net/2008/06/11/postfix-tls-not-working-outside-my-network.html#comments</comments>
		<pubDate>Tue, 10 Jun 2008 23:37:28 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewalling]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Pix]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=110</guid>
		<description><![CDATA[As I just finished setting TLS and SASL to secure the access to my Postfix server, I realized that it was working only from inside my network. What I got from my lan : I shows well that the TLS handshake is initiated. But from this outside, I just got this weired thing : Of [...]]]></description>
			<content:encoded><![CDATA[<p>As I just finished setting TLS and SASL to secure the access to my Postfix server, I realized that it was working only from inside my network.</p>
<p>What I got from my lan :</p>
<pre class="brush: plain; title: ; notranslate">$ telnet mars 25
Trying 192.168.222.10...
Connected to phocean.net.
Escape character is '^]'.
220 phocean.net ESMTP Postfix (Debian/GNU)
ehlo phocean.net
250-phocean.net
250-PIPELINING
250-SIZE 200000000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH NTLM DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN</pre>
<p>I shows well that the TLS handshake is initiated.</p>
<p>But from this outside, I just got this weired thing :</p>
<pre class="brush: plain; title: ; notranslate">$ telnet phocean.net 25
Trying 81.64.194.119...
Connected to phocean.net.
Escape character is '^]'.
220 **********************************************
ehlo phocean.net
502 5.5.2 Error: command not recognized</pre>
<p>Of course, the firewall, a Cisco Pix one, was properly set to redirect port 25 UDP/TCP to my server.</p>
<p>However, I soon focused my effort on this equipment. I considered a while that the cause could be some filtering from my provider, but most probably, the problem came from the Pix.</p>
<p>That was not difficult to figure out : it had some protocol inspector activated for SMTP :</p>
<pre class="brush: plain; title: ; notranslate">$ sh ru
[...]
fixup protocol smtp 25
[...]</pre>
<p>Just after :</p>
<pre class="brush: plain; title: ; notranslate">&gt; no fixup protocol smtp 25</pre>
<p>&#8230; it started to work perfectly well !!!</p>
<p>The engine for the SMTP protocol could not recognize the TLS handshake, considered that the SMTP session as not valid and therefore blocked it !</p>
<p>I can deactivate it without any fear as my Postfix server is already pretty well secured, or at least configured to reject any weired SMTP dialog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2008/06/11/postfix-tls-not-working-outside-my-network.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

