Re: [DNSOP] draft-ietf-dnsop-dns-rpz

Vladimír Čunát <vladimir.cunat+ietf@nic.cz> Fri, 06 October 2017 15:28 UTC

Return-Path: <vladimir.cunat@nic.cz>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 267B71349F4 for <dnsop@ietfa.amsl.com>; Fri, 6 Oct 2017 08:28:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YL-yYnEwjcq2 for <dnsop@ietfa.amsl.com>; Fri, 6 Oct 2017 08:28:26 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FD4F133059 for <dnsop@ietf.org>; Fri, 6 Oct 2017 08:28:26 -0700 (PDT)
Received: from [IPv6:2001:1488:fffe:6:bc7e:5cff:fe79:ae7b] (unknown [IPv6:2001:1488:fffe:6:bc7e:5cff:fe79:ae7b]) by mail.nic.cz (Postfix) with ESMTPSA id CD4E461136; Fri, 6 Oct 2017 17:28:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1507303704; bh=OS+Oadf+37/Ac9mNxS4ppBZrRr9mZQH4NEN8jqH0pjA=; h=To:From:Date; b=I2pV2KhjyykDQmHMMkIJMWoXrJ/p9LHKuhn7PuS5W4JvtLG1YLTvVC+7dMmDv2kwG Z4oW3AetmVzumjciMinRdhBRXi4pd1oqra2tL1RcRNLTsa0+J64Rt6DgfVpMGFBFpu BDmo7ettrqqO0u8yv/dF5+Y66lKyx1+s0J1Su0ic=
To: Vernon Schryver <vjs@rhyolite.com>
References: <201710061500.v96F0paX028988@calcite.rhyolite.com>
Cc: dnsop@ietf.org
From: =?UTF-8?B?VmxhZGltw61yIMSMdW7DoXQ=?= <vladimir.cunat+ietf@nic.cz>
Message-ID: <fbd50d63-7669-ebc6-1b58-ddab42259418@nic.cz>
Date: Fri, 6 Oct 2017 17:28:24 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <201710061500.v96F0paX028988@calcite.rhyolite.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/DpX8Ot0YUDuWxXw3oP8T9tyaKVY>
Subject: Re: [DNSOP] draft-ietf-dnsop-dns-rpz
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Oct 2017 15:28:35 -0000

Hi.

On 10/06/2017 05:00 PM, Vernon Schryver wrote:
> If you will include hooks for an RPZ implementation in your shipped
> code as opposed to modified source in a 'contrib' directory that
> users must compile specially, I'd be happy to try to propose such
> hooks.  In other words, I could try to make a patch for Knot Resolver
> like the patch that I wrote for Unbound (without cost to NLnet Labs).
> If you prefer, you could write the code.

The current very limited implementation of RPZ in knot-resolver [1] is
done via a couple dozen lines of lua code, i.e. only JIT-compiled.  The
approach might remain similar, perhaps a bit more modularized, but in
any case I expect it would be included by default, so I wouldn't fear
about users having to recompile.

[1]
https://gitlab.labs.nic.cz/knot/knot-resolver/blob/v1.4.0/modules/policy/policy.lua#L294

--Vladimir