Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Jan De Landtsheer <jan.delandtsheer@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>,
	Jan De Landtsheer <jan@delandtsheer.eu>
Subject: Re: FR: interface ListenAddress (Aka:Multihomed server issue)
Date: Thu, 10 Aug 2017 23:03:43 +0200	[thread overview]
Message-ID: <CAHmME9pySYzi06OU0QhG_XdmKMJMKg=UBhYcZ_rR-YEmrbETLw@mail.gmail.com> (raw)
In-Reply-To: <CABQfmN0ULhDZ5vgrdgiQMy83Lt0Lze4bB3e08araPFtreW=oOQ@mail.gmail.com>

On Thu, Aug 10, 2017 at 11:00 PM, Jan De Landtsheer
<jan.delandtsheer@gmail.com> wrote:
> seeing the latest & greatest, this patch will not apply cleanly, so I don't
> know ... is this train of thought going to be kept for later releases ?

If anything changes, it would be for whatever snapshot I publish after
vacation. But I'd like some feedback on whether or not it works first.

zx2c4@thinkpad ~ $ git clone https://git.zx2c4.com/WireGuard
Cloning into 'WireGuard'...
remote: Counting objects: 3995, done.
remote: Compressing objects: 100% (1623/1623), done.
remote: Total 3995 (delta 2913), reused 3212 (delta 2301)
Receiving objects: 100% (3995/3995), 778.37 KiB | 1.76 MiB/s, done.
Resolving deltas: 100% (2913/2913), done.
zx2c4@thinkpad ~ $ cd WireGuard/
zx2c4@thinkpad ~/WireGuard $ curl http://ix.io/z3d | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   807  100   807    0     0    919      0 --:--:-- --:--:-- --:--:--  1310
patching file src/socket.c
zx2c4@thinkpad ~/WireGuard $ cd src
zx2c4@thinkpad ~/WireGuard/src $ make -j9
make -C tools
make[1]: Entering directory '/home/zx2c4/WireGuard/src/tools'
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o wg.o wg.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o config.o config.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o show.o show.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o terminal.o terminal.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o ipc.o ipc.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o encoding.o encoding.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o curve25519.o curve25519.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o setconf.o setconf.c
make -C /lib/modules/4.12.5-gentoo/build M=/home/zx2c4/WireGuard/src modules
make[1]: Entering directory '/usr/src/linux-4.12.5-gentoo'
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o genkey.o genkey.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o showconf.o showconf.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o pubkey.o pubkey.c
cc -O3 -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -MMD -MP
-DRUNSTATEDIR="\"/var/run\""    -c -o set.o set.c
cc   wg.o config.o show.o terminal.o ipc.o encoding.o curve25519.o
setconf.o genkey.o showconf.o pubkey.o set.o  -lmnl -o wg
make[1]: Leaving directory '/home/zx2c4/WireGuard/src/tools'
  CC [M]  /home/zx2c4/WireGuard/src/main.o
  CC [M]  /home/zx2c4/WireGuard/src/noise.o
  CC [M]  /home/zx2c4/WireGuard/src/device.o
  CC [M]  /home/zx2c4/WireGuard/src/peer.o
  CC [M]  /home/zx2c4/WireGuard/src/timers.o
  CC [M]  /home/zx2c4/WireGuard/src/data.o
  CC [M]  /home/zx2c4/WireGuard/src/send.o
  CC [M]  /home/zx2c4/WireGuard/src/receive.o
  CC [M]  /home/zx2c4/WireGuard/src/socket.o
  CC [M]  /home/zx2c4/WireGuard/src/config.o
  CC [M]  /home/zx2c4/WireGuard/src/hashtables.o
  CC [M]  /home/zx2c4/WireGuard/src/routingtable.o
  CC [M]  /home/zx2c4/WireGuard/src/ratelimiter.o
  CC [M]  /home/zx2c4/WireGuard/src/cookie.o
  CC [M]  /home/zx2c4/WireGuard/src/crypto/curve25519.o
  CC [M]  /home/zx2c4/WireGuard/src/crypto/chacha20poly1305.o
  CC [M]  /home/zx2c4/WireGuard/src/crypto/blake2s.o
  AS [M]  /home/zx2c4/WireGuard/src/crypto/chacha20-ssse3-x86_64.o
  AS [M]  /home/zx2c4/WireGuard/src/crypto/poly1305-sse2-x86_64.o
  AS [M]  /home/zx2c4/WireGuard/src/crypto/blake2s-avx-x86_64.o
  AS [M]  /home/zx2c4/WireGuard/src/crypto/curve25519-avx-x86_64.o
  AS [M]  /home/zx2c4/WireGuard/src/crypto/chacha20-avx2-x86_64.o
  AS [M]  /home/zx2c4/WireGuard/src/crypto/poly1305-avx2-x86_64.o
  LD [M]  /home/zx2c4/WireGuard/src/wireguard.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/zx2c4/WireGuard/src/wireguard.mod.o
  LD [M]  /home/zx2c4/WireGuard/src/wireguard.ko
make[1]: Leaving directory '/usr/src/linux-4.12.5-gentoo'
zx2c4@thinkpad ~/WireGuard/src $ sudo rmmod wireguard; sudo make install

      reply	other threads:[~2017-08-10 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10  9:13 Jan De Landtsheer
2017-08-10 15:51 ` Jason A. Donenfeld
2017-08-10 16:57   ` Jan De Landtsheer
2017-08-10 18:40     ` Jason A. Donenfeld
2017-08-10 19:10       ` Jan De Landtsheer
2017-08-10 19:12         ` Jan De Landtsheer
2017-08-10 19:46           ` Jason A. Donenfeld
2017-08-10 20:50             ` Jan De Landtsheer
2017-08-10 21:00               ` Jan De Landtsheer
2017-08-10 21:03                 ` Jason A. Donenfeld [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='CAHmME9pySYzi06OU0QhG_XdmKMJMKg=UBhYcZ_rR-YEmrbETLw@mail.gmail.com' \
    --to=jason@zx2c4.com \
    --cc=jan.delandtsheer@gmail.com \
    --cc=jan@delandtsheer.eu \
    --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).