Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch update cminfo add syn command output in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 4, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    54,546
    12,221
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,790
    Local Time:
    4:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    update cminfo add syn command output in 140.00beta01

    - add syn command to cminfo command output to display a count of SYN_RECV connections and number of outgoing SYN-ACK packets
    - you can let centmin mod default cronjob script /usr/bin/cminfo_updater update itself every 4 hrs or manually run the command /usr/bin/cminfo_updater to update

    Code (Text):
    cminfo syn
    ------------------------------------------------------------------
    SYN Flood Report: SYN_RECV & Outgoing SYN-ACK Connections
    ------------------------------------------------------------------
    Number of SYN_RECV connections: 0
    No SYN-ACK packets captured in the last 10 seconds.
    ------------------------------------------------------------------



    • SYN_RECV - The output reports the current number of half-open TCP connections (in the SYN_RECV state), which could indicate either legitimate incoming connection attempts or a possible SYN flood attack targeting your server
    • SYN-ACK packets captured - The output shows the number of outgoing SYN-ACK packets captured within a specified period, which could reflect either normal TCP connection responses or an indication that your server is responding to spoofed SYN packets in a potential relay attack.

    Continue reading...


    140.00beta01 branch