How to create a simple tap0 interface using nmcli

2016-01-24 Thread Vincent Fortier
I was wondering how can I create a tap interface using nmcli? Search again and again witouth luck... Otherwise I use currently: $ sudo openvpn --mktun --dev tap0 --user `id -un` $ sudo ip addr add 0.0.0.0/24 dev tap0 $ sudo ip link set tap0 up promisc on or simply: $ sudo tunctl -d tap0 T

Simplify OpenVPN blob handling

2016-01-24 Thread Matthias Berndt
Hi, I've been thinking about the code that I recently modified. The handle_blob_item function checks if the blob markers (BEGIN CERTIFICATE etc.) are present and returns false without consuming any lines if they're missing. I fail to see the point, why not just copy everything between t