NetBSD Problem Report #52839
From www@NetBSD.org Mon Dec 18 16:50:48 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 518037A103
for <gnats-bugs@gnats.NetBSD.org>; Mon, 18 Dec 2017 16:50:48 +0000 (UTC)
Message-Id: <20171218165041.A81FA7A1E5@mollari.NetBSD.org>
Date: Mon, 18 Dec 2017 16:50:41 +0000 (UTC)
From: izaac@setec.org
Reply-To: izaac@setec.org
To: gnats-bugs@NetBSD.org
Subject: feature path: add "filter-aaaa" option to bind910
X-Send-Pr-Version: www-1.0
>Number: 52839
>Category: pkg
>Synopsis: feature path: add "filter-aaaa" option to bind910
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 18 16:55:00 +0000 2017
>Originator: Izaac
>Release: -current
>Organization:
>Environment:
>Description:
The filter-aaaa option is, unfortunately, useful for sites trying to "fix" (in the way one may control the pet population) DNS issues for users. E.g. attempting to get to Netflix over a Hurricane Electric (HE) ipv6 tunnel.
>How-To-Repeat:
>Fix:
$ cvs diff -u net/bind910
cvs diff: Diffing net/bind910
Index: net/bind910/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/net/bind910/options.mk,v
retrieving revision 1.3
diff -u -r1.3 options.mk
--- net/bind910/options.mk 2 May 2016 13:27:57 -0000 1.3
+++ net/bind910/options.mk 18 Dec 2017 16:46:44 -0000
@@ -4,7 +4,7 @@
PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
PKG_SUPPORTED_OPTIONS+= bind-json-statistics-server
PKG_SUPPORTED_OPTIONS+= inet6 threads readline mysql pgsql ldap dlz-filesystem
-PKG_SUPPORTED_OPTIONS+= fetchlimit geoip pkcs11 sit tuning
+PKG_SUPPORTED_OPTIONS+= fetchlimit geoip pkcs11 sit tuning filter-aaaa
PKG_SUGGESTED_OPTIONS+= readline
PLIST_VARS+= inet6 pkcs11
@@ -138,3 +138,12 @@
# to be changed so that the two can cooperate.
CONFIGURE_ENV+= STD_CDEFINES=-DDIG_SIGCHASE=1
.endif
+
+###
+### filter AAAA on ipv4 request
+###
+.if !empty(PKG_OPTIONS:Mfilter-aaaa)
+CONFIGURE_ARGS+= --enable-filter-aaaa
+.else
+CONFIGURE_ARGS+= --disable-filter-aaaa
+.endif
cvs diff: Diffing net/bind910/files
cvs diff: Diffing net/bind910/files/smf
cvs diff: Diffing net/bind910/patches
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.