<div>If your servers are being crashed due to the &#39;stat 7&#39; packet exploit, use the following iptables rules to block that particular packet:</div>
<div>&nbsp;</div>
<div>-A PREROUTING -m string --hex-string &quot;|737461747300007907|&quot; --algo kmp --to 65535 -j LOG --log-prefix &quot;COD4STATS_EXPLOIT &quot;<br>-A PREROUTING -m string --hex-string &quot;|737461747300007907|&quot; --algo kmp --to 65535 -j DROP<br>
</div>
<div>The first rule will log the attempt to syslog, the second will drop the packet.</div>
<div><br>-- <br>Geoff Goas<br>Network Engineer </div>