wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* CryptoKey Routing Management for Peers
@ 2020-02-07 16:23 Barrett Strausser
  2020-02-08 21:29 ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Barrett Strausser @ 2020-02-07 16:23 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

Hello All,

I have question correlated but not exactly related to Wireguard.

Following the lines on the project page "It is suitable for both small
embedded devices like smartphones and fully loaded backbone routers"

How are folks thinking about the management of the CryptoKey Routing for
large number of peers especially embedded devices. I have on order of 100K
- 1M Devices.

Would Wireguard ever consider a API/Interface call instead of a static file?

Thank you all,

-Barrett

[-- Attachment #1.2: Type: text/html, Size: 3120 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CryptoKey Routing Management for Peers
  2020-02-07 16:23 CryptoKey Routing Management for Peers Barrett Strausser
@ 2020-02-08 21:29 ` Jason A. Donenfeld
  2020-02-10 14:07   ` Barrett Strausser
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2020-02-08 21:29 UTC (permalink / raw)
  To: Barrett Strausser; +Cc: WireGuard mailing list

WireGuard has an API, via Netlink. This might help you:

https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library
https://git.zx2c4.com/wireguard-tools/tree/src/uapi/linux/wireguard.h

It can handle 1M peers, yes.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CryptoKey Routing Management for Peers
  2020-02-08 21:29 ` Jason A. Donenfeld
@ 2020-02-10 14:07   ` Barrett Strausser
  2020-02-14 23:40     ` Derrick Lyndon Pallas
  0 siblings, 1 reply; 5+ messages in thread
From: Barrett Strausser @ 2020-02-10 14:07 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 768 bytes --]

I don't doubt that it can handle 1M peers.

My question was more concerned with can an *Organization *perform the
configuration management to handle 1M peers if all configuration is through
a static IP.

If I have 1M peers and .9999 have no change per day, that still leaves 100
changes or ~4 per hour. I'd argue it is a good practice to have to restart
services to pick up those changes.

I'll have a look at those links. Thank you very much

-b



On Sat, Feb 8, 2020 at 4:29 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> WireGuard has an API, via Netlink. This might help you:
>
> https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library
> https://git.zx2c4.com/wireguard-tools/tree/src/uapi/linux/wireguard.h
>
> It can handle 1M peers, yes.
>

[-- Attachment #1.2: Type: text/html, Size: 1441 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CryptoKey Routing Management for Peers
  2020-02-10 14:07   ` Barrett Strausser
@ 2020-02-14 23:40     ` Derrick Lyndon Pallas
  2020-02-15  0:13       ` Mo Balaa
  0 siblings, 1 reply; 5+ messages in thread
From: Derrick Lyndon Pallas @ 2020-02-14 23:40 UTC (permalink / raw)
  To: Barrett Strausser; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 1217 bytes --]

You might also want to check out https://pypi.org/project/wgnlpy/ which is a Wireguard configuration library for python.

~Derrick • iPhone

> On Feb 14, 2020, at 3:02 AM, Barrett Strausser <barrett@bossanova.com> wrote:
> 
> 
> I don't doubt that it can handle 1M peers. 
> 
> My question was more concerned with can an Organization perform the configuration management to handle 1M peers if all configuration is through a static IP.
> 
> If I have 1M peers and .9999 have no change per day, that still leaves 100 changes or ~4 per hour. I'd argue it is a good practice to have to restart services to pick up those changes.
> 
> I'll have a look at those links. Thank you very much
> 
> -b
> 
> 
> 
>> On Sat, Feb 8, 2020 at 4:29 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>> WireGuard has an API, via Netlink. This might help you:
>> 
>> https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library
>> https://git.zx2c4.com/wireguard-tools/tree/src/uapi/linux/wireguard.h
>> 
>> It can handle 1M peers, yes.
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

[-- Attachment #1.2: Type: text/html, Size: 2206 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CryptoKey Routing Management for Peers
  2020-02-14 23:40     ` Derrick Lyndon Pallas
@ 2020-02-15  0:13       ` Mo Balaa
  0 siblings, 0 replies; 5+ messages in thread
From: Mo Balaa @ 2020-02-15  0:13 UTC (permalink / raw)
  To: Derrick Lyndon Pallas; +Cc: WireGuard mailing list


[-- Attachment #1.1: Type: text/plain, Size: 1771 bytes --]

My company will be open sourcing a configuration management system we’ve
called wg-easy. It is designed specifically for managing large scale
distributed WireGuard networks. We are happy to see other are interested in
operating WireGuard at scale.

Coming very soon, TM.

On Fri, Feb 14, 2020 at 17:46 Derrick Lyndon Pallas <derrick@pallas.us>
wrote:

> You might also want to check out https://pypi.org/project/wgnlpy/ which
> is a Wireguard configuration library for python.
>
> ~Derrick • iPhone
>
> On Feb 14, 2020, at 3:02 AM, Barrett Strausser <barrett@bossanova.com>
> wrote:
>
> 
>
> I don't doubt that it can handle 1M peers.
>
> My question was more concerned with can an *Organization *perform the
> configuration management to handle 1M peers if all configuration is through
> a static IP.
>
> If I have 1M peers and .9999 have no change per day, that still leaves 100
> changes or ~4 per hour. I'd argue it is a good practice to have to restart
> services to pick up those changes.
>
> I'll have a look at those links. Thank you very much
>
> -b
>
>
>
> On Sat, Feb 8, 2020 at 4:29 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
>> WireGuard has an API, via Netlink. This might help you:
>>
>> https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library
>> https://git.zx2c4.com/wireguard-tools/tree/src/uapi/linux/wireguard.h
>>
>> It can handle 1M peers, yes.
>>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>

[-- Attachment #1.2: Type: text/html, Size: 3539 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-15 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 16:23 CryptoKey Routing Management for Peers Barrett Strausser
2020-02-08 21:29 ` Jason A. Donenfeld
2020-02-10 14:07   ` Barrett Strausser
2020-02-14 23:40     ` Derrick Lyndon Pallas
2020-02-15  0:13       ` Mo Balaa

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).