Notable Changes in Windows Server 2008 SP2 and Windows Vista SP2 提到關於 Vista Service Pack 2 的一些更新,其中說 “SP2 adds a registry key that enables modification of the maximum number of open TCP connections to increase application compatibility.”

自 Windows XP 以來,為了安全的理由,Windows 限制了 maximum half-open TCP 的數目(避免瞬間建立的連線過多,以防止系統遭到阻斷式攻擊,或是被當作跳板攻擊其他的電腦),雖然有 3rd party 提供各式的修改方式,例如 TCP-Z,總是不如正式的方法好,Vista SP2 終於可以修改同時生成未完成的 TCP 連線數目。

方法是:
在機碼
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
下新增一個新的DWORD值,名為TcpNumConnections,填入你要的值。

可是如此一來,當初的安全目的哪去了,用戶可以修改這個值,病毒或後門程式當然也可以改…

PS. Vista SP2 到目前為止雖然已經出了 RTM 版,但還沒有正式發行。使用 BitTorrent 可以用下面的 torrent 下載 Vista SP2。
32-bit (x86) Windows Vista and Server 2008 SP2 RTM
版本: 6002.18005
大小: 475.67 MB
BT Torrent: Windows6.0-KB948465-X86.torrent

64-bit (x64) Windows Vista and Server 2008 SP2 RTM
版本: 6002.18005
大小: 745.67 MB
BT Torrent: Windows6.0-KB948465-X64.torrent