Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch fix sshd bug auto detecting non-default sshd port in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 9, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,189
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    3:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fix sshd bug auto detecting non-default sshd port in 123.09beta01

    you can detect if you're affected by this bug by running command and see if you have one entry with 2 commas with no value in between
    Code (Text):
    cat /etc/csf/csf.conf | grep TCP_IN | grep ,,
    

    Code (Text):
    cat /etc/csf/csf.conf | grep TCP_IN | grep ,,
    TCP_IN = "20,21,,25,53,80,110,143,161,443,465,587,993,995,1110,1186,1194,3000,3334,8080,8888,81,9312,9418,6081,6082,30865,30001:50011"
    

    if you do re-add the sshd port value to TCP_IN line so
    Code (Text):
    ,,

    becomes
    Code (Text):
    ,22,

    restart CSF Firewall
    Code (Text):
    csf -r


    Continue reading...


    123.09beta01 branch