Page 12 of 16

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

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

Posted: Fri Jan 05, 2018 11:04 am
by mephivio
Hi

will you update your script for the fresh new 0.9.8-18 ?
Thanks

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

Posted: Fri Jan 05, 2018 1:01 pm
by SS88
mephivio wrote:Hi

will you update your script for the fresh new 0.9.8-18 ?
Thanks
Thanks for letting me know - yep - already works! I've updated my first post! :)

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

Posted: Fri Jan 05, 2018 3:34 pm
by mephivio
Great !
Happy new year !

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

Posted: Sat Feb 10, 2018 9:57 am
by mephivio
hi..
could you certify your script is compatible with last update 0.9.8-19 ?
Thanks