Development discussion of WireGuard
 help / color / mirror / Atom feed
From: jens <jens@viisauksena.de>
To: wireguard@lists.zx2c4.com
Subject: Re: [ wireguard-devel] Purge old peer
Date: Wed, 1 Mar 2017 15:04:12 +0100	[thread overview]
Message-ID: <ec8f9393-44a9-2143-c5f8-ed7c027dd577@viisauksena.de> (raw)
In-Reply-To: <CADdae-jn7qKK=sg7QdP-UeepBrZyUswV4LkABCXsrpzexymk3g@mail.gmail.com>

On 01.03.2017 14:47, Nicolas Prochazka wrote:
> Hello,
> we hare using wireguard with a lot of client, with a lot of
> dynamically generated peer key.
> So we have, server side, a lot of peers that are become obsoletes
> At this time, we delete peer , based on latest handshake > delta time
> , with wg command.
> Is the best thing to do ? is it possible to implement an auto purge of
> old peer ?
>
>
user handling, somehow "user-state" is something which may better
parseable in terms of "wg" output - but to implement it in wireguard
itself opens a whole lot of topics. And i prefer solutions build around
the kernel modul itself and keep it quite impossible to trigger an
invalidation of any peer (by manipulating time servers or exploiting
some strange timeissues like leap seconds, timezones etc.) - especially
since this is the special usecase for many2one connections, like your
Serverexample.

--=20
make the world nicer, please use PGP encryption

      reply	other threads:[~2017-03-01 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 13:47 Nicolas Prochazka
2017-03-01 14:04 ` jens [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=ec8f9393-44a9-2143-c5f8-ed7c027dd577@viisauksena.de \
    --to=jens@viisauksena.de \
    --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).