From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: damian.kaczkowski@gmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id ced2d35d for ; Thu, 1 Mar 2018 15:36:31 +0000 (UTC) Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id b52e5472 for ; Thu, 1 Mar 2018 15:36:31 +0000 (UTC) Received: by mail-wr0-f181.google.com with SMTP id z12so7001080wrg.4 for ; Thu, 01 Mar 2018 07:45:16 -0800 (PST) MIME-Version: 1.0 Sender: damian.kaczkowski@gmail.com In-Reply-To: References: <4B7E0154-039F-4008-9C47-C825E1474731@lonnie.abelbeck.com> <705B40D6-4947-4E5A-A042-B0C8A0D5BB84@lonnie.abelbeck.com> From: Damian Kaczkowski Message-ID: Subject: Re: [patch] add support for peer names using a file in userspace To: "Jason A. Donenfeld" , WireGuard mailing list Content-Type: multipart/alternative; boundary="089e08283dacf47ef705665bbe03" List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 01 Mar 2018 15:36:34 -0000 --089e08283dacf47ef705665bbe03 Content-Type: text/plain; charset="UTF-8" On 8 December 2017 at 19:45, Jason A. Donenfeld wrote: > Absolutely not. If something like this lands, it will be called > "Description=" or the like, as another attribute of a peer. There's no > reason to make the section parser more complicated, when this is > essentially just another key value. +1. Description, Comment, or maybe Name would be handy. I got > 200 peers. I am getting hard times checking for peer status. It would be nice to be able to do something like this: wg | grep -A6 -B6 my_Description_or_Comment Or maybe even simpler: wg show peer by_Name To show current status of selected peer. --089e08283dacf47ef705665bbe03 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On 8= December 2017 at 19:45, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
Absolutely not. If something lik= e this lands, it will be called
"Description=3D" or the like, as another attribute of a peer. The= re's no
reason to make the section parser more complicated, when this is
essentially just another key value.

= +1.
Description, Comment, or maybe Name would be handy.
I got >= ; 200 peers. I am getting hard times checking for peer status.
It woul= d be nice to be able to do something like this:=C2=A0

=
= wg | grep -A6 -B6 my_Description_or_Comment

Or maybe e= ven simpler:

wg show peer by_Name

To show= current status of selected peer.
=C2=A0
--089e08283dacf47ef705665bbe03--