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

"Neil J. McRae" <neil@domino.org> Sat, 19 November 2016 13:51 UTC

Return-Path: <neil@domino.org>
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 7FC601296D2; Sat, 19 Nov 2016 05:51:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=domino.onmicrosoft.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 aJpOWRNdMGqI; Sat, 19 Nov 2016 05:51:25 -0800 (PST)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0124.outbound.protection.outlook.com [104.47.2.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 419E51296CF; Sat, 19 Nov 2016 05:51:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domino.onmicrosoft.com; s=selector1-domino-org; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ji6gJvbHe12FN+3Es+jtMUkkJMLW4Olc7YWTXFM1Qb8=; b=O1vlCkuL8W2TSFDNIIZvsPgGGfMNGiX1pkTpjm6JG2KpnudBZIHiKod5CmzHLyPVKT1Z1BSX3Dn1VeXr8wiPe+2xxAMBt/YlewLoP+xCuc4SWn1oWPNKlTwHHvIB6AvCcTFbzQTkP3SKylrSm5vLoNpvCYdsgON0WnYxbsm2OFk=
Received: from AM4PR03MB1425.eurprd03.prod.outlook.com (10.164.77.155) by AM4PR03MB1426.eurprd03.prod.outlook.com (10.164.77.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Sat, 19 Nov 2016 13:51:22 +0000
Received: from AM4PR03MB1425.eurprd03.prod.outlook.com ([10.164.77.155]) by AM4PR03MB1425.eurprd03.prod.outlook.com ([10.164.77.155]) with mapi id 15.01.0721.017; Sat, 19 Nov 2016 13:51:21 +0000
From: "Neil J. McRae" <neil@domino.org>
To: Peter Hessler <phessler@theapt.org>
Thread-Topic: [Idr] [GROW] draft-snijders-idr-shutdown-00: Drop a line in the peer's syslog at shutdown
Thread-Index: AQHSP/9KqJ8HctM7aUO4ZcydBCJgGaDbkwIAgAAM1oCABLgufg==
Date: Sat, 19 Nov 2016 13:51:21 +0000
Message-ID: <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>
In-Reply-To: <20161116134707.GP24817@gir.theapt.org>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=neil@domino.org;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [188.29.165.86]
x-microsoft-exchange-diagnostics: 1; AM4PR03MB1426; 7:5KCFsgJtKzouTb4oSZLmBpQYrgiXmw0YzXf4uywNHRqEpjpDJnaB0X+eSBPboSXEY0wicuiE2na0RbmPQJIvzJxYNaXFTQZoN6NQYsLVwh8MKr9ziN81kODKEk1csuD7UQWPibcPwIy4Etg5e6T9ziJlMIbg9GSZKiVFoGxuclaw15Kpj0kYcxwyl8yBORPBlC6Rgl0bw0ENjo/v9Ukwn9RvQU23gmozQ4obRh+k29Kz/LRCN6taN2lQFDkHHs/HPh9yZozidsOg882RUjmjfxSDkAh8ZXdACWJ2JPh2vzBgXrB0B9L2gyGJOEGjyvHRscaIyxyzW/ufq0Um/TL7T2X3MLJ4c3y1uXymD4hcR3o=
x-ms-office365-filtering-correlation-id: a1706a86-c143-423f-68ff-08d410832530
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:AM4PR03MB1426;
x-microsoft-antispam-prvs: <AM4PR03MB142656486EE5E69E7ED75EB9AEB30@AM4PR03MB1426.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(192374486261705)(144208319314845);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6060326)(6040307)(6045199)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6061324)(6041248)(2016111802025)(6043046); SRVR:AM4PR03MB1426; BCL:0; PCL:0; RULEID:; SRVR:AM4PR03MB1426;
x-forefront-prvs: 0131D22242
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(189002)(199003)(24454002)(7846002)(33656002)(5660300001)(8676002)(122556002)(7736002)(101416001)(230783001)(93886004)(50986999)(305945005)(105586002)(106356001)(83716003)(106116001)(8936002)(66066001)(76176999)(54356999)(97736004)(87936001)(6916009)(2900100001)(2950100002)(3846002)(82746002)(6116002)(77096005)(102836003)(81166006)(2906002)(68736007)(6506003)(6512003)(81156014)(86362001)(38730400001)(3280700002)(5003630100001)(3660700001)(4326007)(229853002)(36756003)(189998001)(92566002)(110136003)(21314002)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR03MB1426; H:AM4PR03MB1425.eurprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en;
received-spf: None (protection.outlook.com: domino.org does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: domino.org
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2016 13:51:21.6131 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 398f3eb4-3394-48e7-885c-de1ab2a9cf2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR03MB1426
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/wJApzPUJZsq7s0cFFfK6oKCrxEA>
Cc: "idr@ietf.org" <idr@ietf.org>, "grow@ietf.org" <grow@ietf.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:51:28 -0000

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