Page 2 of 16

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

Posted: Fri Jan 08, 2016 11:58 am
by SS88
What is your config file for Login failure?

LF_TRIGGER?

LF_FTPD?
LF_FTPD_PERM?

#FTPD_LOG = "/var/log/vsftpd.log"

REMOVE #

FTPD_LOG = "/var/log/vsftpd.log"

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

Posted: Sat Jan 09, 2016 5:11 pm
by hafeezksa
Thanks "SS88", I am using NON-GUI CSF since long time with vesta. Now you add CSF in Vesta panel looks awesome.

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

Posted: Thu Jan 21, 2016 9:05 am
by skurudo
SS88, nice idea! Thanks

It may be worth to add the source to github?
(it's like with phpmyadmin-fixer - stability and accessibility for everyone, even if the personal server will be unavailable)

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

Posted: Mon Jan 25, 2016 10:41 pm
by jonn
SS88 wrote:
Note: I imagine when VestaCP is updated this will no longer work (but CSF will) that is because VestaCP will update it's templates and files.

If VestaCP does not update panel.html then simply re-running the script again after a VestaCP update will fix the issue; otherwise you will have to wait until I update this script.

you could apply an immutable condition to panel.html with chattr.

Code: Select all

chattr -i /usr/local/vesta/web/templates/admin/panel.html

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

Posted: Wed Jan 27, 2016 12:36 am
by jonn
@SS88

When you installed CSF did you remove the default firewall or any plugins after or before the default vestacp vst-install.sh?
Did you use the custom build at all?

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

Posted: Wed Jan 27, 2016 10:07 am
by SS88
jonn wrote:@SS88

When you installed CSF did you remove the default firewall or any plugins after or before the default vestacp vst-install.sh?
Did you use the custom build at all?
One of the VPS I installed it on was a custom build, the other straight out of the box. I did however on both disable iptables and fail2ban (through VestaCP). I found that fail2ban is OK to work with CSF but iptables gets reset with Vesta rules if Vesta keeps it active.

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

Posted: Wed Jan 27, 2016 10:53 am
by skurudo
jonn wrote: you could apply an immutable condition to panel.html with chattr.
Well, this is not good idea, backup will be better.

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

Posted: Wed Jan 27, 2016 9:57 pm
by jonn
skurudo wrote:
jonn wrote: you could apply an immutable condition to panel.html with chattr.
Well, this is not good idea, backup will be better.
yes probably better

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

Posted: Wed Jan 27, 2016 11:02 pm
by jonn
just tried with no firewall/fail2ban at install,
installed this csf mod, link is in the header, but when clicked 505 internal error vestacp black screen.
Any idea why? csf is running just not from the gui in vesta.

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

Posted: Wed Jan 27, 2016 11:22 pm
by SS88
jonn wrote:just tried with no firewall/fail2ban at install,
installed this csf mod, link is in the header, but when clicked 505 internal error vestacp black screen.
Any idea why? csf is running just not from the gui in vesta.
os version?
vesta version?

505 error is an odd error. Please check your logs.