From patchwork Thu Dec 25 00:49:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Kruse X-Patchwork-Id: 424011 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 02FB014009B for ; Thu, 25 Dec 2014 11:49:25 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 3B4B628741D; Thu, 25 Dec 2014 01:47:22 +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 30543284610 for ; Thu, 25 Dec 2014 01:47:17 +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.126.131]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 25 Dec 2014 01:47:16 +0100 (CET) Received: from erker.lan ([5.45.103.5]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0LqYLt-1XQBx30OsT-00e4Ol for ; Thu, 25 Dec 2014 01:49:12 +0100 Date: Thu, 25 Dec 2014 01:49:08 +0100 From: Lars Kruse To: OpenWrt Development List Message-ID: <20141225014908.7ebf4d02@erker.lan> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; i586-pc-linux-gnu) MIME-Version: 1.0 X-Provags-ID: V03:K0:0v51w0ZvqqxzSmfStmSmx37TPpTCQZ2tOCIWu3+K5hU2gnEFspl 43rNPNcVpPIFWNDVqweAFJE+a7aMUfAM6YhazR5SqYw3FZ4JVHWJJsi8ZviMFgN5j+RXbn4 ttbUdHvKRH2lMEkURPsOGvwb+oF5tsmIG6nUTCv8RhZ0r5I8cMj0GytndEBvt8uYCdeILdS px8VJeoKEbcYuU2E3dJyA== X-UI-Out-Filterresults: notjunk:1; Subject: [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" Hi, dnsmasq supports an option "--quiet-dhcp" in order to remove DHCP log messages from the system log. We would like to use this option in our wireless community in order to reduce the amount of private data (MAC addresses) exposed in the logs. cheers, Lars Description: add --quiet-dhcp option for dnsmasq (usable via "quiet_dhcp" in UCI) This reduces the amount of private information (MAC addresses) being logged. Signed-off-by: Lars Kruse --- -- --- a/openwrt/package/network/services/dnsmasq/files/dnsmasq.init +++ b/openwrt/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"