Re: [arch-general] Automated check log and block postfix

2020-01-02 Thread SET via arch-general
Le mercredi 1 janvier 2020 11:48:20 CET SET via arch-general a écrit : > iptables -A INPUT -p tcp -d 587 -i eth0 -m state --state NEW -m recent > --name XT_SUB --set > iptables -A INPUT -p tcp -d 587 -i eth0 -m state --state NEW -m recent > --name XT_SUB --update --seconds 180 --hitcount 5 --rttl

Re: [arch-general] Automated check log and block postfix

2020-01-01 Thread siefke_lis...@web.de
Hello, SET via arch-general wrote: > iptables -A INPUT -p tcp -d 587 -i eth0 -m state --state NEW -m recent --name > XT_SUB --set > iptables -A INPUT -p tcp -d 587 -i eth0 -m state --state NEW -m recent --name > XT_SUB --update --seconds 180 --hitcount 5 --rttl -j DROP Perfect it seem to work

Re: [arch-general] Automated check log and block postfix

2020-01-01 Thread lists
On Wed, Jan 01, 2020 at 10:27:02AM +0100, siefke_lis...@web.de wrote: > I have fail2ban installed but there is nothing happen with. Okay is > connect and disconnect. No error message. I not understand why is so > but is ok. You need to configure fail2ban. It's more like a framework with lots of b

Re: [arch-general] Automated check log and block postfix

2020-01-01 Thread SET via arch-general
Le mercredi 1 janvier 2020 10:27:02 CET siefke_lis...@web.de a écrit : > I have fail2ban installed but there is nothing happen with. Okay is connect > and disconnect. No error message. I not understand why is so but is ok. > > Is there a way to cat this mess and write it automated to iptables? Is

[arch-general] Automated check log and block postfix

2020-01-01 Thread siefke_lis...@web.de
Hello, happy new year first :) I have questions about postfix and the logfile. I have often player which try using submission which come in log like: Jan 1 11:39:19 ru-mail postfix/submission/smtpd[7463]: connect from unknown[45.143.222.192] Jan 1 11:39:19 ru-mail postfix/submission/smtp