Learn about Centmin Mod LEMP Stack today
Become a Member

[Solved] There must be a bug on the latest beta, in particular to CSF.IGNORE

Discussion in 'Bug Reports' started by RoldanLT, Mar 8, 2017.

  1. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    8:14 AM
    1.11
    10.2
    Default File Content:
    upload_2017-3-8_2-55-0.png

    I just remove my own IP.
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    what do you mean ? centmin mod on initial install will auto insert your ISP detected ip into /etc/csf/csf.ignore to whitelist your ownISP ip address from CSF Firewall
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    8:14 AM
    1.11
    10.2
    As you can see on the screenshot, installer must auto add all Cloudflare IP the same as CSF.ALLOW.
    But for CSF.IGNORE file only ip word is inserted.
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah i see that now.. thanks will check it out :)

    you can remove those ip entries using command
    Code (Text):
    sed -i '/^ip/d' /etc/csf/csf.ignore  
    
     
    • Useful Useful x 1
  5. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    8:14 AM
    1.11
    10.2
    Thanks :).
    I manually added all my backup server IP and Cloudflare also :).
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    fyi, 123.09beta01 updated with fix :D
     
    • Like Like x 1
    • Informative Informative x 1
  7. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:14 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah yes tools/csfcf.sh skips add cloudflare ips to csf.ignore if the ip is already in csf.allow as it assumes it was already added. Guess i might need to double check to see if the ip address is in csf.ignore too

    edit: updated 123.09beta01 tools/csfcf.sh for this too :D
     
    • Like Like x 3