From patchwork Thu Oct 5 07:25:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Roovers X-Patchwork-Id: 821633 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y747V4fDbz9t2Z for ; Thu, 5 Oct 2017 18:25:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6512D2E956; Thu, 5 Oct 2017 07:25:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BAJSZOpX-3Al; Thu, 5 Oct 2017 07:25:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 639F02637F; Thu, 5 Oct 2017 07:25:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B192C1C26F3 for ; Thu, 5 Oct 2017 07:25:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A1DB788BF3 for ; Thu, 5 Oct 2017 07:25:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uV6DxDyNaKgt for ; Thu, 5 Oct 2017 07:25:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5FC1B88BEB for ; Thu, 5 Oct 2017 07:25:51 +0000 (UTC) Received: from rej.jer ([212.238.182.54]) by smtp-cloud9.xs4all.net with ESMTPA id 00XPe0XP7nIXb00XVeMZTJ; Thu, 05 Oct 2017 09:25:49 +0200 From: Jeroen Roovers To: buildroot@buildroot.org Date: Thu, 5 Oct 2017 09:25:32 +0200 Message-Id: <20171005072532.21720-1-jer@airfi.aero> X-Mailer: git-send-email 2.14.2 X-CMAE-Envelope: MS4wfMVYuwFkfInpUM7sqSCr3ODde4LggQXhRDSC2U01Tut293OHt80A5u7y8cDkqOets1kVBlyxwmrxY4+QYabDLytKkegcVMr23JzHytNb2MMg4e4URAIz oaNJCuerA/WMPDiPhXvuI+4tC78/aXX9RtN+yiXQkrpZDuqGBFHw7fAb Subject: [Buildroot] [PATCH 2/2] dnsmasq: Disable CHAOS by default X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" dnsmasq exposes its version and some statistics through DNS, a features that is configurable only at build time and is enabled by default. --- package/dnsmasq/Config.in | 6 ++++++ package/dnsmasq/dnsmasq.mk | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/package/dnsmasq/Config.in b/package/dnsmasq/Config.in index 8921fc629d..ea733d964e 100644 --- a/package/dnsmasq/Config.in +++ b/package/dnsmasq/Config.in @@ -27,6 +27,12 @@ config BR2_PACKAGE_DNSMASQ_DNSSEC help Enable DNSSEC validation and caching support. +config BR2_PACKAGE_DNSMASQ_CHAOS + bool "Enable identification support" + default n + help + Report *.bind CHAOS info to clients. + config BR2_PACKAGE_DNSMASQ_IDN bool "IDN support" depends on BR2_USE_WCHAR diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk index 9f96030eb6..dd2b5eb615 100644 --- a/package/dnsmasq/dnsmasq.mk +++ b/package/dnsmasq/dnsmasq.mk @@ -30,6 +30,10 @@ ifneq ($(BR2_PACKAGE_DNSMASQ_TFTP),y) DNSMASQ_COPTS += -DNO_TFTP endif +ifneq ($(BR2_PACKAGE_DNSMASQ_CHAOS),y) +DNSMASQ_COPTS += -DNO_ID +endif + # NLS requires IDN so only enable it (i18n) when IDN is true ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y) DNSMASQ_DEPENDENCIES += libidn $(TARGET_NLS_DEPENDENCIES)