Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache SYN Flood Attack

Discussion in 'Security' started by HaMeD0070, Apr 22, 2019.

  1. HaMeD0070

    HaMeD0070 Registered

    Joined:
    Apr 22, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Website Owner
    Hello, my server is under SYN Floods Attacks.
    There is many R ( Request Reading ) Proccess in apache Status. i searched the web and found a solution :

    Add this commamds in on /etc/sysctl.conf

    net.ipv4.tcp_fin_timeout = 30
    net.ipv4.tcp_tw_recycle = 1
    net.ipv4.tcp_tw_reuse = 1
    net.ipv4.tcp_syncookies = 1
    net.ipv4.tcp_max_syn_backlog = 2048
    net.ipv4.tcp_synack_retries = 3

    is these commands safe for cpanel and cloudlinux 7 enviroment ? can they cause any problem ?

    Best Regards

    i dont want cpanel / cloudlinux enviroment like updates , ... get problems with this change.
     
    #1 HaMeD0070, Apr 22, 2019
    Last edited by a moderator: Apr 22, 2019
  2. HaMeD0070

    HaMeD0070 Registered

    Joined:
    Apr 22, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Website Owner
    any help ? i need to stop SYN Attack
    Best Regards
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,826
    Likes Received:
    475
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you have CSF installed? It has SYN Flood protection built into it. Assuming you do, check your settings for this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. HaMeD0070

    HaMeD0070 Registered

    Joined:
    Apr 22, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Website Owner
    Hello Infopro,
    Thank you.

    Yes i installed CSF And SYN Flood Protect Enabeld. But Yet many R REQUEST Reading ( TIME WAIT ) Process Exist in Apache Status.
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,734
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    They should be though, I can't tell you if they will be on your system specifically. You may want to check in with CSF to find what they recommend for configuring this: ConfigServer Community Forum - Index page
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice