Page 12 of 12

Re: [HOWTO] Install CSF + Use it's GUI in VestaCP

Posted: Fri May 12, 2017 12:43 pm
by amitz
Thanks, it installed now :)

Re: [HOWTO] Install CSF + Use it's GUI in VestaCP

Posted: Sat May 27, 2017 5:54 pm
by ServerHost
Is there a regex for vesta, dovecot, exim, imap, pop3, smtp?

Re: [HOWTO] Install CSF + Use it's GUI in VestaCP

Posted: Sat May 27, 2017 6:05 pm
by SS88
ServerHost wrote:Is there a regex for vesta, dovecot, exim, imap, pop3, smtp?


Vesta = no .I can make one after memorial day.

Dovecot, exim, imap, pop3, smtp already installed.

Re: [HOWTO] Install CSF + Use it's GUI in VestaCP

Posted: Thu Jun 01, 2017 12:00 am
by ServerHost
SS88 wrote:
ServerHost wrote:Is there a regex for vesta, dovecot, exim, imap, pop3, smtp?


Vesta = no .I can make one after memorial day.

Dovecot, exim, imap, pop3, smtp already installed.



Where I find?

Re: [HOWTO] Install CSF + Use it's GUI in VestaCP

Posted: Sun Aug 06, 2017 2:55 pm
by moucho
Firstly, you have to edit /etc/csf/csf.conf with the right log file for VestaCP:

Code: Select all

CUSTOM1_LOG = "/var/log/vesta/auth.log"

Then, if you want to block that IP for 1 hour (3 attemps):

Code: Select all

# vestacp
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+) failed to login/)) {
  return ("Login attempt to VestaCP from",$1,"VESTAloginAttempt","3","8083","3600");
}

Or if you want to block that IP permanently (5 attemps):

Code: Select all

# vestacp
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+) failed to login/)) {
  return ("Login attempt to VestaCP from",$1,"VESTAloginAttempt","5","8083","1");
}

Re: [HOWTO] Install CSF + Use it's GUI in VestaCP

Posted: Tue Aug 29, 2017 3:52 pm
by bdacus01
I added Blocklists in LFD. Looks like perl-LWP-Protocol-https is not in the default install. You might want to add this to the install script.


In the mean time the fix this error is :

yum install perl-LWP-Protocol-https