From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: lists@lonnie.abelbeck.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 147ed13d for ; Fri, 8 Dec 2017 18:53:39 +0000 (UTC) Received: from ibughas.pair.com (ibughas.pair.com [209.68.5.177]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 621cdf95 for ; Fri, 8 Dec 2017 18:53:39 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [patch] add support for peer names using a file in userspace From: Lonnie Abelbeck In-Reply-To: Date: Fri, 8 Dec 2017 13:00:47 -0600 Message-Id: References: <4B7E0154-039F-4008-9C47-C825E1474731@lonnie.abelbeck.com> <705B40D6-4947-4E5A-A042-B0C8A0D5BB84@lonnie.abelbeck.com> To: "Jason A. Donenfeld" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Dec 8, 2017, at 12:45 PM, Jason A. Donenfeld wrote: >=20 >> 3) Make "wg show" display either "peer: orQ..." or = "peer-some_custom_name: orQ..." >>=20 >> 4) Any spaces in the "some_custom_name" text are ignored and = truncated to 64 characters. >=20 > Yikes. I'm inclined to make Description or the like follow whatever > other plaintext rules the netfilter comment stuff has, not something > restrictive like "no spaces". I suggested "no spaces" since currently all spaces are stripped in = config_read_line() https://git.zx2c4.com/WireGuard/tree/src/tools/config.c#n434 Lonnie