[patch] add support for peer names using a file in userspace
Lonnie Abelbeck
lists at lonnie.abelbeck.com
Fri Dec 8 20:00:47 CET 2017
On Dec 8, 2017, at 12:45 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
>
>> 3) Make "wg show" display either "peer: orQ..." or "peer-some_custom_name: orQ..."
>>
>> 4) Any spaces in the "some_custom_name" text are ignored and truncated to 64 characters.
>
> 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
More information about the WireGuard
mailing list