XPSP2 will limit your max. connections/sec


Recommended Posts

I suggest a mod close this topic.

First of all the title itself is incorrect.

Most people just read the title.

XP does not limit maximum connections

It only limits connection to a host which could not be connected to earlier.

This prevents programs from repeatedly trying to connect to hosts which do not exist -- behaviour you would see in spam clients or worms.

As does shareaza for me.

Don't complain that it's not an easy reg-key type fix; if it were, it could be easily circumvented by malware.

At any rate just be glad that joe user's infected trojan/worm factory will be that much slower at throwing out crap. I say good idea MS, but it does need to work around the P2P issue.

Yes, and I'm glad that people running tests using Kazaa (!) of all things are concerned about unlimiting their tcp/ip connections. Same people that are probably complaining about the Security Center, not using an antivirus, or any type of firewall.

I say let the P2P software makers become compliant to the new security features of SP2 if they need to, not lessen security with some half-ass hack using files from beta versions of service packs, just so you can download minutely faster...which has yet to be proven, because my bittorrent connection has been, if anything, more stable and *faster* since SP2.

I'd like to think I'm capable of handling how my system uses sockets enough to not have M$ act as a govt and simply limit the number of concurrent sockets in a supposed act of "security". There is NO security is limiting sockets in the TCP layer.

P2P apps rely heavily on multiple connections, as is the entire point of p2p in the first place. Limiting these connections will only hinder applications that use multiple sockets for its functionality as well as overall bandwith benefits of higher connection counts.

Asking software developers to "become compliant to the new security features of SP2" is the most rediculous comment I've heard so far. Well, at least second to the comment about how limiting user's capabilities in the name of security is a good thing. True, worms wont spread as fast as they are currently designed, but its not that hard to limit scanning to the "new super secure limited way" (see reducing 128 scan threads to 10 for example).

I feel M$ has no right to limit anything. I do somewhat understand why they would do it in terms of the fact that most people are complete idiots and have no idea what they're doing on their computer. It would save these kinds of people from hurting themselves, getting infected by viruses they wouldn't have gotten infected with if they had a bit of sense.

Not only does this restrict simply the number of connections, but you can kiss raw sockets goodbye. Remember creating/modifying those raw packets (for whatever reason) ? Forget it, because this limitation will remove the ability to do such things.

Its a new kiddie world, and everyone is invited to have their OS simplified and functionality limited because everyone is stupid.

After digging through MS's website a bit I found some more detailed info on the restrictions they put on raw sockets and how they limited the number of simultaneous incomplete outbound TCP connection attempts. Here's the link.

Restricted traffic over raw sockets

A very small number of Windows applications make use of raw IP sockets, which provide an industry-standard way for applications to create TCP/IP packets with fewer integrity and security checks by the TCP/IP stack. The Windows implementation of TCP/IP still supports receiving traffic on raw IP sockets. However, the ability to send traffic over raw sockets has been restricted in two ways:

- TCP data cannot be sent over raw sockets.

- UDP datagrams with invalid source addresses cannot be sent over raw sockets. The IP source address for any outgoing UDP datagram must exist on a network interface or the datagram is dropped.

Limited number of simultaneous incomplete outbound TCP connection attempts

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.

So basically it shouldn't matter that much for BitTorrent clients. Under certain circumstances it may take a bit longer to connect to seeds/peers but it shouldn't really block anything nor limit your download speed. I am not sure how this may interfere with other P2P protocols and Bittorrent trackers as I am not familiar with them, but I can imagine for clients/servers that _continiously_ have to connect to other hosts at a fast rate (and if some if these connections fail), this "queueing" of connection attempts could slow them down a lot. I can not provide a definitive answer for this, because it really depends on the rate at wich these queued connection attempts are being processed.

The restrictions in the use of raw sockets seems a very wise choice. A lot of DDoS attacks at the moment are being done by 'hordes' of machines infected with trojans that are basically sending out spoofed (fake, randomised source IPs) packets targeted at one, or a select group of hosts. With SP2 these packets will not be send. This means that these trojans used for DDoS attacks will have to revert to using non-spoofed packets, which makes it a lot easier to block a DDoS attack (kinda depends on how many machines are being used in a given attack). At the same time I realise that this restriction can be a real pain for network and security specialists.

