<p>I was thinking on the same lines, i.e. setup a server which will be regularly updated with these bad IP addresses, and anybody looking to block bad IPs will be able to get this list from here. For example when I get mail from Fail2Ban (which I am getting more and more everyday now), a copy would be sent to this server with the updated bad IP address.</p>
<p>But the problem is how to make sure that only legitimate users are contributing to this list. Contributors to this list somehow need to verify to an admin that they are not hackers, and this the hard part.<br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
<a href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p><blockquote type="cite">On 2010-10-21 11:46 AM, "Steve Howes" <<a href="mailto:steve-lists@geekinter.net">steve-lists@geekinter.net</a>> wrote:<br><br>Hi,<br>
<br>
Given the recent increase in SIP brute force attacks, I've had a little idea.<br>
<br>
The standard scripts that block after X attempts work well to prevent you actually being compromised, but once you've been 'found' then the attempts seem to keep coming for quite some time. Older versions of sipvicious don't appear to stop once you start sending un-reachables (or straight drops). Now this isn't a problem for Asterisk, but it does add up in (noticeable) bandwidth costs - and for people running on lower bandwidth connections. The tool to crash sipvicious can help this, but very few attackers seem to obey it..<br>
<br>
The only way I can see to alleviate this, is to blacklist hows *before* they attack. This means you wont ever be targeted past an initial scan.<br>
<br>
Is there any interest in a 'shared' blacklist (similar to spam blacklists, but obviously implemented in a way that is more usable with Asterisk/iptables)?. Clearly it raises issues about false positives etc, but requiring reports from more than X hosts should alleviate this. There's all the usual de-listing / false-listing worries as with any blacklist, but the SMTP world has solutions we could learn from.<br>
<br>
Leaving a 'honeypot' running on a single IP address has revealed a few hundred addresses in less than a month. I am fairly certain these are all 'bad' as this host isn't used for anything else. There is obviously a wealth of data (and attacks) out there that would be good to share.<br>
<br>
Anyone have any thoughts?<br>
<br>
S<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></p>