Jump to content

Recommended Posts

Posted

This prevent a little Sync flood ...

 

 

//

 

@echo off
SetLocal EnableDelayedExpansion

echo Activate anti Sync Flood parameter...

pause >nul

reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v SynAttackProtect /t REG_DWORD /d 1


echo Increasing  'backlog queue' ...

pause >nul



reg add HKLM\System\CurrentControlSet\Services\AFD\Parameters /v EnableDynamicBacklog /t REG_DWORD /d 1

reg add HKLM\System\CurrentControlSet\Services\AFD\Parameters /v MinimumDynamicBacklog /t REG_DWORD /d 20

reg add HKLM\System\CurrentControlSet\Services\AFD\Parameters /v MaximumDynamicBacklog /t REG_DWORD /d 20000

reg add HKLM\System\CurrentControlSet\Services\AFD\Parameters /v DynamicBacklogGrowthDelta /t REG_DWORD /d 10
 

echo Decreasing standby connection time 'Half Open' ...

pause >nul



reg add HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters /v TcpMaxConnectResponseRetransmissions /t REG_DWORD /d 2

echo Reboot windows to take effect

pause >nul
 

Posted

intresting batch script, ive heard a win server os properly configured can be rock solid agianst ddos.

 

It won't be, it will reduce the resource usage, but it can still be knocked down... We aren't speaking about nix systems here unfortunately hehe.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...