Koozali.org: home of the SME Server

automate firewall rule to block specific IPs

oddo

automate firewall rule to block specific IPs
« on: July 15, 2006, 09:39:03 PM »
hi

how to block automaticaly an ip that apears in my /var/log/iptables/current
xyz times in a row

how to defend from DOS
i have 25%+ loss on external conexion
i want to add does ip's to iptables drop list

Thanks in advance! :)

Offline raem

  • *
  • 3,972
  • +4/-0
Re: automate firewall rule to block specific IPs
« Reply #1 on: July 16, 2006, 10:06:31 AM »
oddo

> how to defend from DOS

sme limits the number of sessions & concurrent email connections to protect against DOS attacks

Read the features
http://no.longer.valid/phpwiki/index.php/SME%207%20Features
Read the developers guide
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html

> i want to add does ip's to iptables drop list

Read the FAQ
http://no.longer.valid/phpwiki/index.php/SME7FAQs#Webx20.Applications

Searching is a good idea too
http://forums.contribs.org/index.php?topic=31443.0
...

Offline kruhm

  • *
  • 680
  • +0/-0
automate firewall rule to block specific IPs
« Reply #2 on: July 17, 2006, 01:15:40 AM »
what about blocking specific IP's from emailing? just drop the connection. I could do this with v6 and tcprules but I couldn't find a way or plugin to easily do this with v7 and the qpsmtpd plugins.