Re: [v6ops] [Technical Errata Reported] RFC4890 (3985)

Suresh Krishnan <suresh.krishnan@ericsson.com> Thu, 15 May 2014 14:48 UTC

Return-Path: <suresh.krishnan@ericsson.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 260441A00D6 for <v6ops@ietfa.amsl.com>; Thu, 15 May 2014 07:48:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.301
X-Spam-Level:
X-Spam-Status: No, score=-1.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_26=0.6, SPF_PASS=-0.001] autolearn=no
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 h3vEC47GYvkp for <v6ops@ietfa.amsl.com>; Thu, 15 May 2014 07:48:10 -0700 (PDT)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95FDD1A00BE for <v6ops@ietf.org>; Thu, 15 May 2014 07:48:10 -0700 (PDT)
X-AuditID: c618062d-f79c96d000001cfc-ce-53748435a993
Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id B1.49.07420.53484735; Thu, 15 May 2014 11:09:10 +0200 (CEST)
Received: from [142.133.113.185] (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.87) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 15 May 2014 10:48:01 -0400
Message-ID: <5374D39C.6060402@ericsson.com>
Date: Thu, 15 May 2014 10:47:56 -0400
From: Suresh Krishnan <suresh.krishnan@ericsson.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: "Fred Baker (fred)" <fred@cisco.com>, Elwyn Davies <elwynd@dial.pipex.com>
References: <20140514000750.1AF7818000E@rfc-editor.org> <8DA928AC-FCAF-4AB6-BE39-C6D155C91F17@cisco.com> <53743DEA.4030703@bogus.com> <1400149479.29419.2590.camel@mightyatom> <10FBEF6F-DD9D-4DA6-89A6-8699110270B4@cisco.com>
In-Reply-To: <10FBEF6F-DD9D-4DA6-89A6-8699110270B4@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [147.117.188.8]
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsUyuXRPuK5ZS0mwwdVtjBZHH0tYbDsuaPF+ 3Rk2iz9PutgtXp1aw2gxv+0mu8XOeZsYLU4f28vswOFx9sgCRo/nj309pvzeyOpxfMVOdo8l S34yeXTcamD1uD0rKIA9issmJTUnsyy1SN8ugSvj1PHfbAWLlSqmPvnH2MA4WbqLkZNDQsBE 4u6nSSwQtpjEhXvr2boYuTiEBI4ySjzZMpUZwtnOKLH7wzQ2kCpeAW2JdwsWg3WwCKhKPJ0+ FSzOBjRpw87PTCC2qECYRPuFmcwQ9YISJ2c+AasXEfCTWDDjOwvIUGaBRiaJ5cffgzULC5hL XJjQwAqx7T7Qts1LwLo5BWwluic0s4LYzED2hTnXWSBseYntb+eA1QgJaEpsXfOdFeIHRYkX x38yTWAUmoVk+Swk7bOQtC9gZF7FyFFanFqWm25ksIkRGBnHJNh0dzDueWl5iFGAg1GJh/dB WXGwEGtiWXFl7iFGaQ4WJXHeipKSYCGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2MOw4I8uon xCkICd8o2KEeF/to/78zieUzPorft71Y5rWvPiHccsWnjcU7v5nl3y92iO+3fuz/gvtQ4Oad gqV8JiIiOhJF8+/tFGJMOLvmycGdD+c0ih1Wuf90d6rJZ38tBhWnz3K1/LevHJ/58tGn24Yl rdVbl3Jeza3+HaW8o1+di2nqsa6fSizFGYmGWsxFxYkAr3OFTm0CAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/67MmlofuIFs_TpKhERP3kyb5_5Y
Cc: "jamesrobertson@live.com" <jamesrobertson@live.com>, V6 Ops List <v6ops@ietf.org>
Subject: Re: [v6ops] [Technical Errata Reported] RFC4890 (3985)
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 May 2014 14:48:12 -0000

Yes. This is a copy paste error on my part. The script probably needs to 
be rewritten to make use of more modern netfilter features like 
conntrack. I am willing to take a shot at a -bis version if Elwyn wants 
to go that way.

Thanks
Suresh

