Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249

    csf firewall is still blocking my domain sync file

    Hi, i got a report from CSF that my whmcs domainsync process was suspicous and so i wanted to add it to the exception file because this is a new vps setup.

    However even after i add

    Code:
    exe:/home/xxxxxx/username/usr/bin/php
    its still reporting it. so i dont think i did it right. the file name is virtfs if that makes a dif.


    its in my cron as (names removed for security)

    Code:
    php -q /home/xxxxxx/public_html/whmcs_dir/xxxxxx/domainsync.php
    the pignore says i have to use exe: can i do it without the exe:

  2. #2
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    looks like i need to go to manage shell access in my root whm

    yep thats why. i have my hosting domain set to disabled shell. so i guess now i need to change the package first then set it again.

  3. #3
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    well jailed shell does not work so ill try normal and see if that works. if not im not sure what to do..


    UPDATE nope that didnt work either... i have my hosting account set to normal shell, the package has shell on it. But csf is still blocking it. So now im lost as to what to do grrrr.
    Last edited by durangod; 08-17-2014 at 01:55 PM.

  4. #4
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    so now at least im getting a different report.

    now it just has a problem with /usr/bin/php

    and the tcp is my shared hosting ip

  5. #5
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    so i added exe:/usr/bin/php to pignore and its still showing as suspicious

  6. #6
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    I now have added

    Code:
    exe:/home/xxxxxx/public_html/xxxxxx/crons/domainsync.php
    /home/xxxxxx/public_html/xxxxxx/crons/domainsync.php
    cmd:/home/xxxxxx/public_html/xxxxxx/crons/domainsync.php
    exe:/usr/bin/php
    user:myusername
    to be sure i cover everything sintax, then i will now see if it works.

  7. #7
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    nope back to the drawing board. all my other crons run just fine, i cant figure out why not this one.. wierd...

  8. #8
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    its 100% csf thats blocking it, i disabled csf and it works perfect. The problem is that i dont know the right code to put into the pignore, everything i put does no good.. So im baffled on this one.

  9. #9
    Join Date
    Apr 2012
    Location
    United States
    Posts
    1,249
    got it.. the other syntax formats dont work, it has to be put into pignore using this format, and that goes for other whmcs crons as well.

    Code:
    cmd:php -q /home/username/public_html/whmcs_dir/crons/domainsync.php
    what i did was i put it in my pignore with and without the -q so both ways are covered.

Similar Threads

  1. Manual edit csf firewall csf.allow or csf.ignore?
    By hostyourdream in forum Hosting Software and Control Panels
    Replies: 8
    Last Post: 09-14-2015, 06:31 PM
  2. Replies: 4
    Last Post: 07-21-2014, 09:37 PM
  3. CSF Firewall: Edit csf.deny, the IP address deny file Currently:1000 permanent IP ban
    By crazyaboutlinux in forum Hosting Security and Technology
    Replies: 12
    Last Post: 02-09-2011, 02:08 AM
  4. CSF Firewall - blocking Google & MSN?
    By w0rmfood in forum Hosting Security and Technology
    Replies: 10
    Last Post: 10-23-2010, 12:25 AM
  5. CSF Firewall blocking FTP connections
    By myk8022 in forum Hosting Security and Technology
    Replies: 8
    Last Post: 07-11-2009, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •