本页主题: [合并]关于 SP2 最大连接限制数的讨论 打印 | 加为IE收藏 | 复制链接 | 收藏主题 | 上一主题 | 下一主题

bbsriver
杀人游戏MVP勋章I 杀人游戏MVP勋章II
级别: 管理员


精华: 52
发帖: 17392
威望: 8730 点
金钱: 7074 静电币
支持度: 19101 点
在线时间:13725(小时)
注册时间:2002-11-21
最后登录:2016-12-22

 [合并]关于 SP2 最大连接限制数的讨论

因为几个会员的回帖过于分散,我重新把关于这一话题的内容都贴在这里。


Quote:
下面是引用meet2002于2004-08-29 8:25 AM发表的 [分享]突破SP2的最大连接数限制:
使用Windows XP + SP2 or Windows 2003者的福音!

以下是原文(英文),翻译:sos0716

Event ID 4226 Patcher
What's this all for?
After almost everybody knows the >, I used a day to create for educational purpose a fix for this argumentative feature.
Unfortunately there exists no REG-key which could easily be set (would be so nice and easy, right? *smile*). The file TCPIP.SYS in the directory C:\WINDOWS\SYSTEM32\DRIVERS and C:\WINDOWS\SERVICEPACKFILES\I386 has to be changed (system dependend eventually in C:\WINDOWS\SYSTEM32\DLLCACHE, too).


Needed things:
- Windows XP SP2 (from RC2 upwards) or Windows 2003 Server SP1 beta
- patcher (2.10a)
- a small amount of time

What's been done:
To say it easy: the before 10 half-open connections are beeing increased to 50 (can be changed with the parameter /L) and the CRC is been corrected. And that's it!
What exactly is changed (for build 2092-2180), can be read in the howto.

Comment:
The method described here, should only be used by users, who know how to handle all the described. With the download of the here published program the user know, that changes are made on third party files. For damages in every kind I cannot be hold responsible for. Indeed, tests worked fine here. However, nothing is impossible.
Inf When error occurs, the patcher can change the TCPIP.SYS back to the original!

Instruction:
Just download the patcher and execute it. It will automatically find the windows directory and ask, if it should increase/decrease. For higher values, please check the help with parameter /?.
After a successful patch, the new TCPIP.SYS will be automatically installed. After that, the computer should be restartet.

当几乎每个人都知道了“事件ID4226:TCP/IP已经达到了安全限制将影响TCP同时连接请求的数量”的时候,我花了一天时间为这个有争议的部分做了一个补丁。

很不幸没有找到可以设置的注册表键值(实际上网上最开始流传的新建TcpNumConnections修改后无效),文件TCPIP.SYS 已经被修改了,该文件在 C:\WINDOWS\SYSTEM32\DRIVERS C:\WINDOWS\SERVICEPACKFILES\I386,以及C:\WINDOWS\SYSTEM32\DLLCACHE(系统隐藏文件夹)。
需要如下步骤:
- XP SP2 RC1/RC2/RC2-2 (Build 2096/2149/2162/2180)
- patcher (2.10a)
- 少许时间
做了些什么:
简单点说:小于10个半打开的连接将会增加到50(后面有张图,是手动修改的,作者只是改到了50,他认为够了(which should be enough for heavy users and should be save enough agains worm spreading),在安全和连接数之间找了个平衡,呵呵,有兴趣的可以再改,改到和原来一样)。

建议:
介绍的方法,最好是那些熟悉怎么操作的用户使用。改变来自第三方的文件,我不承担后果等等。。。(不翻了,说重要的)
步骤:
把C:\WINDOWS\SYSTEM32\DRIVERS\TCPIP.SYS 复制到一个新文件夹,如c:\fix,把补丁也放到该文件夹,运行补丁,他会自动找到TCPIP.SYS打补丁,如果已经打过,它会问你是否还原(出了错就可以还原,呵呵)
重起,按F8进安全模式,把TCPIP.SYS复制到C:\WINDOWS\SYSTEM32\DRIVERS\、C:\WINDOWS\SERVICEPACKFILES\I386、C:\WINDOWS\SYSTEM32\DLLCACHE下替换原来的文件
重起,OK了

有提示,直接运行即可(因软件更新上面翻译可能有出入),下载觉得有用就请支持一下。
Posted: 2004-08-31 06:31 | [楼 主]
bbsriver
杀人游戏MVP勋章I 杀人游戏MVP勋章II
级别: 管理员


精华: 52
发帖: 17392
威望: 8730 点
金钱: 7074 静电币
支持度: 19101 点
在线时间:13725(小时)
注册时间:2002-11-21
最后登录:2016-12-22

 

Quote:
下面是引用okuni于2004-08-30 6:41 PM发表的 【辟谣】WinXP SP2 的所谓连接限制:
有人在 p2p 论坛上关于 system event id 4226 的讨论。还有人发布了补丁:


http://www.lvllord.de/

经我研究,报告如下:

1、用 TCPView 没有发现连接数减少,我的一个 emule 端口已建立连接数上百。
2、系统日志中的确有 4226 警告

TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts.

