From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 07:05:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D39EA16A4CE for ; Fri, 26 Mar 2004 07:05:54 -0800 (PST) Received: from mail.u4eatech.com (blackhole.u4eatech.com [195.188.241.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EBA043D46 for ; Fri, 26 Mar 2004 07:05:54 -0800 (PST) (envelope-from richard.williamson@u4eatech.com) Received: (from filter@localhost) by mail.u4eatech.com (8.11.6/8.11.6) id i2QF5rK31739 for freebsd-questions@freebsd.org; Fri, 26 Mar 2004 15:05:53 GMT X-Authentication-Warning: mail.u4eatech.com: filter set sender to richard.williamson@u4eatech.com using -f Received: from apus.u4eatech.com (unknown [172.30.20.100]) by mail.u4eatech.com (Postfix) with ESMTP id 6C6EB1577D4 for ; Fri, 26 Mar 2004 15:05:41 +0000 (GMT) Message-Id: <6.0.3.0.2.20040326145316.024ea3e8@cygnus> X-Sender: richard@cygnus X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Fri, 26 Mar 2004 15:08:54 +0000 To: freebsd-questions@freebsd.org From: "Richard P. Williamson" In-Reply-To: <20040326143002.GC4741@ei.bzerk.org> References: <02fa01c412e2$fb83bc40$6702a8c0@gato> <20040326143002.GC4741@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-6.3 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: Why does favicon.ico show as error in apache log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 15:05:54 -0000 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