X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D97E6DC1604 for ; Wed, 4 Jan 2012 09:21:06 +0000 (UTC) Received: by lahl5 with SMTP id l5so9062629lah.13 for ; Wed, 04 Jan 2012 01:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=zDE/w/g4fJayWiov/DhtY9XlNHJqevT44FM0FFhDYGo=; b=S2Xl3E8mWbxi/LjCzT6n8fhD/KzRkRILdeeF4qe0aBvxwSu+c64MG+YGLpAkXjBM8I 7NY3Aua+OWV93m0MStvnfnegFCVcH5pYQ3xTwiTUeGIlZKCJKCbvikT0lU9DoBCFHKr2 Uh/bHmn/5pnxTJ8oe6KKE1zaytTHPK5yLJMjU= Received: by 10.152.145.165 with SMTP id sv5mr39202323lab.29.1325668864843; Wed, 04 Jan 2012 01:21:04 -0800 (PST) Received: from [10.26.34.4] (mail.fi.jw.org. [83.145.235.193]) by mx.google.com with ESMTPS id nc7sm39651173lab.9.2012.01.04.01.21.03 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jan 2012 01:21:03 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Message-ID: <4F0419FC.3080801@iki.fi> Date: Wed, 04 Jan 2012 11:21:00 +0200 From: =?ISO-8859-1?Q?Timo_Ter=E4s?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20111223 Thunderbird/10.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: jeremy@thomersonfamily.com CC: Kaarle Ritvanen , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Alpine Wall for firewall management References: In-Reply-To: X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 01/03/2012 07:45 PM, Jeremy Thomerson wrote: > > On Fri, Dec 30, 2011 at 9:08 AM, Kaarle Ritvanen > > > wrote: > > Hello, > > We have a new firewall management framework under early development. > Please check out the draft specification here and provide your comments: > > http://wiki.alpinelinux.org/__wiki/Alpine_Wall > > > BR, > Kaarle > > > Not having looked through all of it in great detail, I have a question > about the following statement from the wiki: > > The back-end will contain functionality for domain name resolution. > In the data model, hosts of groups thereof can be identified by > their domain names. The back-end will resolve these to IP addresses, > which will be stored in the target files, so there will be no need > to resolve anything when activating the configuration during boot. > > At what point does the back-end do the resolution? It seems like it > would need to periodically update this since a firewall may run weeks, > months, or years with no change and name resolution could change > periodically. Will it observe TTL? I believe updating of the DNS records to IPv4/IPv6 addresses would be administrative step. The idea is to create permanent cache of the fqdn domain names, that gets refreshed only as a result of running a command (or clicking acf button). This is because otherwise just someone updating a dns entry could break the whole firewall. Additionally, during bootup we cannot usually do dns queries (so we really need cached info). However, allowing usage of dns names will be beneficial, as it avoid duplication of information in multiple places. This should be sufficient as your server dns records should not change that often; and when they change you probably want to double check your firewall rules anyway. The idea is also that for fqdn's both A and AAAA records are used, so alpine wall would automatically create both ipv4 and ipv6 firewall rules. > Overall, the plan looks really good. I'd be curious: will there be a > CLI for the functionality, or will it only be in ACF webapp? I > typically don't use ACF on my Alpine boxes. I assume without ACF I'll > just need to modify the Alpine Wall config files directly? Yes, plan is to have command line functionality as well. ACF would be just polished way to display the data. - Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---