批处理提高计算机对DDOS的防御程度

@echo off
echo Windows Registry Editor Version 5.00 >temp.reg
echo.
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] >>temp.reg
echo "EnableICMPRedirect"=dword:00000000 >>temp.reg
echo "DeadGWDetectDefault"=dword:00000001 >>temp.reg
echo "DontAddDefaultGatewayDefault"=dword:00000000 >>temp.reg
echo "EnableSecurityFilters"=dword:00000001 >>temp.reg
echo "AllowUnqualifiedQuery"=dword:00000000 >>temp.reg
echo "PrioritizeRecordData"=dword:00000001 >>temp.reg
echo "ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,00,00,00,00 >>temp.reg
echo "SynAttackProtect"=dword:00000002 >>temp.reg
echo "EnablePMTUDiscovery"=dword:00000000 >>temp.reg
echo "NoNameReleaseOnDemand"=dword:00000001 >>temp.reg
echo "EnableDeadGWDetect"=dword:00000000 >>temp.reg
echo "KeepAliveTime"=dword:00000BB8 >>temp.reg
echo "PerformRouterDiscovery"=dword:00000000 >>temp.reg
echo 成功增强了系统对抗DDOS的攻击能力
regedit /s temp.reg
del /q /f temp.reg >nul

pause
 



文章来自: 本站原创
Tags:
评论: 0 | 查看次数: 8696