Re: Some potential bug in wg-quick re. fwmark and default route

2018-03-26 Thread Luis Ressel
Hello Saeid, I'm sorry your inquiry has gone unanswered for two weeks; it was simply drowned by all the user questions. I'm glad I found it now, since you raise a few interesting points. As you have discovered, wg-quick is very limited (being the wacky shell script that it is) and behaves oddly i

Re: add/remove a peer

2018-03-26 Thread ST
On Mon, 2018-03-26 at 20:46 +0200, Luis Ressel wrote: > Hello, > > Low-level tools such as wg aren't the right place for the "automagic" > features you're suggesting. wg should have simple, bugproof code and > behave reliably and predictably so that it can serve as a solid > foundation for all sor

Re: WG: ideas/features

2018-03-26 Thread ST
On Mon, 2018-03-26 at 15:15 -0400, wiregu...@eldondev.com wrote: > On Mon, Mar 26, 2018 at 08:17:17PM +0300, ST wrote: > > 1. Labels. > > > > Is it possible to add an optional label to a peer to make it a bit more > > usable for humans (who tend not to remember IPs or keys). A label > > associated

Re: WG: ideas/features

2018-03-26 Thread wireguard
On Mon, Mar 26, 2018 at 08:17:17PM +0300, ST wrote: > 1. Labels. > > Is it possible to add an optional label to a peer to make it a bit more > usable for humans (who tend not to remember IPs or keys). A label > associated with a peer is just a string (could be a first/last name, > email, "NY Offic

Re: Mixed MTU hosts on a network

2018-03-26 Thread Luis Ressel
On Fri, 16 Mar 2018 14:25:47 +0500 Roman Mamedov wrote: > What helps, is only reducing MTU of the entire wg0 interface to 1412. > Then everything works fine. But it doesn't feel optimal to reduce MTU > of the entire network just because of 1 or 2 hosts. I would rather > use a couple of those mtu-

Re: WG: ideas/features

2018-03-26 Thread Luis Ressel
On Mon, 26 Mar 2018 20:17:17 +0300 ST wrote: > Hello, > > as I mentioned before I'm learning WireGuard and there are certain > things that I need but didn't find them yet in the docs (either > because I didn't read enough yet or because it's just not there). > I'll list them here and you'll tell

Re: add/remove a peer

2018-03-26 Thread Luis Ressel
Hello, Low-level tools such as wg aren't the right place for the "automagic" features you're suggesting. wg should have simple, bugproof code and behave reliably and predictably so that it can serve as a solid foundation for all sorts of high-level scripts. Of course, this doesn't mean your sugge

WG: ideas/features

2018-03-26 Thread ST
Hello, as I mentioned before I'm learning WireGuard and there are certain things that I need but didn't find them yet in the docs (either because I didn't read enough yet or because it's just not there). I'll list them here and you'll tell whether it is worth for a new feature or not; or whether I

Re: add/remove a peer

2018-03-26 Thread ST
On Sun, 2018-03-25 at 21:17 +0200, Kalin KOZHUHAROV wrote: > On Sun, Mar 25, 2018 at 8:10 PM, ST wrote: > > PS: if you have over 100 peers it is a bit a headache to find a free IP > > when adding a new peer. There is no reason WG could not scan through IPs > > it already knows and choose a free on