All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeroen Roovers <jer@airfi.aero>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] dnsmasq: Disable CHAOS by default
Date: Thu,  5 Oct 2017 09:25:32 +0200	[thread overview]
Message-ID: <20171005072532.21720-1-jer@airfi.aero> (raw)

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)
-- 
2.14.2

             reply	other threads:[~2017-10-05  7:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05  7:25 Jeroen Roovers [this message]
2017-10-05 19:07 ` [Buildroot] [PATCH 2/2] dnsmasq: Disable CHAOS by default Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171005072532.21720-1-jer@airfi.aero \
    --to=jer@airfi.aero \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.