From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CAB371381F3 for ; Mon, 14 Oct 2013 05:58:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D498E0AA5; Mon, 14 Oct 2013 05:57:51 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63CD4E0AA0 for ; Mon, 14 Oct 2013 05:57:50 +0000 (UTC) Received: from mail-vc0-f178.google.com ([209.85.220.178]:36327) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VVbA6-001YAH-T9 for gentoo-user@lists.gentoo.org; Mon, 14 Oct 2013 12:57:50 +0700 Received: by mail-vc0-f178.google.com with SMTP id lh4so4318321vcb.37 for ; Sun, 13 Oct 2013 22:57:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=F9cI9pcyr2jH+wsfTSkHWUrqcA444czPgOtSp9pMWiI=; b=I5C39S5/wFIdmNgo09G5PGZE7wGNUdzRhkv/g7awQrublreyby9SN5F/EujSHAjuHP nB/ImmVel9bR/QCYi66xLwJiJ04fR6DViksPFElreS24Npa+YSPcdqDEihyMC9F31zqf QuTobp3Byltbull+ZQtXBRQGNbnMjALFoIXhxOWq/CvcC9kfGhHAaDGS2sXbhNNna8Y9 n//XG/ZdXbpkd0dWcOfGK71nYbglNM+aF9gHI7MvRQ/gB/bjNuNwh/dx9sZF8X/2J5ss eqPrYC2VVTcedDY85ZA7uQHMnnjyyRy2o9B4B3T8n/PIU0pTOt22RRROMz+8/2U6nn0E Sajg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.243.138 with SMTP id wy10mr28153476vdc.2.1381730269366; Sun, 13 Oct 2013 22:57:49 -0700 (PDT) Received: by 10.220.153.209 with HTTP; Sun, 13 Oct 2013 22:57:49 -0700 (PDT) Received: by 10.220.153.209 with HTTP; Sun, 13 Oct 2013 22:57:49 -0700 (PDT) In-Reply-To: References: <524DD388.9020507@fastmail.co.uk> <524F39F6.4040409@orlitzky.com> Date: Mon, 14 Oct 2013 12:57:49 +0700 Message-ID: Subject: Re: [gentoo-user] scripted iptables-restore (was: Where to put advanced routing configuration?) From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=001a11c1c4a6e1959c04e8ad25c3 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Get-Message-Sender-Via: svr-us4.tirtonadi.com: authenticated_id: rileyer+pandu.poluan.info/only user confirmed/virtual account not confirmed X-Archives-Salt: 01504e81-a7ef-49dc-aa2d-f4ec314bda5c X-Archives-Hash: 03e3e38cddedab44cd4ee08581bee8bf --001a11c1c4a6e1959c04e8ad25c3 Content-Type: text/plain; charset=UTF-8 On Oct 13, 2013 5:09 PM, "Martin Vaeth" wrote: > > >> 5. You can't script iptables-restore! > > > > Well, actually you can script iptables-restore. > > For those who are interested: > net-firewall/firewall-mv from the mv overlay > (available over layman) now provides a separate > firewall-scripted.sh > which can be conveniently used for such scripting. > Thanks, Martin! I was about to create my own preprocessor, but I'll check out yours first. If it's what I had planned, may I contribute, too? Rgds, -- --001a11c1c4a6e1959c04e8ad25c3 Content-Type: text/html; charset=UTF-8


On Oct 13, 2013 5:09 PM, "Martin Vaeth" <vaeth@mathematik.uni-wuerzburg.de> wrote:
>
> >> 5. You can't script iptables-restore!
> >
> > Well, actually you can script iptables-restore.
>
> For those who are interested:
> net-firewall/firewall-mv from the mv overlay
> (available over layman) now provides a separate
> firewall-scripted.sh
> which can be conveniently used for such scripting.
>

Thanks, Martin! I was about to create my own preprocessor, but I'll check out yours first. If it's what I had planned, may I contribute, too?

Rgds,
--

--001a11c1c4a6e1959c04e8ad25c3--