How to make Firefox infinite loop

| TrackBacks (13) |
I just tried to dereference and was treated to Firefox printing "waiting for" over and over. A little bit of protocol debugging clears up what's going on. Here's the HTTP request captured from the network:
New TCP connection #17: <->

GET / HTTP/1.1
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050508 Firefox/1.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive is CNAMED to, so we connect there and ask for in the Host header. But I typed in, so why did we get Well, let's try dig...

[34] dig

; <<>> DiG 9.3.0 <<>>
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47778
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;                   IN      A

;; AUTHORITY SECTION:            705     IN      SOA 2005051701 7200 3600 604800 3600

;; Query time: 12 msec
;; WHEN: Fri Jun 10 12:40:25 2005
;; MSG SIZE  rcvd: 94

Now things become clear: there's no IP address available for, so Firefox tries prepending a www. to the front, in case I mistyped. There is an IP address for that:

[35] dig

; <<>> DiG 9.3.0 <<>>
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12134
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 6, ADDITIONAL: 7

;               IN      A

;; ANSWER SECTION:        553     IN      CNAME  1291    IN      A

So, we connect to, and ask for, which brings us back to the request at the top. Here's the response:

HTTP/1.1 302 Found
Date: Fri, 10 Jun 2005 17:55:04 GMT
Server: Apache/2.0.46 (Red Hat)
Content-Length: 287
Content-Type: text/html; charset=iso-8859-1
Via: 1.1 Application and Content Networking System Software 5.1.13
Connection: Close

<title>302 Found</title>
<p>The document has moved <a href="">here</a>.</p>
<hr />
<address>Apache/2.0.46 (Red Hat) Server at Port 80</address>

Unfortunately, this response is a redirect to, so we go back to the beginning of the cycle, resulting in an infinite loop.

What we've got here is an interaction of DNS misconfiguration and a browser bug. Note that connecting to and providing a Host header for works fine.

13 TrackBacks

Listed below are links to blogs that reference this entry: How to make Firefox infinite loop.

TrackBack URL for this entry:

Heise berichtete vor kurzem über eine Möglichkeit, einen Windows-Bluescreen zu erzeugen. Wenn er einen Imagetag mit großer Breite und Höhe vorfindet, allokiert er einfach erstmal Speicher. Irgendwann ist der dann verbraucht und der Bluescreen erschein... Read More

bikini bottom pics from on July 25, 2005 8:45 AM

bikini contests hot bikinis bikini mom bikini webshots micro mini sheer bikini angelina jolie in bikini mens bikini bathing suits sable in bikini contest olsen twins in a bikini bikini babe of the day asian bikini 15 year old bikini Read More

tattoo flash from tattoo flash on August 15, 2005 8:09 AM

tattoo flash Read More

texas hold em news from texas hold em news on October 28, 2005 8:33 AM

In your free time, take a look at some helpful info about buy em free hold in texas Read More

Please take a look at some relevant information in the field of 999 Read More

How to make Firefox in... Read More

texas holdem poker from texas holdem poker on December 7, 2005 12:19 PM

violent writhing corroborating Kansas?cringes poker odds Read More

Snuff clips free from Moms fucking they sons on December 23, 2005 6:10 AM

Indian animal sex videos Animal fucking girlfree Torture pussy picture Young teen girls getting rap... Read More