Join the community 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 rdan, Mar 8, 2017.

  1. rdan

    rdan Premium Member Premium Member

    4,242
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    1:10 AM
    Mainline
    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

    35,394
    7,822
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,058
    Local Time:
    3:10 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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. rdan

    rdan Premium Member Premium Member

    4,242
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    1:10 AM
    Mainline
    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

    35,394
    7,822
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,058
    Local Time:
    3:10 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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. rdan

    rdan Premium Member Premium Member

    4,242
    1,033
    113
    May 25, 2014
    Ratings:
    +1,481
    Local Time:
    1:10 AM
    Mainline
    10.2
    Thanks :).
    I manually added all my backup server IP and Cloudflare also :).
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,394
    7,822
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,058
    Local Time:
    3:10 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    fyi, 123.09beta01 updated with fix :D
     
    • Like Like x 1
    • Informative Informative x 1
  7. eva2000

    eva2000 Administrator Staff Member

    35,394
    7,822
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,058
    Local Time:
    3:10 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
..