Search found 5 matches

by moucho
Sun Aug 06, 2017 2:55 pm
Forum: Modification & Patches
Topic: [HOWTO] Install CSF + Use it's GUI in VestaCP Topic is solved
Replies: 114
Views: 39995

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

Firstly, you have to edit /etc/csf/csf.conf with the right log file for VestaCP: CUSTOM1_LOG = "/var/log/vesta/auth.log" Then, if you want to block that IP for 1 hour (3 attemps): # vestacp if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+) failed to login/)) { return ("Login ...
by moucho
Mon Sep 19, 2016 10:56 pm
Forum: Modification & Patches
Topic: [HOWTO] Install CSF + Use it's GUI in VestaCP Topic is solved
Replies: 114
Views: 39995

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

Thanks so much!!! I'm speechless, I can't really thank you enough, I've tried for hours without success. May I ask you to explain to me that why this works? Is this syntax different from any other regex syntax, because I check and the lines where being interpreted correctly by other tools but not cs...
by moucho
Mon Sep 19, 2016 9:45 pm
Forum: Modification & Patches
Topic: [HOWTO] Install CSF + Use it's GUI in VestaCP Topic is solved
Replies: 114
Views: 39995

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

This is an example (I've changed my IP): asdfasdf 10.0.0.0 failed to login asdfasdf 10.0.0.0 failed to login asdfasdf 10.0.0.0 failed to login asdfasdf 10.0.0.0 failed to login asdfasdf 10.0.0.0 failed to login asdfasdf 10.0.0.0 failed to login Firstly two white spaces, then the username, IP and err...
by moucho
Mon Sep 19, 2016 9:10 pm
Forum: Modification & Patches
Topic: [HOWTO] Install CSF + Use it's GUI in VestaCP Topic is solved
Replies: 114
Views: 39995

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

Share customlog entry to block failed vestacp login attempts. on debian 7 open. /etc/csf/regex.custom.pm add after # "1" = n/temporary (n = number of seconds ... #vestacp if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /^\S+\s+\S+\s+\S+\s+\S+\s+failed to login/)) { return ("Faile...
by moucho
Tue Jun 28, 2016 5:46 pm
Forum: Modification & Patches
Topic: [HOWTO] Install CSF + Use it's GUI in VestaCP Topic is solved
Replies: 114
Views: 39995

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

Since CSF versión 9.0 the frontend ui for VestaCP isn't working anymore. According to their changelog, one of the features is: "Convert csfui.pl, csfuir.pl and cseui.pl to perl modules and modify the calling UI specific scripts" The template for VestaCP calls csfui.pl , but this perl scrip...

Go to advanced search