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

Robert Raszuk <robert@raszuk.net> Sat, 19 November 2016 14:07 UTC

Return-Path: <rraszuk@gmail.com>
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 CEF9F129436; Sat, 19 Nov 2016 06:07:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 qPOzmEiqFNgY; Sat, 19 Nov 2016 06:07:15 -0800 (PST)
Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (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 78DDE129415; Sat, 19 Nov 2016 06:07:15 -0800 (PST)
Received: by mail-qt0-x242.google.com with SMTP id n34so21167234qtb.3; Sat, 19 Nov 2016 06:07:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=HXOhJtR6JfFHxQiBu57BsLEp6ehmK1GBHvOqDvSXwbo=; b=kOhVrX3MT0pZyDg1DoNuzr6ISkV9pJEyZwuLSScze//59hMj9GMQuyIuc8quZvA27X U0mvmrAlgCRMaDiza8QeBy/HyMAaljtJotPQhtnO0ZHkEV2ENZeLZbsFx6s/9InI/T8l J5s9umaSwIX0OOZkRZz5FK998DG/Ti4IUsvTvMB4e9fSIKLiduihuKN6vtp/Pz+UPHfU JZwXrxH6nqsvxYMmE7nDsmzLJdJ9LgQpeU3FXwwOEyeN24Ycs+//mK3JQaPVAZ0QSfbb 4TWlU06dPUv9LOdlEreZXKCwHGSFFuOhKRoDq9FnTcMF92p0cI4APzSXPxPcIxXqby5O rZrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=HXOhJtR6JfFHxQiBu57BsLEp6ehmK1GBHvOqDvSXwbo=; b=IbL+MG0z3ZxHYfPwnMdEHDzu/HsVqJYrqTp6NqLrLF78FngQyzrtfcxf3xWfwvFgmB DeVKRhqkw3oXDLeAMgwpmC9iLC043DVnb/LmBGZu7mZ61TIfpMLkr+wLkmWdQx1VR0Tz 5DKXboEnC/RpgTvbfC2TaG1MORuydMZzsn8lRnYxVaYHQQFM5+F9ByISGdGwh5wqLahV dJYJ8RLMFrl3SL4VytA9dzR8BeFc/NbFdwnf0bfUME+/M5eQ1UMBu0IOSAIoVnxNp5R6 +Ys9NMt6euIfcU7lEbQe4L9HSUEcoYptGenxOAU28D1igFAQt+w8jlNT81XtxQ96RR8P TvHA==
X-Gm-Message-State: AKaTC03Y3dcDVqFk9onLnCOqftes50KZijOuu6G+VIIzh8Lu0zS0UiI+8WPckt9SezmGyiJuHYYCSChPCZoImw==
X-Received: by 10.200.40.27 with SMTP id 27mr2962799qtq.281.1479564434501; Sat, 19 Nov 2016 06:07:14 -0800 (PST)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.140.16.50 with HTTP; Sat, 19 Nov 2016 06:07:13 -0800 (PST)
In-Reply-To: <CAO367rVSyeBcJnt8yogV27POyS3VwWGCqgmD3ex79dUPN-Misg@mail.gmail.com>
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> <CAO367rVSyeBcJnt8yogV27POyS3VwWGCqgmD3ex79dUPN-Misg@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, 19 Nov 2016 15:07:13 +0100
X-Google-Sender-Auth: 8G6X1XS8SsXcfeN_DlufZgM1rC0
Message-ID: <CA+b+ER=EFuQ8L_A4VtdzWna4ZNM-rhPo8gXURaN2s3WAykrL+w@mail.gmail.com>
To: Marco Marzetti <marco@lamehost.it>
Content-Type: multipart/alternative; boundary="001a114072108a76200541a7f032"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/6p2eEXneST1eYTBW_17Dcn9Xd2M>
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 14:07:18 -0000

Marco,

Yes indeed. As said it would be completely optional.

Job,

Free form is so old fashioned that it really does not even sound
reasonable. Why do you want everything to be "figured out" outside of IDR ?
Why for everything we recently propose there must be 5 documents to read
all in different forums/groups to use it ? Do you prefer to hard encode
TLVs to make the proposal parsable ?

Please remember you are extending BGP as the protocol used by many who do
not even know what IDR or GROW is. Not everyone who uses BGP has time for
IETF or NANOG or RIPE.

Cheers,
R.



On Sat, Nov 19, 2016 at 2:56 PM, Marco Marzetti <marco@lamehost.it> wrote:

> 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
>
> _______________________________________________
> GROW mailing list
> GROW@ietf.org
> https://www.ietf.org/mailman/listinfo/grow
>