Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables enough to handle brute force attacks?
@ 2011-04-05 10:02 Gilles
  2011-04-05 13:52 ` /dev/rob0
  2011-04-28 17:31 ` Alessandro Vesely
  0 siblings, 2 replies; 4+ messages in thread
From: Gilles @ 2011-04-05 10:02 UTC (permalink / raw)
  To: netfilter

Hello

	I need to connect an Asterisk server to the Net so that 1) remote
users can register and 2) Internet users can ring any extension on the
server.

I'll use iptables to prevent hackers from trying to register.

I was wondering what solution to use to block brute force attempts:

- just rely on iptables since it offers a way, eg. "iptables -I INPUT
-p udp --dport 5060 -m state --state NEW -m recent --update --seconds
600 --hitcount 2 -j DROP"

- add Brute Force Detection (BFD), which is a shell script that is
called by CRON (ie. every minute at most)
www.rfxn.com/projects/brute-force-detection/

- add SSHGuard, which is apparently a stand-alone binary program that
doesn't rely on CRON
www.sshguard.net

This is on an embedded Linux, so there isn't enough RAM to run
Python-based fail2ban.

If you have installed Asterisk and iptables, which solution did you
end up using?

Thank you.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-28 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 10:02 iptables enough to handle brute force attacks? Gilles
2011-04-05 13:52 ` /dev/rob0
2011-04-07 14:15   ` Gilles
2011-04-28 17:31 ` Alessandro Vesely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox