Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Linus Lotz <linus@lotz.li>
To: wireguard@lists.zx2c4.com
Subject: Re: event for peer connection
Date: Sun, 7 Mar 2021 21:57:15 +0100	[thread overview]
Message-ID: <23c4b81c-dc38-bd9a-6e53-42f83f509c24@lotz.li> (raw)
In-Reply-To: <MUGMypO--3-2@tutanota.com>

Hi Frank,
I have created a patch for the linux kernel[1], that notifies you about
changes of the endpoint address over netlink. If you could test it and
give some feedback if it works for you that would be great.


[1] https://lore.kernel.org/patchwork/patch/1366219/

Best Regards,
Linus


Am 24.02.21 um 01:11 schrieb frank.mosch@tutanota.com:
> 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 20:57 UTC|newest]

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

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=23c4b81c-dc38-bd9a-6e53-42f83f509c24@lotz.li \
    --to=linus@lotz.li \
    --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).