DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
66 stars 9 forks source link

Normalize interface name in Wireguard Tunnel mode #216

Closed syphernl closed 1 month ago

syphernl commented 3 months ago

The Defguard client uses the Tunnel Name to generate an interface name. This works fine as long as there are no special characters in the name.

The client should either use a cleaned up Tunnel Name as interface name (e.g. remove all unsupported characters) or should disallow any illegal characters in the Tunnel Name.

teon commented 3 months ago

Only letters with no spaces and numbers should be allowed for device name.