Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 15:08:54 +0000
From:      "Richard P. Williamson" <richard.williamson@u4eatech.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Why does favicon.ico show as error in apache log
Message-ID:  <6.0.3.0.2.20040326145316.024ea3e8@cygnus>
In-Reply-To: <20040326143002.GC4741@ei.bzerk.org>
References:  <MIEPLLIBMLEEABPDBIEGGEILFKAA.Barbish3@adelphia.net> <02fa01c412e2$fb83bc40$6702a8c0@gato> <20040326143002.GC4741@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 14:30 26/03/2004, Ruben de Groot wrote:
>Or link favicon.ico to /dev/urandom to annoy IE users ;-)
>Just kidding.

Well, it isn't just IE that uses the favicon, as mozilla 
displays it also. 

Now, a favicon.ico is a 16pix x 16pix image in a certain 
format.  If you assume 16 bits per pixel, thats 512 bytes.
You could go up to 24 bits and still fit within a single 
packet.

So read in 512 bytes from /dev/urandom instead, and spoof 
the .ico image format around it, and output that instead.  Every 
user ends up with a different favicon in their browser 
window and you can claim 'well, it works for me, I don't 
know what /you/re talking about what do you /mean/ it looks 
like garbage?'

Hm.  Sounds like fun.  Once my laptop is back from the shop
(four motherboards and counting...), I might take a swing
at it.

rip 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.3.0.2.20040326145316.024ea3e8>