Hope this helps.

Edited by Aphax
the least they could have done is made this patch just for Home edition and not Pro

Perhaps, but I think that all the "pro" users that for some reason need unrestricted access to raw sockets or be able to continiously open connections to hosts at a fast rate, will be able to install that fixed tcpip.sys. Personally I'd rather have it back as it was in SP1, but I can't blame MS for doing this. They've been under pressure to make Windows XP more secure, and at least by limiting the use of raw sockets, that's exactly what they've done.

but you can kiss raw sockets goodbye. Remember creating/modifying those raw packets (for whatever reason) ? Forget it, because this limitation will remove the ability to do such things.

Good, raw sockets should never have been implemented in the first place. That was a huge security mistake.

Just to clear up some confusion since this topic was recently linked to, the file in question from SP2 does NOT affect any P2P applications. It does not limit your max connections in any way at all, and thus will not affect you at all. Also, it does not affect any P2P applications. Me and many other users are unpatched and experience no difference, if you have an issue try disableing SP2's firewall.

See my post here for more info:

https://www.neowin.net/forum/index.php?show...#entry584348912

As does shareaza for me.

Don't complain that it's not an easy reg-key type fix; if it were, it could be easily circumvented by malware.

At any rate just be glad that joe user's infected trojan/worm factory will be that much slower at throwing out crap. I say good idea MS, but it does need to work around the P2P issue.

which version of Shareaza?

cause i needed to patch my Tcicp.sys file for it to even connect to the networks....

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I'm aware. That information should have been included in the article, making it more complete and information.
    • Converseen 0.15.2.5-2 by Razvan Serea Converseen is a free and open-source batch image converter and resizer. It supports over 100 formats, including DPX, EXR, GIF, JPEG, JPEG-2000, PNG, SVG, TIFF, WebP, HEIC/HEIF, and many others. Users can convert, resize, rotate, flip, and compress multiple images at once. It can also transform entire PDF documents into individual image files. Powered by the ImageMagick library, Converseen features a user-friendly interface and is available in both installer and portable versions. Here’s a list of all the features you can find in Converseen: Batch image conversion (supports 100+ formats) Resize images in bulk Rotate and flip images in bulk Compress images to reduce file size Convert entire PDF documents into image files Support for multiple image formats (JPEG, PNG, TIFF, PDF, BMP, GIF, and more) Customizable output settings (quality, resolution, etc.) Image effects and adjustments (such as brightness, contrast, etc.) Convert images to PDF User-friendly graphical interface Support for drag-and-drop functionality Extract an image from a Windows icon file (*ico) Supports adding watermark to images Portable and installer versions available Leverages ImageMagick for processing power Allows renaming of images in bulk Supports EXIF data editing (for JPEG images) Easy-to-use GUI for non-technical users Command-line support for advanced users Free and open-source software Cross-platform availability Available in multiple languages Download: Converseen 0.15.2.5-2 | Portable | 32-bit | ~40.0 MB (Open Source) View: Converseen Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Regarding the AI photo, I LOVE AI in that regard, you ask it what you want and it gives you a lovey photo in under a minute, that would taken me an hour to make in photoshop and it wouldn't have looked nearly as good. 2 nights ago I spent a couple hours collaborating with AI.  I did not say write me an article. I would write one or 2  paragraphs, then I would ask it to clean it up so it read better but still keeps the information I was trying to convey.  Rinse repeat.  
    • If anyone ever wondered about @Warwagon's MVP status, this is why. Excellent post!
  • Recent Achievements

    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
    • Rookie
      +ChiefOfNeo went up a rank
      Rookie
    • One Year In
      Tom Schmidt earned a badge
      One Year In
    • One Month Later
      Tom Schmidt earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      453
    2. 2
      +Edouard
      176
    3. 3
      PsYcHoKiLLa
      123
    4. 4
      Michael Scrip
      81
    5. 5
      Xenon
      75
  • Tell a friend

    Love Neowin? Tell a friend!