On 05/15/2014 10:44 AM, Fred Baker (fred) wrote:
> Thanks
>
> On May 15, 2014, at 3:24 AM, Elwyn Davies <elwynd@dial.pipex.com> wrote:
>
>> HI.
>>
>> This looks correct.  I am forwarding the message to Suresh who actually
>> authored the script for an opinion.
>>
>> Assuming that he concurs, I don't see any harm in issuing an erratum and
>> a very few people might actually be using the script verbatim.
>>
>> There was a move afoot to make a new version (and possibly transition
>> this to BCP) but we haven't managed to get it together to do so yet.
>>
>> Regards,
>> Elwyn
>>
>> On Wed, 2014-05-14 at 21:09 -0700, joel jaeggli wrote:
>>> On 5/14/14, 8:25 PM, Fred Baker (fred) wrote:
>>>> Guys:
>>>>
>>>> Do we agree with this?
>>>
>>> it's not really normative text, it's an example in an appendix.
>>>
>>> assuming you think it's an issue  and the correction is reasonable I
>>> would probably just hold it for a document update (seems unlikely atm
>>> but who knows)
>>>
>>>
>>>> On May 13, 2014, at 5:07 PM, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
>>>>
>>>>> The following errata report has been submitted for RFC4890,
>>>>> "Recommendations for Filtering ICMPv6 Messages in Firewalls".
>>>>>
>>>>> --------------------------------------
>>>>> You may review the report below and at:
>>>>> http://www.rfc-editor.org/errata_search.php?rfc=4890&eid=3985
>>>>>
>>>>> --------------------------------------
>>>>> Type: Technical
>>>>> Reported by: James Robertson <jamesrobertson@live.com>
>>>>>
>>>>> Section: Appendix B
>>>>>
>>>>> Original Text
>>>>> -------------
>>>>> if [ "$STATE_ENABLED" -eq "1" ]
>>>>> then
>>>>> # Allow incoming time exceeded code 0 messages
>>>>> # only for existing sessions
>>>>> for inner_prefix in $INNER_PREFIXES
>>>>> do
>>>>>    ip6tables -A icmpv6-filter -m state -p icmpv6 \
>>>>>         -d $inner_prefix \
>>>>>         --state ESTABLISHED,RELATED --icmpv6-type packet-too-big \
>>>>>         -j ACCEPT
>>>>> done
>>>>> else
>>>>> # Allow incoming time exceeded code 0 messages
>>>>> for inner_prefix in $INNER_PREFIXES
>>>>> do
>>>>>    ip6tables -A icmpv6-filter -p icmpv6 -d $inner_prefix \
>>>>>         --icmpv6-type ttl-zero-during-transit -j ACCEPT
>>>>> done
>>>>> fi
>>>>>
>>>>> Corrected Text
>>>>> --------------
>>>>> if [ "$STATE_ENABLED" -eq "1" ]
>>>>> then
>>>>> # Allow incoming time exceeded code 0 messages
>>>>> # only for existing sessions
>>>>> for inner_prefix in $INNER_PREFIXES
>>>>> do
>>>>>    ip6tables -A icmpv6-filter -m state -p icmpv6 \
>>>>>     -d $inner_prefix \
>>>>>     --state ESTABLISHED,RELATED --icmpv6-type ttl-zero-during-transit \
>>>>>     -j ACCEPT
>>>>> done
>>>>> else
>>>>> # Allow incoming time exceeded code 0 messages
>>>>> for inner_prefix in $INNER_PREFIXES
>>>>> do
>>>>>    ip6tables -A icmpv6-filter -p icmpv6 -d $inner_prefix \
>>>>>         --icmpv6-type ttl-zero-during-transit -j ACCEPT
>>>>> done
>>>>> fi
>>>>>
>>>>> Notes
>>>>> -----
>>>>> RFC 4890 Errata ID 2706 states that icmpv6-type packet-too-big should
>>>>> state icmpv6-type ttl-zero-during-transmit. This should read
>>>>> ttl-zero-during-transit.
>>>>>
>>>>> Instructions:
>>>>> -------------
>>>>> This errata is currently posted as "Reported". If necessary, please
>>>>> use "Reply All" to discuss whether it should be verified or
>>>>> rejected. When a decision is reached, the verifying party (IESG)
>>>>> can log in to change the status and edit the report, if necessary.
>>>>>
>>>>> --------------------------------------
>>>>> RFC4890 (draft-ietf-v6ops-icmpv6-filtering-recs-03)
>>>>> --------------------------------------
>>>>> Title               : Recommendations for Filtering ICMPv6 Messages in Firewalls
>>>>> Publication Date    : May 2007
>>>>> Author(s)           : E. Davies, J. Mohacsi
>>>>> Category            : INFORMATIONAL
>>>>> Source              : IPv6 Operations
>>>>> Area                : Operations and Management
>>>>> Stream              : IETF
>>>>> Verifying Party     : IESG
>>>>
>>>
>>>
>>
>