3、微软网站上说明:

SP2 Changes for Network Protection

引用:
Limited number of simultaneous incomplete outbound TCP connection attempts
Detailed description

The TCP/IP stack now limits the number of simultaneous incomplete outbound TCP connection attempts. After the limit has been reached, subsequent connection attempts are put in a queue and will be resolved at a fixed rate. Under normal operation, when applications are connecting to available hosts at valid IP addresses, no connection rate-limiting will occur. When it does occur, a new event, with ID 4226, appears in the system’s event log.

Why is this change important? What threats does it help mitigate?

This change helps to limit the speed at which malicious programs, such as viruses and worms, spread to uninfected computers. Malicious programs often attempt to reach uninfected computers by opening simultaneous connections to random IP addresses. Most of these random addresses result in a failed connection, so a burst of such activity on a computer is a signal that it may have been infected by a malicious program.

What works differently?

This change may cause certain security tools, such as port scanners, to run more slowly.

How do I resolve these issues?

Stop the application that is responsible for the failing connection attempts.



原来不是限制同一个端口上的连接数。这个改变只是延缓并发连接,目的在于防止 DDOS ,或者其它蠕虫病毒的攻击。

还好没打那个所谓的什么补丁。提醒大家切莫上当。
Posted: 2004-08-31 06:33 | 1 楼
bbsriver
杀人游戏MVP勋章I 杀人游戏MVP勋章II
级别: 管理员


精华: 52
发帖: 17392
威望: 8730 点
金钱: 7074 静电币
支持度: 19101 点
在线时间:13725(小时)
注册时间:2002-11-21
最后登录:2016-12-22

 

Quote:
下面是引用meet2002于2004-08-31 5:32 AM发表的 【关于】"【辟谣】WinXP SP2 的所谓连接限制 ":
呵呵,看来大家对这个问题还是比较关注的,多谢了,不过对于“【辟谣】WinXP SP2 的所谓连接限制”作者的见解则不敢苟同, 希望该作者应该多学学英文,并且多尝试一下,不要因为没遇到就说问题不存在,SP2的这个设置也是为安全起见,防止类似网络蠕虫等病毒的传播,但对于一些软件的正常应用也有限制:

我只注意了一下你引用的最后两句:
What works differently?

This change may cause certain security tools, such as port scanners, to run more slowly.

How do I resolve these issues?

Stop the application that is responsible for the failing connection attempts.

请仔细体会一下这两句,我发补丁(注:补丁不是我做的)也是为了大家方便(不是所有人都需要的),并且也是(应该是)国外电脑高手做的,因我经常用BT下载电影,装SP2后的确出现过问题,症状是:BT跑了一夜,结果早上起来一看没有链接速度,文件下载尺寸也没有增加,重启BT后又重新开始下载了;我根据该软件的默认值进行了文件修改后,没再出现类似情况。

请不要没有全面研究就下结论,这样不好,有误导作用喔 ,并且我以后也应该吸取教训,尽量发这种比较超前的帖子了,因你的标题太醒目了,有问题可以讨论,不应该一棒子把别人打死吧,即使Microsoft这个软件界的老大也不能这么做吧,伤心中ing……
Posted: 2004-08-31 06:35 | 2 楼
meet2002
级别: 骑士


精华: 0
发帖: 99
威望: 26 点
金钱: 247 静电币
支持度: 0 点
在线时间:0(小时)
注册时间:2004-03-31
最后登录:2005-03-25

 

bbsriver 动作好快呀,谢谢bbsriver 这种对技术负责和允许讨论的精神,支持……
╔╗*°?☆*°?☆╔╗╔╗*☆*°?☆
║║╔═╦╦╦═╗║╚╝╠═╦╦╗*
║╚╣║║║║╩╣╚╗╔╣║║║║☆
╚═╩═╩═╩═╝*╚╝╚═╩═╝°
Posted: 2004-08-31 06:41 | 3 楼
st0n3
级别: 嘉宾


精华: 4
发帖: 1869
威望: 908 点
金钱: 0 静电币
支持度: 52 点
在线时间:315(小时)
注册时间:2002-08-24
最后登录:2023-09-30

 

的确有问题!我扫描的时候,根本不行,sp2 对正在连接的连接数做了限制啦!
wh3n a 1itt1e b0y fa11  in l0v3 with a 10v31y 1ady...
Posted: 2004-09-12 17:33 | 4 楼
忧郁の蓝
狗群中的饿棍
级别: 贵宾


精华: 5
发帖: 2340
威望: 729 点
金钱: 2602 静电币
支持度: 173 点
在线时间:60(小时)
注册时间:2003-10-15
最后登录:2023-02-26

 

我进行了测试,在我的机器上,打不打补丁,4226照样出来,而且,前后我的下载没有明显的变化,
所以,我劝大家还是不要打的好!
Posted: 2004-10-12 11:26 | 5 楼
帖子浏览记录 版块浏览记录
狗狗静电BBS - wwW.DoGGiEhoMe.CoM » 电脑全方位 Computer Guide

沪ICP备05008186号
Powered by PHPWind Styled by MagiColor