Development discussion of WireGuard
 help / color / mirror / Atom feed
From: frank.mosch@tutanota.com
To: Wireguard <wireguard@lists.zx2c4.com>
Subject: event for peer connection
Date: Wed, 24 Feb 2021 01:11:02 +0100 (CET)	[thread overview]
Message-ID: <MUGMypO--3-2@tutanota.com> (raw)

Hello,

first thank you all for your great work on Wireguard! 

We would like to switch to wireguard at work but for our setup we need some automatic configuration based on the clients and their IP numbers. Is there a way to get notified when peers connect or send handshake packets? We'd like to avoid polling as the configuration needs to be done rather quickly on a connect for a pleasant user experience.
A file in /sys or /proc that can be waited on would be best but listening for netlink events would be useful, too. 

Servus, Frank

             reply	other threads:[~2021-03-07 17:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24  0:11 frank.mosch [this message]
2021-03-07 20:57 ` Linus Lotz

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=MUGMypO--3-2@tutanota.com \
    --to=frank.mosch@tutanota.com \
    --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).