From 1f349aa10193aabc15d26efc3ea4b86b86bc4b61 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 7 Jul 2016 03:52:21 +0200 Subject: [PATCH] external-tests: switch to demo server Signed-off-by: Jason A. Donenfeld --- contrib/external-tests/go/main.go | 2 +- contrib/external-tests/haskell/src/Main.hs | 4 ++-- contrib/external-tests/rust/src/main.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/external-tests/go/main.go b/contrib/external-tests/go/main.go index a06b565..16632bb 100644 --- a/contrib/external-tests/go/main.go +++ b/contrib/external-tests/go/main.go @@ -30,7 +30,7 @@ func main() { StaticKeypair: noise.DHKey{Private: ourPrivate, Public: ourPublic}, PeerStatic: theirPublic, }) - conn, err := net.Dial("udp", "test.wireguard.io:51820") + conn, err := net.Dial("udp", "demo.wireguard.io:12913") if err != nil { log.Fatalf("error dialing udp socket: %s", err) } diff --git a/contrib/external-tests/haskell/src/Main.hs b/contrib/external-tests/haskell/src/Main.hs index f78305d..20aeb2e 100644 --- a/contrib/external-tests/haskell/src/Main.hs +++ b/contrib/external-tests/haskell/src/Main.hs @@ -50,8 +50,8 @@ payload = do main :: IO () main = do - let ip = "test.wireguard.io" - let port = "51820" + let ip = "demo.wireguard.io" + let port = "12913" let mykey = "WAmgVYXkbT2bCtdcDwolI88/iVi/aV3/PHcUBTQSYmo=" let serverkey = "qRCwZSKInrMAq5sepfCdaCsRJaoLe5jhtzfiw7CjbwM=" let psk = "FpCyhws9cxwWoV4xELtfJvjJN+zQVRPISllRWgeopVE=" diff --git a/contrib/external-tests/rust/src/main.rs b/contrib/external-tests/rust/src/main.rs index fa468af..eccb987 100644 --- a/contrib/external-tests/rust/src/main.rs +++ b/contrib/external-tests/rust/src/main.rs @@ -19,7 +19,7 @@ fn memcpy(out: &mut [u8], data: &[u8]) { } fn main() { - let send_addr = "test.wireguard.io:51820".to_socket_addrs().unwrap().next().unwrap(); + let send_addr = "demo.wireguard.io:12913".to_socket_addrs().unwrap().next().unwrap(); let listen_addr = "0.0.0.0:0".to_socket_addrs().unwrap().next().unwrap(); let socket = UdpSocket::bind(listen_addr).unwrap(); let mut empty_payload = [0; 0];