Bug#956643: wireguard-tools: shipped without file:/etc/network/interfaces.d/wg0

2020-04-14 Thread Roman Czyborra
Roman Czyborra  wrote:
> Package: wireguard-tools
> Version: 1.0.20200319-1~bpo10+1
> Severity: important
> Tags: a11y patch
> # file:/etc/network/interfaces.d/wg0
> # 2020.04.14.©©-by-sa ro...@czyborra.com
> auto wg0
> iface wg0 inet6 manual
>   up  ip link add wg0 type wireguard
>   up  wg setconf wg0 /etc/wireguard/wg0.conf
>   downumask 077 && wg showconf wg0>/etc/wireguard/wg0.conf
>   downip link del wg0

no, make that

auto wg0
iface wg0 inet6 manual
up  wg-quick up wg0
downwg-quick down wg0

and ship /etc/wireguard/wg0.conf with

[Interface]



Bug#956643: wireguard-tools: shipped without file:/etc/network/interfaces.d/wg0

2020-04-13 Thread Roman Czyborra
Package: wireguard-tools
Version: 1.0.20200319-1~bpo10+1
Severity: important
Tags: a11y patch

Dear Daniel, many thx for bringing wireguard-tools to Debian 10!

While less so than for OpenVPN, configuring your WireGuard in 1.0.20200319 
still costs me a lot of reading and thinking time that could be eased with 
pre-installed conffiles for which i am supplying the following suggestion to 
start with:

# file:/etc/network/interfaces.d/wg0
# requiring file:/etc/network/interfaces to state
# source /etc/network/interfaces.d/*
# and allowing initial wg set wg0 private-key <(wg genkey)
# 2020.04.14.©©-by-sa ro...@czyborra.com

auto wg0
iface wg0 inet6 manual
up  ip link add wg0 type wireguard
up  wg setconf wg0 /etc/wireguard/wg0.conf
downumask 077 && wg showconf wg0>/etc/wireguard/wg0.conf
downip link del wg0



-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireguard-tools depends on:
ii  libc6  2.28-10

Versions of packages wireguard-tools recommends:
ii  iptables1.8.2-4
ii  nftables0.9.0-2
ii  wireguard-dkms  0.0.20200318-1~bpo10+1

wireguard-tools suggests no packages.

-- no debconf information