From owner-freebsd-questions@FreeBSD.ORG Wed May 5 00:41:08 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7AE91065675 for ; Wed, 5 May 2010 00:41:08 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id B29588FC17 for ; Wed, 5 May 2010 00:41:08 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by hub.org (Postfix) with ESMTP id 44DA03455A72; Tue, 4 May 2010 21:41:07 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 48900-03; Wed, 5 May 2010 00:41:06 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id 1EAA33455A71; Tue, 4 May 2010 21:41:07 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id 1E47F3455A16; Tue, 4 May 2010 21:41:07 -0300 (ADT) Date: Tue, 4 May 2010 21:41:07 -0300 (ADT) From: "Marc G. Fournier" To: Fbsd1 In-Reply-To: Message-ID: References: <4BE03042.5010806@ipv6canada.com> <4BE0A341.1010207@a1poweruser.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "questions@freebsd.org" , Steve Bertrand Subject: Re: Addition to BSDstats X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 00:41:09 -0000 On Tue, 4 May 2010, Marc G. Fournier wrote: > On Wed, 5 May 2010, Fbsd1 wrote: > > Most odd ... what is in your /var/db/bsdstats file ... ? I've had no > reports of problems in many months now ... Don't worry about it, found and fixed that bug ... it had to do with trying to masquarade behind haproxy, so it looked like all systems were coming in from Panama if they were running the newest code ... which means alot of ppl out there were running *old* code ... Basically, by setting up haproxy to load balance, all IPs hitting the backend were, as mentioned before, masquaraded ... but, of course, that means that when Geo::IP trying to determine country of origin, it always reports for the country of origin of the haproxy IP (Panama) ... I've fix this ... still not recording IP, but at least the PHP script determing country basis it on the proper IP, not the haproxy IP ... No changes required on the client side, as things will normalize over the course of the next month as ppl report in ... If anyone on FreeBSD wishes to 'force an update': /usr/local/etc/periodic/monthly/300.statistics -nodelay will push it through ... ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. scrappy@hub.org http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org