]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
socket: general ephemeral ports instead of name-based ports
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 24 Jan 2017 04:59:17 +0000 (05:59 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 13 Feb 2017 20:55:17 +0000 (21:55 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg.8

index 2ec005c561c8ff0c6e49d4d3ae02286018e47e2c..be05acf14c64a8a1483848f9f1b32e0a82900ba1 100644 (file)
--- a/src/wg.8
+++ b/src/wg.8
@@ -53,7 +53,7 @@ by \fICONFIGURATION FILE FORMAT\fP below.
 Sets configuration values for the specified \fI<interface>\fP. Multiple
 \fIpeer\fPs may be specified, and if the \fIremove\fP argument is given
 for a peer, that peer is removed, not configured. If \fIlisten-port\fP
-is not specified, the port will be automatically generated when the
+is not specified, the port will be chosen randomly when the
 interface comes up. Both \fIprivate-key\fP and \fIpreshared-key\fP must
 be a files, because command line arguments are not considered private on
 most systems but if you are using
@@ -123,8 +123,8 @@ and may be omitted. This option adds an additional layer of symmetric-key
 cryptography to be mixed into the already existing public-key cryptography,
 for post-quantum resistance.
 .IP \(bu
-ListenPort \(em a 16-bit port for listening. Optional; if not specified,
-automatically generated based on interface name.
+ListenPort \(em a 16-bit port for listening. Optional; if not specified, chosen
+randomly.
 .P
 The \fIPeer\fP sections may contain the following fields:
 .IP \(bu