All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ivan Labáth" <labawi-wg@matrix-dream.net>
To: wireguard@lists.zx2c4.com
Subject: [WireGuard] wg set - unexpected change of routes
Date: Tue, 30 Aug 2016 07:44:54 +0100	[thread overview]
Message-ID: <20160830064454.GA12680@matrix-dream.net> (raw)

Hello,

I have noticed that adding a route (allowedips) to a peer
automatically removes any such route from other peers,
as has been explained in some email.

It seems to me as unexpected behaviour, as I wouldn't expect
the configuration of a peer to be (silently) affected when
changing the configuration of another peer.

I think repeating subnets in different peers is most probably
an error and in such circumstances the most useful action would
be to fail and report it as such.


Result of an attempt at something similar:

linux ~ # ip route add 172.16.0.0/12 via 127.0.0.1
linux ~ # ip route add 172.16.0.0/12 via 127.0.0.2
RTNETLINK answers: File exists

Regards,
Ivan Labáth

             reply	other threads:[~2016-08-30  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30  6:44 Ivan Labáth [this message]
2016-08-30 15:44 ` [WireGuard] wg set - unexpected change of routes Bruno Wolff III
2016-08-30 19:27   ` Ivan Labáth
2016-08-30 19:37     ` Dave Taht

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=20160830064454.GA12680@matrix-dream.net \
    --to=labawi-wg@matrix-dream.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.