<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Enhance Security with Port Knocking</title>
	<link>http://www.linux-mag.com/id/5445/</link>
	<description>Open Source, Open Standards</description>
	<pubDate>Sun, 07 Sep 2008 08:43:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: salinuxam</title>
		<link>http://www.linux-mag.com/id/5445/#comment-1127</link>
		<pubDate>Mon, 02 Jun 2008 03:35:18 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/5445/#comment-1127</guid>
					<description>It's like our aim is to avoid a port scan primarily. If some body does so null route them using iptables.Portsentry does this pretty accurately  :)</description>
		<content:encoded><![CDATA[<p>It&#8217;s like our aim is to avoid a port scan primarily. If some body does so null route them using iptables.Portsentry does this pretty accurately  :)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: J. Alfred Prufrock</title>
		<link>http://www.linux-mag.com/id/5445/#comment-924</link>
		<pubDate>Thu, 27 Mar 2008 03:38:47 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/5445/#comment-924</guid>
					<description>Alternately, you can use an iptables-only approach to port-knocking (ie. same thing but without knockd).  It's probably not as configurable, but for a simple setup it's good enough.  For an example, see http://www.debian-administration.org/articles/268</description>
		<content:encoded><![CDATA[<p>Alternately, you can use an iptables-only approach to port-knocking (ie. same thing but without knockd).  It&#8217;s probably not as configurable, but for a simple setup it&#8217;s good enough.  For an example, see <a href="http://www.debian-administration.org/articles/268" rel="nofollow">http://www.debian-administration.org/articles/268</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: david braun</title>
		<link>http://www.linux-mag.com/id/5445/#comment-921</link>
		<pubDate>Mon, 24 Mar 2008 11:02:56 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/5445/#comment-921</guid>
					<description>Javi's makes valid point. Maybe you could set up separate tables for each service under knockd control. This would not prevent someone from removing the whole table with multiple knockd closes but would limit the problem to just that service instead of the main INPUT chain. Better yet would be to configure the commands issued by knockd to be smarter and create unique table names for each successful knocker.</description>
		<content:encoded><![CDATA[<p>Javi&#8217;s makes valid point. Maybe you could set up separate tables for each service under knockd control. This would not prevent someone from removing the whole table with multiple knockd closes but would limit the problem to just that service instead of the main INPUT chain. Better yet would be to configure the commands issued by knockd to be smarter and create unique table names for each successful knocker.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: javi</title>
		<link>http://www.linux-mag.com/id/5445/#comment-920</link>
		<pubDate>Sun, 23 Mar 2008 20:48:39 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/5445/#comment-920</guid>
					<description>In my opinion registrationsucks is right. You will also get into problems if there are more processes that can insert rules in front of your iptables chain, like f.e. fail2ban. Just leave the number out. New rules with flag -I will be inserted in front and only matching rules will be deleted, independent of their order in the chain.</description>
		<content:encoded><![CDATA[<p>In my opinion registrationsucks is right. You will also get into problems if there are more processes that can insert rules in front of your iptables chain, like f.e. fail2ban. Just leave the number out. New rules with flag -I will be inserted in front and only matching rules will be deleted, independent of their order in the chain.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: registrationsucks</title>
		<link>http://www.linux-mag.com/id/5445/#comment-919</link>
		<pubDate>Fri, 21 Mar 2008 20:38:10 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/5445/#comment-919</guid>
					<description>If I understand your configuration correctly, anyone knocking with the signoff sequence will delete the first rule on the input chain.  This is great if it happens to be the rule that opened up MYSQL, but it is an easy denial of service attack if you happen to be running any other publicly accessible services on the box - a webserver for example.  Multiple signoff knocks will shut the whole thing down.  A better approach is to specifically delete the rule you added earlier (if it is there).  At the very least it should only shutdown rules matching the port you opened.</description>
		<content:encoded><![CDATA[<p>If I understand your configuration correctly, anyone knocking with the signoff sequence will delete the first rule on the input chain.  This is great if it happens to be the rule that opened up MYSQL, but it is an easy denial of service attack if you happen to be running any other publicly accessible services on the box - a webserver for example.  Multiple signoff knocks will shut the whole thing down.  A better approach is to specifically delete the rule you added earlier (if it is there).  At the very least it should only shutdown rules matching the port you opened.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Pieter Smit</title>
		<link>http://www.linux-mag.com/id/5445/#comment-916</link>
		<pubDate>Fri, 21 Mar 2008 06:15:52 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/5445/#comment-916</guid>
					<description>something similar can be achieved with openvpn.
it can be setup to include a hashkey in the connection udp packets, if the first packet does not contain the hash it is silently discarded.

Thus the openvpn port is totally invisible from the outside, with the added benefit that when you connect all traffic is encrypted, and you are authenticated with a certificate.

http://openvpn.net/index.php/documentation/security-overview.html

"the --tls-auth directive to generate an HMAC key to authenticate the packets that are themselves part of the TLS handshake sequence."</description>
		<content:encoded><![CDATA[<p>something similar can be achieved with openvpn.<br />
it can be setup to include a hashkey in the connection udp packets, if the first packet does not contain the hash it is silently discarded.</p>
<p>Thus the openvpn port is totally invisible from the outside, with the added benefit that when you connect all traffic is encrypted, and you are authenticated with a certificate.</p>
<p><a href="http://openvpn.net/index.php/documentation/security-overview.html" rel="nofollow">http://openvpn.net/index.php/documentation/security-overview.html</a></p>
<p>&#8220;the &#8211;tls-auth directive to generate an HMAC key to authenticate the packets that are themselves part of the TLS handshake sequence.&#8221;
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
