Re: [Idr] [GROW] draft-snijders-idr-shutdown-00: Drop a line in the peer's syslog at shutdown

Marco Marzetti <marco@lamehost.it> Sat, 19 November 2016 13:56 UTC

Return-Path: <marco@lamehost.it>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA7681296B2 for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 05:56:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lamehost-it.20150623.gappssmtp.com
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 lEWcee05cMEC for <idr@ietfa.amsl.com>; Sat, 19 Nov 2016 05:56:18 -0800 (PST)
Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE5981296F0 for <idr@ietf.org>; Sat, 19 Nov 2016 05:56:17 -0800 (PST)
Received: by mail-wm0-x229.google.com with SMTP id t79so77042392wmt.0 for <idr@ietf.org>; Sat, 19 Nov 2016 05:56:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lamehost-it.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=yG/B90p+iQITuLeCEO4qkvQ2gsxUDGJ40ndh2B2xmUc=; b=EUxaY/Jlc9IrC5lQfCnSIoWZUCg2VjcpC5AZjcX9zFXLCQKa7Oao1vOWG2gMhWLmxQ 9DVOgkt2O42JMxvRni7HW3GBDK7PpBiXju+Iev3zqEvb3B1T0yUwfrnqAIB4LTT8oGfn hKxoqTWPvfyygYslO3pAPESR3JxzptJ4ng/paguufWxxOAUTFYy0yA0kKEzZluosuuZl /apRjYuBCc4NJCLEycA2ecRqF5ZUtniso4sYgBX0lU1OgmU29p5CZlsDAD/1MOZCwKAs yX8yY0AGFOTbcL0EHxuOCT2ZHWSRk7EpHVl6hfMYDqRaVhxivCzINighr+w5uNVfuvje eV8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=yG/B90p+iQITuLeCEO4qkvQ2gsxUDGJ40ndh2B2xmUc=; b=eZhzWG+Gs5uiSuP1hq/LwE9YSSMnwhK/lAectd/9D+lKwXltaxJmNS0Rap/CnqsyYW FTukjBljAnpFvtD8bB3claG3tKmz1bbHSavItiFAk+NVHeJs/fr2ChS5hh+c7AFsZj3T tFx4GrVVQXQKhYFec53TEqc9fOPPd/S7EYyUR1XHAfzcdqRo3p82VbdThwI9Vzuzy3zt AFy48lks8WpRSk9cjbCJYWm0cPu26QCXpkNILR/t+SREhkKaoZwqqn5v1+hkXGa26P9D MHpZQdYZ/m8WMpgaeO27g3Nt4xWHsc79P4Hh/T9t0spHmOMK+K+lyJRwBe7pfjDtgbay /Saw==
X-Gm-Message-State: AKaTC02xmEq6SUpsHVs+/13ABoktA5HiHxj+cdE5jqPiPSFlbeKsusWi16+wARhLGBzq8VOI0w9FSNzwmGCcQQ==
X-Received: by 10.46.71.210 with SMTP id u201mr2680333lja.69.1479563776417; Sat, 19 Nov 2016 05:56:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.202.14 with HTTP; Sat, 19 Nov 2016 05:56:15 -0800 (PST)
X-Originating-IP: [79.24.77.5]
In-Reply-To: <FBD63625-3E82-44AC-9318-D6B6DFE86082@domino.org>
References: <20161116061556.GG1073@dhcp-9341.meeting.ietf.org> <20161116105535.GW79185@Space.Net> <1479295774707.77855@dacor.de> <20161116113849.udbrfvdhaj3be7nx@bongo.bofh.it> <20161116130110.GK1073@dhcp-9341.meeting.ietf.org> <20161116134707.GP24817@gir.theapt.org> <FBD63625-3E82-44AC-9318-D6B6DFE86082@domino.org>
From: Marco Marzetti <marco@lamehost.it>
Date: Sat, 19 Nov 2016 14:56:15 +0100
Message-ID: <CAO367rVSyeBcJnt8yogV27POyS3VwWGCqgmD3ex79dUPN-Misg@mail.gmail.com>
To: "Neil J. McRae" <neil@domino.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/DoP3TTrUNGCP0YQLRTpNdbkcaXc>
Cc: "idr@ietf.org" <idr@ietf.org>, "grow@ietf.org" <grow@ietf.org>, Peter Hessler <phessler@theapt.org>
Subject: Re: [Idr] [GROW] draft-snijders-idr-shutdown-00: Drop a line in the peer's syslog at shutdown
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Nov 2016 13:56:21 -0000

Robert,

So you're suggesting to include recommendation for the formatting?
That could help (as long as it's not mandatory).

Regards


On Sat, Nov 19, 2016 at 2:51 PM, Neil J. McRae <neil@domino.org> wrote:
> I personally think this is a really bad idea but understand why some might want this - and we've had similar drafts in the past- in my view  we shouldn't be moving more towards more human related randomness in system level messages - have a set of status numbers or something that can be predictable but randomly "we took the peer down whilst we went to McDonald's" as opposed to CEASE reason 666 - we depeered or reason 999 we have a problem call us would be a much better approach. We can't keep running networks like we did 20 years ago!
>
> Thanks
> Neil
> Sent from my iPhone
>
>> On 16 Nov 2016, at 13:47, Peter Hessler <phessler@theapt.org> wrote:
>>
>> On 2016 Nov 16 (Wed) at 22:01:10 +0900 (+0900), Job Snijders wrote:
>> :I hope to capture in the draft that an implementation can choose which
>> :characters of the Shutdown Communication they represent in the syslog or
>> :'show bgp neighbor xxx' output. For instance, I'd recommend to squash
>> :all newline/newpage/newfeed/newparagraph style chars and make sure that
>> :the Communication is represented on a single line. I don't have the
>> :proper words for the draft to express that (yet).
>>
>> I've been thinking about wording for protecting the receiving system
>> from possible bad input.  I'm not worried about (valid) UTF-8 display
>> chars, nor about whitespace things.  I am worried about Little Bobby
>> Tables, though.
>>
>> We also have to consider that this will be displayed possibly in a Unix
>> Shell, Windows Shell, Syslog, SQL server, Web Server; and different
>> chars have different meanings there.
>>
>> I'm not quite happy with the wording, but I would like something along
>> these lines added.  Possibly in the Security section, or at the end of
>> Section #2.
>>
>> ====
>> Receiving systems SHOULD filter the message for the intended output
>> environment and MAY change octets or sequences of octets for their
>> local environment.
>> As the message may be displayed on a command line, stored
>> in a syslog server, in an SQL database, or even a Web Server different
>> outputs MAY happen.
>> Sending systems MUST NOT depend on changes to their
>> sequences not happening.
>> ====
>>
>> (Consider, Little Bobby Tables https://www.xkcd.com/327/, printf
>> escapes, Javascript/HTML, etc)
>>
>>
>> --
>> Taxes, n.:
>>    Of life's two certainties, the only one for which you can get
>>    an extension.
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr
>
> _______________________________________________
> GROW mailing list
> GROW@ietf.org
> https://www.ietf.org/mailman/listinfo/grow



-- 
Marco