• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Drop Script do DDoS on Postfix Mail Server

L

LucasB

Guest
Hi Folks.

I create a new perl script to block very high traffic in postfix smtp 25 port when have authentication problems. It's very interesting to fight against spam etc.

The script is poor written, and all changes and improvements are welcome

script download site
http://suporte.ampernet.com.br/~lucas/plesk/see.py

Requeriments needed
* run using root environment
* create a fifo file and redirect the syslog to it
To do this
# mkfifo /var/log/verpy
# vi /etc/rsyslog.conf

insert this line
mail.* |/var/log/verpy

run and see the log on /var/log/messages

Tks for all reply, and sorry the bad english and the poor programming!
 
Back
Top