From: Aaron Jones <me@aaronmdjones.net>
To: wireguard@lists.zx2c4.com
Cc: uxDWzco-wg@moenia.de
Subject: Re: performance: multiple clients on one interface?
Date: Fri, 8 Oct 2021 14:55:45 +0000 [thread overview]
Message-ID: <b53d4f44-b094-a5dd-14cf-55b846b17661@aaronmdjones.net> (raw)
In-Reply-To: <a208c85e-4835-cb77-003c-a040544ec968@moenia.de>
[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]
On 05/10/2021 08:39, uxDWzco-wg@moenia.de wrote:
> using same port for all connections means, that for receiving encrypted
> packets every configured key must be tried, until the right one is
> found, or is this wrong?
Incorrect. The handshake establishes sender and receiver indexes; these
are reproduced in data packets so that the receiver does one hash table
lookup to determine the decryption key.
This is documented on https://www.wireguard.com/protocol/
> so: how many connections are reasonable for a single device, without
> running in to trouble due to the time trying all the keys?
Up to 1,048,576 peers per interface are supported, limited only by
bandwidth and kernel memory.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2021-10-08 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 8:39 uxDWzco-wg
2021-10-08 14:55 ` Aaron Jones [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=b53d4f44-b094-a5dd-14cf-55b846b17661@aaronmdjones.net \
--to=me@aaronmdjones.net \
--cc=uxDWzco-wg@moenia.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).