Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 19:12:10

Author Topic: Installing CSF alongside KloxoMR (how to)  (Read 37645 times)

0 Members and 2 Guests are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Installing CSF alongside KloxoMR (how to)
« Reply #30 on: 2014-01-29, 17:26:39 »
I have no advice about it because I am always not using IPTables/CSF.

LxGuard (Kloxo/Kloxo-MR build-in) + nginx-proxy or hiawatha-proxy is enough for me.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline farrow

  • Junior Member
  • *
  • Posts: 26
  • Karma: +1/-5
    • View Profile
Re: Installing CSF alongside KloxoMR (how to)
« Reply #31 on: 2014-01-29, 17:33:54 »
Ive tried with 2 other IP's as you can see by my posts but still no luck.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Installing CSF alongside KloxoMR (how to)
« Reply #32 on: 2014-01-29, 19:39:23 »
In KloxoMR latest, one of the webmail clients is using the /tmp/ directory to compile and cache web output (smarty template system - I think).

CSF does not like php files being in the /tmp and will start sending you mass emails.

This will fix that <!-- s:) -->:)<!-- s:) -->

Code: [Select]
vim /etc/csf/csf.fignore

ADD this to the bottom

Code: [Select]
/tmp/%.*

Done.

@Farrow, you are mistaken, and obviously your inexperience has caused this issue, as this fix HAS NOTHING TO DO WITH BLOCKING IP OR SSH.  The file fignore is for FILES that LFD should ignore as being threats, THAT IS IT!

If you are using SolusVM for vps, or if it is a dedicated server, either way, start a serial console, once logged into this console,  issue this command: csf -x
« Last Edit: 2014-01-29, 20:24:40 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline farrow

  • Junior Member
  • *
  • Posts: 26
  • Karma: +1/-5
    • View Profile
Re: Installing CSF alongside KloxoMR (how to)
« Reply #33 on: 2014-01-29, 23:03:25 »
In KloxoMR latest, one of the webmail clients is using the /tmp/ directory to compile and cache web output (smarty template system - I think).

CSF does not like php files being in the /tmp and will start sending you mass emails.

This will fix that <!-- s:) -->:)<!-- s:) -->

Code: [Select]
vim /etc/csf/csf.fignore

ADD this to the bottom

Code: [Select]
/tmp/%.*

Done.

@Farrow, you are mistaken, and obviously your inexperience has caused this issue, as this fix HAS NOTHING TO DO WITH BLOCKING IP OR SSH.  The file fignore is for FILES that LFD should ignore as being threats, THAT IS IT!

If you are using SolusVM for vps, or if it is a dedicated server, either way, start a serial console, once logged into this console,  issue this command: csf -x

It was running fine before you give your shitty advise.
I reinstalled and mirrored the same install on another VPS without your config and it runs fine.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Installing CSF alongside KloxoMR (how to)
« Reply #34 on: 2014-01-30, 02:24:56 »
you are disrespectful and an idiot.  I don't believe you have done anything, I think you are just trying to be confrontational.  Obviously you could get to the vps if you could mirror it, and secondly, this configuration is running for MANY users here.

Hire a system administrator to handle your servers.
« Last Edit: 2014-01-30, 02:29:51 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Installing CSF alongside KloxoMR (how to)
« Reply #35 on: 2014-01-31, 19:36:08 »
Due to KloxoMR now using spawn-fcgi to run kloxo php52 under lxlabs, you will start to get alerts for excessive resource from lxlabs.

To fix.
vim /etc/csf.pignore

Add this line:
Code: [Select]
exe:/opt/php52s/bin/php-cgi

Issue command
csf -r;service lfd restart

Done.
« Last Edit: 2014-02-02, 15:22:07 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.05 seconds with 18 queries.

web stats analysis