* Strange behaviour with interface name
@ 2018-02-06 4:30 Nicholas Joll
2018-02-06 7:18 ` Matthias Ordner
2018-02-06 11:53 ` Jason A. Donenfeld
0 siblings, 2 replies; 3+ messages in thread
From: Nicholas Joll @ 2018-02-06 4:30 UTC (permalink / raw)
To: wireguard
Dear all
A conf file called
wireguard-se1gb1.conf
generates, via the wq-quick command, an interface named thusly (note the
missing the initial 'w'):
ireguard-se1gb1.conf [sic]
Nonetheless, the interface - which works - can be pulled down with
wg-quick down wireguard-se1gb1.conf
(note the 'w' at the start of 'wireguard'). Renaming the conf file to
wireguard-seGb.conf
generates an interface that is named as expected.
Wireguard: 0.0.20180118-wg1~xenial
OS: Linux Mint 18.3 Sylvia x86_64
Kernel: 4.15.1-041501-generic
Yours,
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange behaviour with interface name
2018-02-06 4:30 Strange behaviour with interface name Nicholas Joll
@ 2018-02-06 7:18 ` Matthias Ordner
2018-02-06 11:53 ` Jason A. Donenfeld
1 sibling, 0 replies; 3+ messages in thread
From: Matthias Ordner @ 2018-02-06 7:18 UTC (permalink / raw)
To: wireguard
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]
Hi Nicholas,
> A conf file called
>
> wireguard-se1gb1.conf
>
> generates, via the wq-quick command, an interface named thusly (note the
> missing the initial 'w'):
>
> ireguard-se1gb1.conf [sic]
Interface name length on Linux is limited to 15 chars.
So this is most likely caused by this commit:
https://git.zx2c4.com/WireGuard/commit/?id=b4d5801a16f8619bc3a6111a2a6bd049abd149a3
Using shorter config file names avoids this "bug".
Best regards
Matthias
Matthias Ordner
Network & Security (ONS)
noris network AG
Thomas-Mann-Straße 16-20
90471 Nürnberg
Deutschland
Tel +49 911 9352 1325
Fax +49 911 9352 100
matthias.ordner@noris.de
https://www.noris.de - Mehr Leistung als Standard
Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Jürgen Städing
Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 6394 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange behaviour with interface name
2018-02-06 4:30 Strange behaviour with interface name Nicholas Joll
2018-02-06 7:18 ` Matthias Ordner
@ 2018-02-06 11:53 ` Jason A. Donenfeld
1 sibling, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2018-02-06 11:53 UTC (permalink / raw)
To: Nicholas Joll; +Cc: WireGuard mailing list
Hi Nick,
Thanks for the bug report. Fixed here:
https://git.zx2c4.com/WireGuard/commit/?id=dd85f27b6ec98de1527a935a7f0930c2111d7930
Jason
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-06 11:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 4:30 Strange behaviour with interface name Nicholas Joll
2018-02-06 7:18 ` Matthias Ordner
2018-02-06 11:53 ` Jason A. Donenfeld
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).