From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AB25C433E1 for ; Sat, 22 Aug 2020 19:05:31 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CCE12075E for ; Sat, 22 Aug 2020 19:05:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="NUdkuSls" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CCE12075E Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=zx2c4.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c6e2565e; Sat, 22 Aug 2020 18:38:46 +0000 (UTC) Received: from mail.zx2c4.com (mail.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 7f87b6ca (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 22 Aug 2020 18:38:44 +0000 (UTC) Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 1574574c for ; Sat, 22 Aug 2020 18:38:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=iGeLicd4xnkTlqz38bwH5jnASsk=; b=NUdkuS lsUu6NJQHUo7q+X4kX++t+sJCVgiNMZxIGTjtArZmABBm++KX1iDoLh5OFCbPvV+ i3ezCxMnBH8/3aLCQVxQ01ITzG37H3bRVeTpiq1x3QGf1nEKflzZFG3QojgdO228 28NWXLrKDckk59v1zEUy2YQMouF0wulpt8/C2eSO5dnJuTHWq64Vvx+Mmk/Rv2Rm CR4+maD9fMFsqskIfXI7l1NcHsgyF+EXFnXxvednuyDWlmJeek8GY5YJEBk5yQlm 0uzNkPPtvaZp+jfwGjAZDvLtwqe+8LUaMCLxKPUpNvoAlUZANlsoeOwDfBxfwz9D V3SqJ7Uz2W2uCAtg== Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 0dea5cd7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 22 Aug 2020 18:38:44 +0000 (UTC) Received: by mail-il1-f170.google.com with SMTP id r13so4122776iln.0 for ; Sat, 22 Aug 2020 12:05:27 -0700 (PDT) X-Gm-Message-State: AOAM531x+lE9RBPMXRNDyLBxB4yc5i9gDiorCyXEfpVie4PoPO8FIaqy p1J0btMV8yrMGflzVk3jayiB2NG98w4PTjq7lAY= X-Google-Smtp-Source: ABdhPJx407oCRlLBNlNob3OIyV2FjC2bNIeSgxlenmNf9doBrjUQRsjPHrEZEcx8ncIiZMWc9m6SwAAUAvXSnCNR5H8= X-Received: by 2002:a92:cf09:: with SMTP id c9mr7624983ilo.38.1598123126755; Sat, 22 Aug 2020 12:05:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Sat, 22 Aug 2020 21:05:15 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Python Wrapper for wireguard-tools To: Andrew Roth Cc: WireGuard mailing list , Matt Layher Content-Type: text/plain; charset="UTF-8" X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Hey Andrew, The most complete "library" is actually the wgctrl-go one from Matt (CC'd). It's complete because it supports all the same interfaces as wg(8) -- Linux Netlink, OpenBSD IOCTL, and x-platform UAPI. The embeddable-wg-library is just for Linux Netlink, but I should maybe refactor that to be more modular. And as you pointed out, the wgnlpy stuff is Netlink also. If you wanted to start a new cross-platform library, and essentially "clone" Matt's Go library into a pure Python one, I'd certainly welcome that effort and would be happy to help. Jason