How to optimize Plesk for Linux for against a SYN-Flood attack

Follow

Comments

2 comments

  • Avatar
    Sid (Edited )

    Under vz7 this does not work in a container.

    # sysctl -p
    sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: No such file or directory
    sysctl: cannot stat /proc/sys/net/ipv4/tcp_fin_timeout: No such file or directory
    sysctl: cannot stat /proc/sys/net/ipv4/tcp_window_scaling: No such file or directory
    sysctl: cannot stat /proc/sys/net/ipv4/tcp_sack: No such file or directory

  • Avatar
    Nikita Nikushkin

    Hi @Sid,

    I suppose, your kernel has no enabled "tcp_syncookies", "tcp_fin_timeout", "tcp_window_scaling" and "tcp_sack" support

    Thus, the mentioned files are not present in the "/proc/sys/net/ipv4" folder and thus you are unable to manage them

    Please note that the provided solution is valid if the mentioned modules are already loaded and available for managing 

Please sign in to leave a comment.

Have more questions? Submit a request