We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
[HOWTO] Install CSF + Use it's GUI in VestaCP
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Works well thanks for your help :)SS88 wrote:Please re-run the command - all fixed.hammy wrote:Problems with GUI
Will not show options for:-
Firewall Allow IPs
Firewall Deny IPs
lfd Blocklists
When those buttons are clicked it takes you to a page with just a 'Return' button. There seems to be a letter 'm' in the very bottom corner of those pages so maybe a error.
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Installed CSF but vsftpd fails aren't banned.
Changed VSFTPD_LOG = "/var/log/vsftpd.log"
but nothing happens. Anyone else have this problem?
Changed VSFTPD_LOG = "/var/log/vsftpd.log"
but nothing happens. Anyone else have this problem?
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Mine do not get blocked either. If your settings are correct in CSF then CSF has a problem. There is a way to fix this be using custom regex patterns like so (I've not tested this fully yet!):rpr wrote:Installed CSF but vsftpd fails aren't banned.
Changed VSFTPD_LOG = "/var/log/vsftpd.log"
but nothing happens. Anyone else have this problem?
Code: Select all
if (($globlogs{LF_FTPD}{$lgfile}) and ($line =~ /FAIL LOGIN: Client \"(\S+)\"/)) {
return ("Failed FTP login from",$1,"vsftpd_ss88","5","20,21","1");
}
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Yeah but a simpler solution is just to use proftpd.SS88 wrote:Mine do not get blocked either. If your settings are correct in CSF then CSF has a problem. There is a way to fix this be using custom regex patterns like so (I've not tested this fully yet!):rpr wrote:Installed CSF but vsftpd fails aren't banned.
Changed VSFTPD_LOG = "/var/log/vsftpd.log"
but nothing happens. Anyone else have this problem?
Code: Select all
if (($globlogs{LF_FTPD}{$lgfile}) and ($line =~ /FAIL LOGIN: Client \"(\S+)\"/)) { return ("Failed FTP login from",$1,"vsftpd_ss88","5","20,21","1"); }
That works out of the box.
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
I don't know which is easier, following this tutorial to change FTP software: https://vestacp.com/docs/#how-to-replac ... hel-centosrpr wrote:Yeah but a simpler solution is just to use proftpd.SS88 wrote:Mine do not get blocked either. If your settings are correct in CSF then CSF has a problem. There is a way to fix this be using custom regex patterns like so (I've not tested this fully yet!):rpr wrote:Installed CSF but vsftpd fails aren't banned.
Changed VSFTPD_LOG = "/var/log/vsftpd.log"
but nothing happens. Anyone else have this problem?
Code: Select all
if (($globlogs{LF_FTPD}{$lgfile}) and ($line =~ /FAIL LOGIN: Client \"(\S+)\"/)) { return ("Failed FTP login from",$1,"vsftpd_ss88","5","20,21","1"); }
That works out of the box.
Or adding a line in a file and restarting LFD :-P
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Your effort might offer some great insights into creating an extensions mechanism for VestaCP !
-
- Posts: 25
- Joined: Fri May 05, 2017 12:18 am
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Hello,
I installed on my vps, but it does not work with Proftpd. Do not block!
How do I block Proftpd?
I installed on my vps, but it does not work with Proftpd. Do not block!
How do I block Proftpd?
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Change the file /etc/csf/csf.conf and findServerHost wrote:Hello,
I installed on my vps, but it does not work with Proftpd. Do not block!
How do I block Proftpd?
Code: Select all
FTPD_LOG = "/var/log/vsftpd.log"
Code: Select all
FTPD_LOG = "/path/to/proftpd.log"
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
I removed fail2ban and Iptables and CSF went Blank page for some reason.... http://imgur.com/a/Tt3O5
I tried to re-run the .sh file for CSF.... nothing... no errors in console.
I tried to re-run the .sh file for CSF.... nothing... no errors in console.
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Not sure.ArisC wrote:I removed fail2ban and Iptables and CSF went Blank page for some reason.... http://imgur.com/a/Tt3O5
I tried to re-run the .sh file for CSF.... nothing... no errors in console.
Can you confirm the following files are present:
/usr/local/vesta/bin/v-csf
/usr/local/vesta/web/list/csf/index.php
and that you can enable csf:
Code: Select all
csf -e