From: Derrick Lyndon Pallas <derrick@pallas.us>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: New: wgnlpy = WireGuard + Netlink + Python
Date: Wed, 7 Aug 2019 18:16:57 -0700 [thread overview]
Message-ID: <b96ac55c-4e13-28b9-f29c-1d98cdd71135@pallas.us> (raw)
I just released v0.0.1 of wgnlpy [1], a WireGuard Netlink connector for
Python.
It does not support the full range of Netlink operations at the moment.
Specifically, set_interface and set_peer only operate on a single peer
at time. (It is possible to clear peers or allowedips in bulk, however.)
I am considering adding something similar to getconf/setconf using with
configparser.
It probably only works in python3. (Read: I only tested with Python 3.7.)
License: MIT
Enjoy, ~Derrick
[1] https://github.com/ArgosyLabs/wgnlpy
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
reply other threads:[~2019-08-08 1:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b96ac55c-4e13-28b9-f29c-1d98cdd71135@pallas.us \
--to=derrick@pallas.us \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).