Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Perhaps why IE on a PC seems fast

Perhaps why IE on a PC seems fast
Thread Tools
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Jan 5, 2003, 06:42 PM
 
     
Senior User
Join Date: Dec 2001
Status: Offline
Reply With Quote
Jan 5, 2003, 06:47 PM
 
d00p!

Maybe the reason you didn't see that thread is because your OS X browsing experience is so slow?
"Think Different. Like The Rest Of Us."

iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 5, 2003, 08:05 PM
 
Maybe that's a bunk theory, and if you read the slashdottery about it, you'll notice that it's based on 2 or 3 year old data (IE 3??) and that it's basically adhering to the idea of HTTP Pipelining and HTTP Stay-Alive. Which is something that nearly all browsers use now-a-days. Thanks for the Troll...
www.JustinAugust.com
i'm a magic dream haver
i'm abracadaver
     
Professional Poster
Join Date: Mar 2000
Location: New York, NY, USA
Status: Offline
Reply With Quote
Jan 5, 2003, 08:37 PM
 
From the other thread on the same topic:

This has nothing to do with Keep-Alive. This is a blatant disregard of the TCP/IP protocol at the cost of security.

Keep-Alive establishes a normal connection to the web server and keeps it open for subsequent requests (such as images, stylesheets, etc.).

WinIE bypasses the normal TCP/IP connection procedure, which is to send a SYN (synchronization) packet, then wait for a SYN response and ACK (acknowledgment) packet. This is how all TCP/IP connections are established. What WinIE does is to immediately send out a HTTP request, without establishing a valid connection of any kind, and wait for either a) a response, b) an error message, or c) a connection timeout. If it doesn't get a response, or times out, it tries again the "legal" way.

Of course, all Microsoft server products respond perfectly to to this "illegal" form of HTTP request. All other operating systems drop the packet and either send an error message, or better yet, simply act like nothing happened. Either way, the packet never makes it to userspace. If an error is sent, the connection still seems relatively quick, otherwise, pageloads slow to a crawl waiting for timeouts.

Basically what a SYN packet does is create a short-term agreement between two hosts on a "magic number" that will be attached to every subsequent packet that is considered part of that connection. The main problem here is that without the SYN and ACK packets (required by the TCP/IP specs), it is trivially easy to spoof the network address of any packet. This is why any good TCP/IP stack will completely ignore any packets which have not been SYN'd and ACK'd.

Since Microsoft's TCP/IP stack obviously passes these (and other) malformed packets on to whatever application is listening for them, it should become quite clear how Microsoft has sacrificed security for perceived performance.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:58 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2