Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 39562 invoked from network); 2 Jul 2010 12:41:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 12:41:24 -0000 Received: (qmail 28577 invoked by uid 500); 2 Jul 2010 12:41:24 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 28057 invoked by uid 500); 2 Jul 2010 12:41:21 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 28048 invoked by uid 99); 2 Jul 2010 12:41:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 12:41:20 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Jacob.Scott@morganstanley.com designates 205.228.53.68 as permitted sender) Received: from [205.228.53.68] (HELO hqmtaint01.ms.com) (205.228.53.68) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 12:41:13 +0000 Received: from hqmtaint01 (localhost.ms.com [127.0.0.1]) by hqmtaint01.ms.com (output Postfix) with ESMTP id 1A7F65047E7 for ; Fri, 2 Jul 2010 08:40:23 -0400 (EDT) Received: from lnncas01 (lnncas01.ms.com [10.173.23.239]) by hqmtaint01.ms.com (internal Postfix) with ESMTP id E04835047DF for ; Fri, 2 Jul 2010 08:40:22 -0400 (EDT) Received: from oy805c1n5 (localhost [127.0.0.1]) by lnncas01 (msa-out Postfix) with ESMTP id 8F4524000E for ; Fri, 2 Jul 2010 13:40:22 +0100 (BST) Received: from asbo (unknown [172.24.10.154]) by lnncas01 (msa-in Postfix) with ESMTP id 70D691D4002 for ; Fri, 2 Jul 2010 13:40:22 +0100 (BST) Date: Fri, 2 Jul 2010 13:40:22 +0100 (BST) From: Jake Scott X-X-Sender: jascott@asbo To: "dev@httpd.apache.org" Subject: Re: Code submissions: log rotation module In-Reply-To: <20100702123555.0bfa74b5@baldur> Message-ID: References: <20100702123555.0bfa74b5@baldur> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.35/RELEASE, bases: 02072010 #4008766, status: clean X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the comments Nick. We are happy to release this code under the Apache licence, appologies - should have been clear about that initally. Regarding the security review, I agree that's a wise move. We haven't run it sandboxed. If you have some suggestions re. security testing we'd be pleased to hear them. Regards Jake On Fri, 2 Jul 2010, Nick Kew wrote: > On Fri, 2 Jul 2010 11:31:52 +0100 (BST) > Jake Scott wrote: > >> Hi apache-dev >> >> We have developed a module for Apache 2.2+ that handles log rotation >> automatically. We would like to submit the code for review and possible >> inclusion in a future version of the httpd product. > > First glance: looks interesting - thanks for sharing (though strictly > speaking, in the absence of a license you've only shared in a limited way). > > As regards inclusion in a future release, I'm undecided whether I'd > support that (I won't stand in the way of it if there's a consensus > in favour). Couple of points: > - Since it uses the monitor hook and run as root, we'll need extra-vigilant > security review. Have you run it in a sandbox (zone, jail, chroot, ???)? > - Some trivial style fixes and clean compilation would be good. > > If your powers-that-be are happy with it, I'd suggest you start by > publishing what you have under the Apache license (and advertising > it in places like modules.apache.org) for users of 2.2. > > If there's support for including it in a future release, you should target > svn trunk for 2.4. This would be an opportunity to take advantage of the > APR features you found, as well as the monitor hook including a server_rec. > >