From owner-freebsd-net@FreeBSD.ORG Thu Jun 16 13:00:36 2011 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69A6D1065672; Thu, 16 Jun 2011 13:00:36 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id 20A1A8FC1D; Thu, 16 Jun 2011 13:00:36 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 065B225D3899; Thu, 16 Jun 2011 13:00:34 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 894FA15A1C5A; Thu, 16 Jun 2011 13:00:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id S1Pk6PnZfGL9; Thu, 16 Jun 2011 13:00:33 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 31BA815A1C59; Thu, 16 Jun 2011 13:00:32 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <20110616.142834.63956571381923731.hrs@allbsd.org> Date: Thu, 16 Jun 2011 13:00:32 +0000 Content-Transfer-Encoding: 7bit Message-Id: References: <20110616.015317.781291617533474654.hrs@allbsd.org> <6FE95AC6-CCB2-45B0-8347-AB31283EE144@lists.zabbadoz.net> <20110616.142834.63956571381923731.hrs@allbsd.org> To: Hiroki Sato , Hajimu UMEMOTO X-Mailer: Apple Mail (2.1084) Cc: net@FreeBSD.org Subject: Re: [RFC] resolvconf(8) interface id X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2011 13:00:36 -0000 On Jun 16, 2011, at 5:28 AM, Hiroki Sato wrote: Hi Umemoto-san, Sato-san, > Our openresolv currently supports $interface_order with shell pattern > matching only. What I thought was > > interface_order="lo lo[0-9]* *:ppp *:slaac *:dhcpv4 [a-z]*[0-9]*:*" Hmm, indeed we do and I hadn't actually thought of collapsing the two. I think that's perfect. The only thing I am only still pondering - do we want it to be "slaac" "dchpv4" or the program name? I can see advantages with both. If we go with "slaac" etc. we might need to - at least for the three or so things from base, add a table to the man page like program: origin rtsol -> slaac rtsold -> slaac dhclient -> dhcpv4 ppp -> ppp as people may or may not be familiar enough with what the one or the other might mean. Maybe simply describing the cases will be good enough as well. I can imaging ports like mpd, ... to join this scheme and by then there might be different "ppp" or "dhcpv4", "dhcpv6" or even different "slaac". The advantage of this one is that if I prefer dhcpv6 on one interface it doesn't make a difference if I am going to use dippler, isc or wide. So I guess I am convinced that what you have is the best. Regards, Bjoern -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.