<?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>GO IT WORLD &#124; IT TECH &#124; IT NEWS &#187; iptables</title>
	<atom:link href="http://www.goitworld.com/tag/iptables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goitworld.com</link>
	<description>goitworld.com</description>
	<lastBuildDate>Tue, 10 Jan 2012 10:03:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Drop probe ip by iptables</title>
		<link>http://www.goitworld.com/drop-probe-ip-by-iptables/</link>
		<comments>http://www.goitworld.com/drop-probe-ip-by-iptables/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 13:12:16 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[probe]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/drop-probe-ip-by-iptables/</guid>
		<description><![CDATA[<p style="float: right;margin: 4px;">


</p><p>Modify crontab</p>
<blockquote><p>* * * * * root /home/cnscn/sh/ssh_scan_crontab.sh &#62;/dev/null 2&#62;&#38;1</p>
</blockquote>
<p>ssh_scan_crontab.sh script</p>
<blockquote><li>
<pre>$ cat /home/cnscn/sh/ssh_scan_crontab.sh</pre>
</li>
<li>
<pre>#!/bin/bash</pre>
</li>
<li>
<pre># Author http://jabin.cublog.cn</pre>
</li>
<li>
<pre># Modify cnscn http://cnscn2008.cublog.cn</pre>
</li>
<li>
<pre># Modify xinyv</pre>
</li>
<li>
<pre>&#160;</pre>
</li>
<li>
<pre>#set timezone</pre>
</li>
<li>
<pre>export LC_ALL=UTC</pre>
</li>
<li>
<pre>&#160;</pre>
</li>
<li>
<pre># gather 1 minutes log from secure，count and drop it by iptables</pre>
</li>
<li>
<pre>SCANNER=$(awk 'BEGIN{ tm=strftime(&#34;%b %e %H:%M&#34;,systime()-60);}  $0 ~ tm &#38;&#38; /Failed password/ &#38;&#38; /ssh2/ {print $(NF-3)}' /var/log/secure &#124;sort&#124;uniq -c &#124;awk '{print $1&#34;=&#34;$2;}')</pre>
</li>
<li>
<pre>&#160;</pre>
</li>
<li>
<pre>&#160;</pre>
</li>
<li></li></blockquote><p>&#8230; <a href="http://www.goitworld.com/drop-probe-ip-by-iptables/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/drop-probe-ip-by-iptables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iptables ip_conntrack table set-up and tunning for high load UDP traffic</title>
		<link>http://www.goitworld.com/iptables-ip_conntrack-table-set-up-and-tunning-for-high-load-udp-traffic/</link>
		<comments>http://www.goitworld.com/iptables-ip_conntrack-table-set-up-and-tunning-for-high-load-udp-traffic/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 10:55:09 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Security Tools]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[ip_conntrack]]></category>
		<category><![CDATA[tunning]]></category>

		<guid isPermaLink="false">http://www.goitworld.com/iptables-ip_conntrack-table-set-up-and-tunning-for-high-load-udp-traffic/</guid>
		<description><![CDATA[<p>If you run a busy DNS server or any other service that uses a lot of UDP traffic, it’s possible that your default Iptable conntrack sessions (connection tracking entries in kernel memory) settings are too low and netfilter is unable to track all your sessions.</p>
<p>The error is usually something like this:</p>
<p><em>Sep 10 12:53:44 hostname01 kernel: ip_conntrack: table full, dropping packet.</em></p>
<p>You need to tune sysctl net.ipv4.ip_conntrack_max value, let’s say increase it twice or more times and see if you still get the error messages on the console or syslog.</p>
<p>Depending on your OS, the formula for calculating the&#8230; <a href="http://www.goitworld.com/iptables-ip_conntrack-table-set-up-and-tunning-for-high-load-udp-traffic/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.goitworld.com/iptables-ip_conntrack-table-set-up-and-tunning-for-high-load-udp-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

