From patchwork Wed Jan 7 22:50:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Kruse X-Patchwork-Id: 427036 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C5DC8140188 for ; Fri, 9 Jan 2015 21:45:19 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id C7A2C283DDC; Fri, 9 Jan 2015 11:43:02 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 485EE283EE7 for ; Fri, 9 Jan 2015 11:42:54 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .sumpfralle. - helo: .mout.kundenserver. - helo-domain: .kundenserver.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=1; rate: -5.5 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 9 Jan 2015 11:42:51 +0100 (CET) Received: from erker.lan ([62.141.37.125]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MFbev-1Y3i2A31Hh-00Ec5i for ; Fri, 09 Jan 2015 11:44:59 +0100 Date: Wed, 7 Jan 2015 23:50:20 +0100 From: Lars Kruse To: openwrt-devel@lists.openwrt.org Message-ID: <20150107235020.160603a7@erker.lan> In-Reply-To: <54AA9B11.6030806@openwrt.org> References: <20141225014908.7ebf4d02@erker.lan> <54AA97F9.7060405@openwrt.org> <54AA9B11.6030806@openwrt.org> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; i586-pc-linux-gnu) MIME-Version: 1.0 Resent-Date: Fri, 9 Jan 2015 11:44:58 +0100 Resent-From: Lars Kruse Resent-Message-ID: <20150109114458.060c2f5e@erker.lan> Resent-To: openwrt-devel@lists.openwrt.org X-Provags-ID: V03:K0:RoELV6yhffLYEMpU9wacaII9Zqg99bAkyLbTBk5XJLqGdZQzL8B LMUHWqiA6MF+UW+WYKvLIDIo17GaByz2GDlGgbsV7fmBdBZ4WjCccvVT61097w4RhVPWR2I NuQuicA5pB1M5qV9xq8ASHViVbEWZYJFT129R3lvnOGlqSu30yyQU8t/ljsCx/8I0ZwbfP4 cppZDIrnX2Ack5JY5iD7Q== X-UI-Out-Filterresults: notjunk:1; Subject: Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses. Signed-off-by: Lars Kruse --- I created the above patch with quilt. Hopefully the format is suitable. --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -123,6 +123,7 @@ dnsmasq() { append_bool "$cfg" nonwildcard "--bind-interfaces" append_bool "$cfg" fqdn "--dhcp-fqdn" append_bool "$cfg" proxydnssec "--proxy-dnssec" + append_bool "$cfg" quiet_dhcp "--quiet-dhcp" append_parm "$cfg" dhcpscript "--dhcp-script" append_parm "$cfg" cachesize "--cache-size"