RSS

Optimization of a network stack on the MS Windows platforms with elements of protection against DoS.

17 Июл

It was checked on Windows 2000/XP/2003 with the last SP and above. Is subject continuation about a tyyuning of a network stack of the MS Windows platforms.
I suggest to add in the register of your workstation or the server (in this case it is necessary to understand for what you do it), the following keys of the register responsible for IPv4, but they can be applied and to IPv6:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AFD\Parameters]

“EnableDynamicBacklog”=dword:00000001

“MinimumDynamicBacklog”=dword:00000014

“MaximumDynamicBacklog”=dword:00004e20

“DynamicBacklogGrowthDelta”=dword:0000000a

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]

“ForwardBroadcasts”=dword:00000000

“IPEnableRouter”=dword:00000000

“UseDomainNameDevolution”=dword:00000000

“EnableICMPRedirect”=dword:00000000

“DeadGWDetectDefault”=dword:00000000

“DontAddDefaultGatewayDefault”=dword:00000000

“EnableWsd”=dword:00000001

“QualifyingDestinationThreshold”=dword:00000003

“SynAttackProtect”=dword:00000002

“TcpMaxHalfOpen”=dword:00000064

“TcpMaxHalfOpenRetried”=dword:00000050

“TcpMaxPortsExhausted”=dword:00000001

“TcpMaxConnectResponseRetransmissions”=dword:00000002

“EnableDeadGWDetect”=dword:00000000

“EnablePMTUDiscovery”=dword:00000000

“KeepAliveTime”=dword:000493e0

“EnableICMPRedirects”=dword:00000000

“EnableSecurityFilters”=dword:00000001

“DisableIPSourseRouting”=dword:00000002

“TcpMaxDataRetransmissions”=dword:00000003

“EnableDynamicBacklog”=dword:00000001

“MinimumDynamicBacklog”=dword:00000014

“MaximumDynamicBacklog”=dword:00004e20

“DynamicBacklogGrowthDelta”=dword:0000000a

“PerformRouterDiscovery”=dword:00000000

“EnableMulticastForwarding”=dword:00000000

“EnableAddrMaskReply”=dword:00000000

“TcpMaxDupAcks”=dword:00000002

“GlobalMaxTcpWindowSize”=dword:0000ffff

“SackOpts”=dword:00000001

“TcpUseRFC1122UrgentPointer”=dword:00000001

“IGMPLevel”=dword:00000000

“EnablePMTUBHDetect”=dword:00000000

“DefaultTTL”=dword:00000083

“DefaultTOS”=dword:0000000c

“UseZeroBroadcast”=dword:00000000

“TcpTimedWaitDelay”=dword:0000001e

“Tcp1323Opts”=dword:00000003

“PMTUBlackHoleDetect”=dword:00000000

“DefaultRcvWindow”=dword:00002000

“DeadGWDetect”=dword:00000000

“BSDUrgent”=dword:00000000

“DisableIPSourceRouting”=dword:00000001

“TcpWindowSize”=dword:00002238

Once again I pay your attention that this change of parameters of the register will give the maximum effect only at established last SP for MS Windows 2000/XP/2003. For MS Windows Vista/2008 SP existence any more doesn’t play a role since these platforms already have necessary functionality of a network stack. Also I pay attention that for servers, what are locks, the parameters responsible for routing for packages, it is not necessary to change. 🙂 Besides, we do not forget to disconnect not used services and network means through use of editing of local and group security policies that will in addition strengthen protection of resources of your servers and workstations. We do not forget about protection of services, a filtration of packages and isolation of domains (subnets/analogue of NAP in Windows 2008/).

More rigid rules are available to the platforms Unix, Linux, Mac OS on a filtration of packages, but, unfortunately, the MS Windows platforms also is still far to their functionality.
Information presented in this article, is collected on resource materials technet.microsoft.com. Descriptions of these or those specified parameters weren’t provided by me, knowing features of protocols of TCP/IP family and so it will be clear, instead of knowing подвигнет on further studying of this field of knowledge. To study when not late, isn’t that so?

This article will be useful to a wide range of experts, both beginning, and already having some experience.

At the publication of this article on foreign resources the direct reference on the primary source is obligatory.

Leave a comment

Advertisements
 

Метки: , , , , , ,

Обсуждение закрыто.