Learn about Centmin Mod LEMP Stack today
Register Now

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

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    6:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

     
    • Like Like x 1