HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   denyhosts for blocking external access to email (http://www.howtoforge.com/forums/showthread.php?t=20701)

mmistroni 25th February 2008 10:39

denyhosts for blocking external access to email
 
hi all,
i am currently using denyhosts for preventing attacks on my ssh port.
I noticed though that my mail.log is full of attempts to login to my mail server.
i was wondering.. i can i use denyhosts to block also mail.. or shall i use iptables to block mail access from outside?


thanks and regards
marco

daveb 25th February 2008 19:16

You could try fail2ban.

mmistroni 26th February 2008 09:19

hi,
thanks.
can fail2ban and denyhosts run at the same time?
will be one overriding the other?


thanks and regards
marco

daveb 26th February 2008 09:54

Yes they play well with each other.

mmistroni 26th February 2008 17:35

daveb,
thanks for reply.. so u r actually suggesting that i'd keep denyhosts for ssh and use fail2ban for everything else (mail, ftp)?
and mayb after some time replace completely dh with f2b? coz it seems me little overhead to have 2 processes doing same thing?

thanks and regards
marco

falko 26th February 2008 19:21

I'd switch off Denyhosts and use fail2ban only.


All times are GMT +2. The time now is 19:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.