Lines Matching +full:use +full:- +full:handshake
1 .\" SPDX-License-Identifier: BSD-2-Clause
5 .\" Redistribution and use in source and binary forms, with or without
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 .Bd -ragged -offset indent
42 .Bd -literal -offset indent
66 .Bl -tag -width indent -offset 3n
78 .It Pre-shared key
80 unique pre-shared symmetric key.
81 This is used in their handshake to guard against future compromise of the
83 Diffie-Hellman exchange becomes feasible.
89 The interface therefore implements rudimentary routing and reverse-path
106 .It Handshake
107 Two peers handshake to mutually authenticate each other and to
109 Either peer may initiate a handshake.
113 Due to the handshake behavior, there is no connected or disconnected
119 The Curve25519 keys and the pre-shared keys are both 32 bytes
120 long and are commonly encoded in base64 for ease of use.
130 will accept any random 32-byte base64 string.
148 .Bd -literal -offset indent
150 # wg genkey | wg set wg0 listen-port 54321 private-key /dev/stdin
156 .Bd -literal -offset indent
157 $ wg show wg0 public-key
160 Connect to a specific endpoint using its public-key and set the allowed IP address
161 .Bd -literal -offset indent
162 # wg set wg0 peer '7lWtsDdqaGB3EY9WNxRN3hVaHMtu1zXw71+bOjNOVUw=' endpoint 10.0.1.100:54321 allowed-…
166 .Bd -literal -offset indent
177 .Bl -diag
178 .It "Handshake for peer X did not complete after 5 seconds, retrying"
180 .Bl -bullet
189 .It "Invalid handshake initiation"
190 The incoming handshake packet could not be processed.
194 The incoming handshake initiation packet had an invalid MAC.
196 for the handshake receiver.
223 .An -nosplit