[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Jun 2 17:30:56 2005 -->
- <!--x-from-r13: wvzcbc ng lnubb.pbz (Xvz Bbcbivgpu) -->
- <!--x-message-id: 1117747337.21522.37.camel@localhost -->
- <!--x-reference: 1117746280.21522.21.camel@localhost -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] iptables limits? -->
- <li><em>date</em>: Thu Jun 2 17:30:56 2005</li>
- <li><em>from</em>: jimpop at yahoo.com (Jim Popovitch)</li>
- <li><em>in-reply-to</em>: <<a href="msg00105.html">[email protected]</a>></li>
- <li><em>references</em>: <1117746280.21522.21.camel@localhost> <<a href="msg00105.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] iptables limits?</li>
I religiously block IPs that exhibit strange behavior (port scans, spam,
formmail, x90, etc),and I have iptables rules to LOG further attempts
(it all adds up) I divide the blocks up between ALL, HTTP, and SMTP, so
someone that port maps a mailserver can still visit websites, and
someone who bongs a webserver can still send good email. The ALL list
is derived from bot reports, etc.
As of this point in time here are copies of the lists:
<a rel="nofollow" href="http://jimpop.net/stuff/block-all">http://jimpop.net/stuff/block-all</a>
<a rel="nofollow" href="http://jimpop.net/stuff/block-http">http://jimpop.net/stuff/block-http</a>
<a rel="nofollow" href="http://jimpop.net/stuff/block-smtp">http://jimpop.net/stuff/block-smtp</a>
I have yet to hear one complaint from any user that I have blocked a
legitimately used IP address.
Here's a script that I use to pull data out of apache logs and spit out
a list of IP addresses to HTTP block.
---------------
TEMP=temp.$$
egrep "FormMail.cgi|FormMail.pl|cltreq.asp|_vti_bin|_vti_bin|_vti_inf|
apage.cgi|auctions.cgi|awstats|ctpub_adserv.cgi|formmail.cgi|
formmail.pl|imgannot.cgi|includer.cgi|openwebmail|proxyjudge.cgi|
tellafriend.pl|upload2.cgi" /var/log/httpd/error_log* | sed -e 's/.*
\[client \(.*\)\].*/\1/' > $TEMP
sed -e "s/SEARCH.*x90.*/BLOCK-IP/" /var/log/httpd/*_log* | grep BLOCK-IP
| sed -e 's/ - - .*//' >> $TEMP
sort -u $TEMP
rm -f $TEMP
----------------
>
> On the same topic does anyone know the max number of ppp interfaces?
>
> On Thu, 2005-06-02 at 17:04, Jim Popovitch wrote:
> > Are there any known limits to the number of rules in iptables? I
> > currently have about 27000+ rules, with no noticeable issues. What's
> > the upper limit, if there is any, and what are the limiting factors?
> >
> > Thx,
> >
> > -Jim P.
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00104" href="msg00104.html">[ale] iptables limits?</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
<li><strong><a name="00105" href="msg00105.html">[ale] iptables limits?</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00107.html">[ale] iptables limits?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00109.html">[ale] iptables limits?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00147.html">[ale] iptables limits?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00106.html">[ale] iptables limits?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00108"><strong>Date</strong></a></li>
<li><a href="threads.html#00108"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>