Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Lonnie Abelbeck <lists@lonnie.abelbeck.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [patch] add support for peer names using a file in userspace
Date: Fri, 8 Dec 2017 13:00:47 -0600	[thread overview]
Message-ID: <BC9DA88D-CB32-434E-AF02-74A862405A5D@lonnie.abelbeck.com> (raw)
In-Reply-To: <CAHmME9rV3simg0dTD7ja-RGWGTSR0dSMgJ20ft1FXPeZyFWamw@mail.gmail.com>


On Dec 8, 2017, at 12:45 PM, Jason A. Donenfeld <Jason@zx2c4.com> 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

  reply	other threads:[~2017-12-08 18:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07 15:31 [patch] wg: " Lonnie Abelbeck
2017-12-08  4:23 ` Jason A. Donenfeld
2017-12-08  4:26   ` Jason A. Donenfeld
2017-12-08 13:42   ` [patch] " Lonnie Abelbeck
2017-12-08 18:45     ` Jason A. Donenfeld
2017-12-08 19:00       ` Lonnie Abelbeck [this message]
2017-12-08 20:39         ` Jason A. Donenfeld
2017-12-09  1:09           ` Eric Light
2017-12-09 11:32             ` Matthias Urlichs
2018-03-01 15:36       ` Damian Kaczkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BC9DA88D-CB32-434E-AF02-74A862405A5D@lonnie.abelbeck.com \
    --to=lists@lonnie.abelbeck.com \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).