如何在Windows Server 2008 r2 std(x64)上关闭拒绝服务保护? [英] how to turn off denial of service protect on windows server 2008 r2 std (x64)?

查看:169
本文介绍了如何在Windows Server 2008 r2 std(x64)上关闭拒绝服务保护?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过多次连接来检查我的服务器程序的性能。

我尝试通过tcp / ip socket连接到Windows Server 2008。 (一个毫插槽,也禁用防火墙 )

但是所有大多数连接失败(0x1225错误)因为Windows Server 2008有一个拒绝服务保护系统。

我可以在Windows Server 2008 r2 std(x64)上找不到拒绝服务保护。

如果你有解决方案。给我一个帮助。

解决方案



试试这个可以帮助你,


Windows 2000及更高版本的操作系统支持文件使用直接托管在TCP(TCP / UDP端口445)上的服务器消息块(SMB)协议共享流量。在早期的操作系统中,SMB流量需要NetBIOS over TCP协议才能在TCP / IP传输上工作。


< span style ="font-family:'Verdana','sans-serif'; font-size:10pt">


TCP上的NetBIOS传统上使用以下端口:


< p class = MsoNormal style ="margin:0in 0in 0pt">


nbname 137 / UDP



nbname 137 / TCP



nbdatagram 138 / UDP



nbsession 139 / TCP



如果两个SMB(直接托管) )和NetBIOS在服务器上启用TCP(NBT接口),同时尝试这两种方法,并使用第一个响应方法。如果Nbtns首先做出反应并且客户端通过NETBIOS 137连接到服务器,如果SMB首先做出反应并且客户端通过445连接到服务器。



从症状来看,很可能一切都适用于TCP上的NetBIOS ,但不是通过TCP / IP直接托管SMB





默认情况下,基于Windows Server 2008的计算机应该能够使用SMB直接托管(TCP 445)



请检查以下注册表设置的值禁用SMB直接托管:



1。启动注册表编辑器



2。找到并单击以下注册表项:



HKEY_LOCAL_MACHINE \System\CurrentControlSet \Services\NetBT \Parameters



3。请检查以下注册表值是否存在。如果是,请确保其值为1.如果不是,则默认启用。



值名称:SmbDeviceEnabled


类型:REG_DWORD


数值数据:1(启用)



名称:TransportBindName


类型:REGSZ


< span style ="font-family:'Verdana','sans-serif'; font-size:10pt">值:\Device



4。重新启动服务器以再次测试。




之后,请重新启动客户端以尝试通过SMB 445连接Windows Server 2003文件服务器。

此外,请禁用然后再启用 Microsoft网络文件和打印机共享进行测试。



如果问题仍然存在,请收集以下信息:



1。是否所有Windows Server 2008服务器或其中一些服务器上都存在此问题?



2。请收集Windows 2008服务器的MPSReport。



MPS报告



< span style ="font-family:'Verdana','sans-serif'; font-size:10pt"> a。从以下网站下载适当的MPS报告工具。



Microsoft产品支持报告


<跨度> http://www.microsoft.com/downloads/details.aspx?FamilyID=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0& displaylang = en



<跨度>湾双击运行它,如果不满足要求,请按照向导下载并安装它们。之后,当"选择要运行的诊断"时,单击"下一步"。出现页面,选择"常规",然后单击"下一步"。



c。收集所有日志文件后,选择"保存结果",选择要保存的文件夹< Computername> MPSReports.cab文件。



d。请使用Windows Live SkyDrive( http://www.skydrive .live.com / )上传文件,然后给我们下载地址。


< p class = MsoNormal style ="margin:0in 0in 0pt">


<跨度> 3。从Windows Server 2003客户端和Windows Server 2008服务器客户端分别连接时,请收集网络监视器跟踪。




< span style ="font-family:'Verdana','sans-serif'; font-size:10pt"> 欲了解更多信息,请参阅:



通过TCP / IP直接托管SMB


< span style ="font-family:'Verdana','sans-serif';颜色:#1f497d; font-size:10pt"> <温泉n> http://support.microsoft.com/kb/204279



解决方案2:


避免TCP / IP端口耗尽


i wanna check performance my server program by many connect.

i try to connect to windows server 2008 by tcp/ip socket. ( one millon socket, also disabled firewall )

but all most failured connection (0x1225 error) because windows server 2008 had a denial of service protect system.

i can't find turn off denial of service protect on windows server 2008 r2 std (x64).

if you have a solution. give me a help.

解决方案

Hi,

try this one it may help you,

 Windows 2000 and later OS support file sharing traffic by using the Server Message Block (SMB) protocol directly hosted on TCP (TCP/UDP port 445). In earlier operating systems, SMB traffic requires the NetBIOS over TCP protocol to work on a TCP/IP transport.

 

NetBIOS over TCP traditionally uses the following ports:    

 

nbname            137/UDP

 

nbname            137/TCP

 

nbdatagram       138/UDP

 

nbsession          139/TCP

 

If both the SMB (direct-hosted) and NetBIOS over TCP (NBT interfaces) are enabled on the server, both methods are tried at the same time, and the first to respond is used. If the Nbtns firstly react and the client connect to server via NETBIOS 137, if the SMB first react and the client connect to server via 445.  

 

From the symptoms, it is very likely everything works with the NetBIOS over TCP, but not Direct Hosting of SMB over TCP/IP

 


By default, Windows Server 2008 based computer should be able to use SMB direct hosting (TCP 445)

 

Please check whether the following registry value is set which disables SMB direct hosting:

 

1. Start Registry Editor.

 

2. Locate and then click the following registry key:

 

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NetBT\Parameters

 

3. Please check whether the following registry value exists. If so, please ensure its value is 1. If not, it is enabled by default.

 

Value Name : SmbDeviceEnabled

Type : REG_DWORD

Value Data : 1 (enabled)

 

Name: TransportBindName

Type: REGSZ

Value: \Device

 

4. Reboot the server to test again.

 


Afterwards, please reboot the client for a try to see if it will connect the Windows Server 2003 file server via SMB 445.

In addition, please disable and then enable the File and Printer Sharing for Microsoft Networks to test again.

 

If the problem continues, please collect the following information:

 

1. Does this issue exist on all Windows Server 2008 servers or just some of them?

 

2. Please collect the MPSReport of the Windows 2008 server.

 

MPS report

 

a. Download proper MPS Report tool from the website below.

 

Microsoft Product Support Reports

http://www.microsoft.com/downloads/details.aspx?FamilyID=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0&displaylang=en

 

b. Double-click to run it, if requirement is not met, please follow the wizard to download and install them. After that, click Next, when the "Select the diagnostics you want to run" page appears, select "General", click Next.

 

c. After collecting all log files, choose "Save the results", choose a folder to save <Computername>MPSReports.cab file.

 

d. Please use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the file and then give us the download address.

 

3. Please collect the Network Monitor traces when you connect from Windows Server 2003 client and Windows Server 2008 server client respectively.

 

 

For more information, please refer to:

 

Direct hosting of SMB over TCP/IP

http://support.microsoft.com/kb/204279


Solution 2:

Avoiding TCP/IP Port Exhaustion


这篇关于如何在Windows Server 2008 r2 std(x64)上关闭拒绝服务保护?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