From owner-freebsd-questions@FreeBSD.ORG Mon Aug 14 20:35:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4F3B816A4DD for ; Mon, 14 Aug 2006 20:35:16 +0000 (UTC) (envelope-from cscotts@mindspring.com) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 84DED43D53 for ; Mon, 14 Aug 2006 20:35:15 +0000 (GMT) (envelope-from cscotts@mindspring.com) Received: (qmail 70578 invoked from network); 14 Aug 2006 20:35:14 -0000 Received: from unknown (HELO ?192.168.1.125?) (unknown) by unknown with SMTP; 14 Aug 2006 20:35:14 -0000 X-pair-Authenticated: 24.163.92.162 In-Reply-To: <20060814172750.I7522@ganymede.hub.org> References: <20060814100913.S7522@ganymede.hub.org> <200608141330.35085.lists@jnielsen.net> <20060814172750.I7522@ganymede.hub.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <597A6ADF-BC74-4313-97EA-6A95A9397A98@mindspring.com> Content-Transfer-Encoding: 7bit From: Scott Sipe Date: Mon, 14 Aug 2006 16:35:25 -0400 To: "Marc G. Fournier" X-Mailer: Apple Mail (2.750) Cc: freebsd-questions Subject: Re: BSDstats v3.0 - The Security Rewrite 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: Mon, 14 Aug 2006 20:35:16 -0000 On Aug 14, 2006, at 4:28 PM, Marc G. Fournier wrote: > On Mon, 14 Aug 2006, John Nielsen wrote: > >> This is great! >> >> Is the 15-minute first-time waiting period enforced on the server >> side? >> Obviously there's nothing to stop an administrator from editing >> the script >> locally.. > > It is enforced on the server side ... in fact, one person just > reported to me that they killed the script and re-ran it, and the > stats went through ... they didn't, the server side will reject the > submission until the first minute time has elapsed ... I've got > some ideas on how to better clean that up on the client side ... > This just happened to me as well--I installed the port, added lines to periodic.conf and manually ran: /usr/local/etc/periodic/monthly/300.statistics output as follows: # /usr/local/etc/periodic/monthly/300.statistics chown: /var/db/bsdstats: No such file or directory To protect against abuse, the initial challenge/response phase contains a 15 minute pause. Please be patient while this time limit elapses ^C # /usr/local/etc/periodic/monthly/300.statistics Posting monthly OS statistics to bsdstats.org Posting monthly device statistics to bsdstats.org Posting monthly CPU statistics to bsdstats.org I cancelled it to see why it showed the chown error. Scott