From: Antony Stone Subject: Re: redirecting Date: Thu, 1 Jul 2004 14:08:16 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200407011408.16253.Antony@Soft-Solutions.co.uk> References: <200407011305.17055.Antony@Soft-Solutions.co.uk> <20040701122957.GR22148@home.manuelm.org> Reply-To: netfilter Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20040701122957.GR22148@home.manuelm.org> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter On Thursday 01 July 2004 1:29 pm, Frank Gruellich wrote: > This would not be a problem, because the whole 207.46.0.0/16 belongs to > Microsoft, so IP_OF_MS="207.46.0.0/16" should work, but... Hm - good point; I hadn't thought of matching on the entire Class B subnet just to redirect a website :) > The webserver of www.linuxiso.org seems to use virtual hosts. The > HTTP-request contains the host-part of the URL. So this server tries to > find a virtual host called www.microsoft.com, fails and sends an error. > No, netfilter can't change this. I dunno if squid can. Squid can. Antony. -- Microsoft may sell more software than any other company, but McDonald's sell more burgers than any other company, and I think the other similarities are obvious... Please reply to the list; please don't CC me.