Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Mytril <mytril42@posteo.de>
To: wireguard@lists.zx2c4.com
Subject: Re: Dynamic Adresses
Date: Wed, 29 Nov 2017 14:35:57 +0100	[thread overview]
Message-ID: <d6719a62-29d2-9994-5b29-48f820bf54b7@posteo.de> (raw)
In-Reply-To: <CAHmME9re6nRwz3C245Fo=2z2sbGLRJJwp+pKg9sJ8DQvT8Lmjg@mail.gmail.com>

> Hello Mytril,
> 
> This isn't a bug. DNS is resolved at configuration time. If you'd like
> to continually reresolve the DNS, you can do this with a script in any
> way you wish. WireGuard is a building block, meant to be used with a
> variety of other things like this.
> 
> The contrib/examples directory has one such script that can be used:
> https://git.zx2c4.com/WireGuard/tree/contrib/examples/reresolve-dns
> 
> I'm sure you can come up with one well suited for your uses.
> 
> Regards,
> Jason
> 

Yes i have written a similar script for the german ubuntuusers.de wiki.
And this works fine. But i think (I'm not a professional), it could be
maybe a security issue. Let me try to explain:

If Bob and Alice are two Clients which have an whireguard vpn to each
other. Eve could steal the private key of bob and the public key of
alice and wait till bob has a disconnect and get a new ip. Than eve
could register this ip and have 30 seconds or so access to the private
network of alice.

Is this not possible? I could be a problem for people, which want to
communicate with the network of the company. So if this case works, it
could be a problem.

  reply	other threads:[~2017-11-29 13:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29 13:05 Mytril
2017-11-29 13:12 ` Jason A. Donenfeld
2017-11-29 13:35   ` Mytril [this message]
2017-11-29 13:40     ` Jason A. Donenfeld
2017-11-29 13:44       ` Georg Faerber
2017-11-29 13:46         ` Jason A. Donenfeld
2017-11-29 13:49           ` Georg Faerber
2017-11-29 14:25         ` Lonnie Abelbeck
2017-11-29 13:47       ` Mytril
2017-11-29 13:54         ` Jason A. Donenfeld
2017-11-29 14:09           ` Mytril
2017-11-30  8:22             ` Mytril
2017-11-30  8:33               ` Mytril

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=d6719a62-29d2-9994-5b29-48f820bf54b7@posteo.de \
    --to=mytril42@posteo.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).